WordPress.org

Forums

WP-Polls
[resolved] Voting on Mobile Devices - WP-Polls (7 posts)

  1. Elethu
    Member
    Posted 1 year ago #

    Hello

    We are running the WP-Polls plugin (Version 2.63).
    When we add a poll - it works just fine when visitors use a PC to view the website; however they are unable to vote when accessing the site using a mobile device (I tested with a smartphone, for instance). The poll-results are displayed when one visits the site using a smartphone, not the actual poll, and they are unable to log a vote.

    Does WP-Polls work on mobile? Any guidance would be appreciated.

    Thank you in advance for your help.

    Warm regards
    Elethu

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

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    When it shows the results, it means it works.

    It means WP-Polls already detects that you have voted (same IP) and hence show you the results instead of the form.

    If it doesn't work, it will show you the voting form and you can't vote on it.

  3. Elethu
    Member
    Posted 1 year ago #

    Hello Lester

    Thank you so much for your prompt response.

    I tested this again with four different mobile phones (four different site visitors).

    Samsung Galaxy S4 - the poll results were displayed and the visitor was not able to vote.

    iPhone 4 - the poll results were displayed, and the visitor was not able to vote.

    Nokia 201 - the visitor could view the poll, and was able to vote just fine.

    HTC Desire A8181 - the visitor could view the poll, and was able to vote just fine.

    It worked on 2 of the phones that we tested with (the older models).
    Any ideas why this might be?

  4. Elethu
    Member
    Posted 1 year ago #

    Hello again

    An update:
    We have had some people test on two more devices - Samsung Galaxy S3 and an iPhone 5.

    They both displayed the results, but there was no ability to actually vote (i.e. the form was not displayed).

  5. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    Are they behind the same Wi-Fi network or same telco in the same area?

    Most mobile network carriers connected to the same base station might share the same external IP/X-Forwarded-For IP.

    The reason why it shows the form is because WP-Polls detect that you have already voted. But since they are different device, that means the cookie check is not applicable and the check is done on the IP side.

    I suggest changing the Logging Method in WP-Polls to just Cookies

  6. Elethu
    Member
    Posted 1 year ago #

    Hello Lester

    Thank you for your explanation - that clarifies a lot.
    If we share an IP how can we can vote online on our desktops using the same wifi network?

    Also, the current logging method in place is "by Cookie and IP" - does that mean that the plugin checks the IP first?

  7. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    "If we share an IP how can we can vote online on our desktops using the same wifi network?" -- Simply put, you can't.

    It checks for Cookie first because it is "lesser load" then it checks for IP.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic