WordPress.org

Ready to get started?Download WordPress

Forums

WP-Polls
[resolved] Cloudflare issue? (3 posts)

  1. Kletsky
    Member
    Posted 9 months ago #

    I've been getting reports from people who say that they cannot vote on the polls. They say that when they bring up the site, the results to the poll are there, but there is not button allowing them to vote.

    I run a high school sports website (centralwisconsinsports.net) and many students access our site and try to vote on various polls. Many people run into this problem of the voting button not being there, just the results.

    I'm wondering if WP Polls is registering an entire network as one vote instead of individual computer IP addresses and this is preventing people from voting... I tried a test at my house. I voted using my computer over WiFi. It worked fine. Then I tried to vote from my wife's phone over the same WiFi. I couldn't vote-- all I got was the results. However, when I switched off the WiFi and visited the site from the 3G network, it did work for me.

    Is this a caching issue (I'm using Cloudflare)? Is there another fix to this? The polls are really important to our site, so I'm hoping you can help me out.

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

  2. Lester Chan
    Member
    Plugin Author

    Posted 9 months ago #

    By default WP-Polls uses Cookie and IP, for IP it will try it's best to get the real IP by following the X_FORWARDED_FOR for transparent proxy.

    If you vote on the same WiFi and your wife's phone is using the same WiFi, it will not work because both the IP is the same. That is the reason why the 3G work. For your school website, I got a feeling it is behind the same IP address and hence this issue.

    I don't think there is anyway around it unless you use Cookies only or force people to register at your site and allow members to vote only.

    Think of it from my point of view, if you are not registered at a site, how can they track you? It is via cookie or IP only.

  3. Kletsky
    Member
    Posted 9 months ago #

    If I wanted to use cookies only, how would I do that?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.