WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
Restricting by Username but IP being blocked as well (3 posts)

  1. lubryantkt
    Member
    Posted 1 year ago #

    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/

  2. lubryantkt
    Member
    Posted 1 year ago #

    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?

  3. BjarneP
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.