• I finally figured out how to prevent double voting (wish there were something in the docs about that!!!)

    But now – a voter gets to see the results when they vote, but if they are using safari, it refreshes to the poll again – does NOT show results. It even acts like you can re-vote, but then gives you a message saying “you’ve already voted on this poll” but does NOT show results.

    Thoughts?

    http://wordpress.org/extend/plugins/wp-polls/

Viewing 6 replies - 1 through 6 (of 6 total)
  • It looks to me it is the JS in your theme that is causing it.

    Does it work on the default theme?

    Use Safari to visit my test site, http://lesterchan.net/wordpress/ does it happen there as well?

    Thread Starter nickaster

    (@nickaster)

    Hmm… yeah, seems to work okay. God only knows what that JS is doing on my theme, but I wouldn’t be surprised if it’s screwing something up.

    Now that I have your attention – there’s another little thing.

    People are complaining that they’re voting for the first time and getting a message that they’ve already voted. I had tracking on for “cookie and IP” so the logical thing I can think of is that someone in the same office (ie, same IP) might have voted. Would that cause this problem? I switched it to just cookie and now even I seem to be able to vote again…hopefully I didn’t screw it up worse.

    Hmm If they have voted before or behind a single IP, wp-polls will display the poll results instead of the voting form.

    Thread Starter nickaster

    (@nickaster)

    Hmm… something funny is going on. I have it set to use cookies, but I just voted on a fresh computer, and it lets me vote a second time:

    See here:
    http://www.triplepundit.com/2010/01/nominations-in-vote-for-top-sustainable-ceo/

    Also, what does the time setting do? I have it set to 0, is that correct? Sorry, but can’t find anything in the documentation about what the different cookie/ip things do!

    Thanks!

    Hmm, I am able to vote once only.

    0 is alright, some users want to expire the vote after like 24 hours and hence that field is for them.

    I think it might be a display bug.

    In wp-polls.php

    Find:
    if($check_voted > 0 || ($poll_active == 0 && $poll_close == 1)) {

    Replace”
    if(sizeof($check_voted) > 0 || ($poll_active == 0 && $poll_close == 1)) {

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP-Polls] Votes not showing in Safari’ is closed to new replies.