WordPress.org

Support

Support » Plugins and Hacks » YOP Poll » [Resolved] Error when logged out

[Resolved] Error when logged out

  • I have it set so that guests and registered users can vote (and view results).

    When logged in, all works fine.

    When logged out, the View Results text link appears on the left, directly beneath the Vote Button and the link doesn’t work. You cannot vote also. It is like it doesn’t allow you to vote/view results as a guest…. but the guest user is left thinking there is an error because there is no message to say that ‘You must be registered user to engage in our poll’. In any case, I have it set for both guests and registered users.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author YOP

    @yourownprogrammer

    Hey nordicmike,

    Edit you poll and in the “Other Options” section, “Vote Permissions :” should be set to “Guest & Registered Users”.

    If you still have problems, please send us a link so we can assist.

    Regards,

    YOP Team

    Hi. Yes, I have that setting ticked. It works fine when logged in but not when logged out. It seems to be an error in relation to that setting though.

    mytrainedbody.com/blog

    You can see the View Results doesn’t work when logged out…. despite having the permissions set for both guests and registered users.

    Plugin Author YOP

    @yourownprogrammer

    Hi nordicmike,

    The problem is with admin-ajax.php

    When a user is not logged in and wants to vote http://www.mytrainedbody.com/wp-admin/admin-ajax.php is accessed.

    However, something goes wrong. It can be a problem with the theme or it can be caused by a security plugin.

    Please take a look at this thread:

    http://wordpress.org/support/topic/theme-redirects-ajax-requests-for-users-that-are-not-logged-in?replies=8

    Best wishes,

    YOP Team

    Hi again. Thank you for the info. It’s all over my head but I’ll try with the theme developer to see if they can shed some light. Thanks once again.

    searchsaurabhverma

    @searchsaurabhverma

    Just Remove

    add_action( ‘admin_init’, ‘restrict_admin’, 1 )

    from function.php and all will work fine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Error when logged out’ is closed to new replies.
Skip to toolbar