PDA

View Full Version : Poll Bug: Log off / Can vote again


Frankenberrie
05-28-2004, 08:41 AM
I ran into another little bug yesterday. I have random polls viewing on my homepage.. If I am logged into my site and vote on a poll, when I log out I can vote on it again. I know this has to do with the cookies being cleared, is there a way to have to poll check IPs instead on the cookies/?

Acido
05-28-2004, 09:11 AM
I ran into another little bug yesterday. I have random polls viewing on my homepage.. If I am logged into my site and vote on a poll, when I log out I can vote on it again. I know this has to do with the cookies being cleared, is there a way to have to poll check IPs instead on the cookies/?In My case, the poll show results to users who never vote it, with the label : "You cant vote this poll". In the thread, the poll work fine, but in CMPS i see a bug on show results.

Our Sponsors
 

Zachery
05-28-2004, 09:18 AM
Are you allowing guests to vote?

Acido
05-28-2004, 09:21 AM
Are you allowing guests to vote?Not me. Also, when i back to the old currentpoll.php from rc1 in modules folder, then the poll work fine

Our Sponsors
 

Brian
05-28-2004, 11:24 AM
Frankenberrie - Having it check the IP address would require modifying the way poll voting is handled in vBulletin. The votes on the homepage should be handled in the same was as they are in vBulletin though. Are you able to vote on the poll if you try doing it on the normal vBulletin pages?

Acido - Please try the fix posted in this thread (http://www.vbadvanced.com/forum/showthread.php?t=968).

Acido
05-28-2004, 11:41 AM
Acido - Please try the fix posted in this thread (http://www.vbadvanced.com/forum/showthread.php?t=968).Brian, i dont know if that fix is included in Rc2.
I just instaled RC2, overwritting old archives, then the poll stay bugged. With that fix, the poll works perfectly.

Just a comment ;)

Brian
05-28-2004, 01:33 PM
Nope... That bug was created in RC2. ;)

Frankenberrie
05-30-2004, 10:49 AM
I guess I will have to restrict poll voting to registered members only. :confused:

I hate the fact that if someone votes, leaves the page and comes back, they can vote again.

Zachery
05-30-2004, 11:26 AM
Allowing guests to vote means anyone who is a guest can vote. :)

You should post a bug report at vBulletin.com in the bug tracker or ask for it to be changed in the suggestion forums.

Frankenberrie
05-30-2004, 02:04 PM
Good thinking... Why didnt I think of this :rolleyes: