• emz452

    (@emz452)


    Hi there,

    I can’t seem to figure out how to do this.

    I have created a poll and managed to restrict voting to one per person, based on IP using the Block voter by IP option.

    However, when the page loads, if a user has already voted I would like the results to be displayed instead of the poll. Currently, the poll is displayed and they receive an error if they attempt to vote again (thanks to blocking), but then cannot view the results.

    I have not included the view results link on the poll in order to encourage voting (not just viewing).

    Is it possible to show either the poll or the results based on whether a user has voted yet?

    Cheers,
    Emily

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter emz452

    (@emz452)

    To clarify, the poll is in a widget on the home page.

    Plugin Author YOP

    (@yourownprogrammer)

    Hey Emily

    A quick answer to your question would be Yes, it is possible to show either the poll or the results based on whether a user has voted or not.

    Assuming you allow guest voting, here are the settings that should do what you are looking for

    “Block Voters” set to “By Cookie” and/or “By Ip”
    “Block For” set to 365 days(or more depending on your needs)
    “Show Results” set to “After Vote”

    I hope this helps.

    Best
    YOP Team

    mrtijn

    (@mrtijn)

    Hi,

    I have same issue. I have set the settings you mentioned, but the poll still shows the voting screen. It does not allow me to vote again though. But i would like to show the results instead.

    Plugin Author YOP

    (@yourownprogrammer)

    @mrtijn, can you send a screenshot with your poll settings to yop.help{at}gmail.com?

    Thank you.

    Thread Starter emz452

    (@emz452)

    Hi again,

    Thanks for such a quick reply.
    I just checked and all my settings appear to be correct too.
    “Block Voters” set to “By Ip”
    “Block For” set to 30 days
    “Show Results” set to “After Vote”

    Would you like me to send a screenshot as well, or shall I wait to see if you are able to resolve mrtijn? I’m assuming the same resolution would work for me too.

    cheers,
    Emily

    Plugin Author YOP

    (@yourownprogrammer)

    @emz452 please send us the screenshots at yop.help{at}gmail.com.
    We will need screenshots with Options->Access and Options->Results.

    Also, please include a link to the page where you have the poll installed.

    Best
    YOP Team

    Plugin Author YOP

    (@yourownprogrammer)

    @emz452, @mrtijn

    Since you’re allowing votes from guests only, please set “Limit number of votes per user” to No.

    This should fix the issue you’re experiencing.

    Best
    YOP Team

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Display poll results if already voted’ is closed to new replies.