TinyPortal

Development => Block Codes => Topic started by: gfxindia on June 19, 2006, 08:18:43 AM

Title: The most expected poll block
Post by: gfxindia on June 19, 2006, 08:18:43 AM
I am working on the most wanted poll block.
Its going on well so far.
And if anyone is willing to help with some code. I can make it a module for tp.
with its own admin interface.

Hey Bloc ,
Could you give me some tips on moving the poll admin to tp admin.
Title: Re: The most expected poll block
Post by: gfxindia on June 19, 2006, 09:23:07 AM
I made it out to work.
http://gfxindia.com
Second block on the left side.
Users can vote only once.
Again if anybody is interested in helping me.
Title: Re: The most expected poll block
Post by: technodragon73 on June 19, 2006, 03:22:05 PM
Looks good, can't wait to see the finished product.
Title: Re: The most expected poll block
Post by: gfxindia on June 19, 2006, 04:18:40 PM
I think the final product will be a mod which can be installed thru Package manager after installing TP.(If Bloc agrees it can come packed in with TP ;) )
I want some people to test it before release. Bcoz i am able to vote as many times as i want.
That is when i shut down and open my pc again i am able to vote.
I want some coding assistance too.

Again Bloc how to move Poll Admin to TP admin
Atleast using an iframe
Title: Re: The most expected poll block
Post by: technodragon73 on June 19, 2006, 04:32:49 PM
well, for the multiple votes you could code in the ability to check by username.  Create a field in the data base (or a new table for the poll) that tracks which user has voted on the polls, so they cannot vote again.
Title: Re: The most expected poll block
Post by: gfxindia on June 19, 2006, 04:34:37 PM
I dunno anything about database.
This is database independant. And is a public poll. So its not that only registered members can vote.
By the Way Can you assist me.
Title: Re: The most expected poll block
Post by: erikman on June 19, 2006, 05:00:31 PM
This should be a part of TP! :)
Title: Re: The most expected poll block
Post by: gfxindia on June 19, 2006, 05:01:31 PM
Too bad that Bloc isn't looking into this :(
Title: Re: The most expected poll block
Post by: Vinspire on June 29, 2006, 04:31:44 AM
Quote from: Darkman on June 19, 2006, 09:23:07 AM
I made it out to work.
http://gfxindia.com
Second block on the left side.
Users can vote only once.
Again if anybody is interested in helping me.

Where is the poll ? :o
Title: Re: The most expected poll block
Post by: gfxindia on June 29, 2006, 01:26:24 PM
I removed it.
I'm locking it now.