Support » Plugin: YOP Poll » Restricting by Username but IP being blocked as well

  • Resolved lubryantkt

    (@lubryantkt)


    So. If a user is logged in on a machine and votes, then when they log out, the form is still not showing up, instead, the results are displayed. I specifically have the poll set to restrict by user. Loggin back in as another user, you get the form again. I want anyone who is logged out to see the form only. How can I achieve that?

    http://wordpress.org/extend/plugins/yop-poll/

Viewing 2 replies - 1 through 2 (of 2 total)
  • so the issue is with this code here. where if the visitor isn’t logged in, the plugin still checks a logged ip. which seems odd to me. yop_poll_model.php line 3206

    if ( ! is_user_logged_in() ) {
    return $this->is_voted_ip();
    }

    why, if we’ve tested for the setting to restrict by username only, would this occur? shouldn’t this option then be labeled ‘By Username & IP’? and if so, why not offer an option for username only?

    And the strange is that what you want Works ok in Crome but not in IE 10!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restricting by Username but IP being blocked as well’ is closed to new replies.