WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
[resolved] One tiny minor issue (8 posts)

  1. Steve D
    Member
    Posted 3 years ago #

    Subscriber can not log out. I think this may have something to do with caching. When I clear my browser cache then it works. The problem is most reader do not understand this or have clear catch installed. Can you advise on this perhaps I may just be overlook a simple tweak.

    I use Hyper Cache so perhaps it's related to that I just don't know for sure.

    http://wordpress.org/extend/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    I'm not sure about how Hyper Cache would effect it, but WP-Members uses the following to log the user out:

    wp_clearcookie
    do_action('wp_logout')
    nocache_headers

    If you are able to logout of the WP admin area, you should also be able to logout of the frontend.

    Not sure if you are using the sidebar widget, but that has a logout link built into it. Alternatively, you can hardcode a logout link anywhere that goes to http://yourblogurlhere.com/?a=logout

    Hope that helps.

  3. Steve D
    Member
    Posted 3 years ago #

    Yes I am using the sidebar widget. Everything looks great and set up excellent. Let me just tinker around a bit, this is a sister site that won't deploy for a few weeks so if I can figure it out I will post back here with whatever conclusion I arrive at.

    Thanks for your swift assistance also it's truly appreciated.

  4. Steve D
    Member
    Posted 3 years ago #

    Okay, here is what happens. If I log out from the front end with the widget it does log out. What happens though is the log in widget still says . . .

    You are logged in as
    click here to logout

    When I clear my browser cache then the Login status returns to the
    'You are not currently logged in' status.

    Update: Definitely something with the Login Widget I removed it and user can logout from the Register page with no problem.

  5. Steve D
    Member
    Posted 3 years ago #

    Okay some progress . . . me suspects perhaps a cookie issue might be the "culprit".

  6. Steve D
    Member
    Posted 3 years ago #

    Odd . . this problem seems to be confined to my Firefox/3.6.10.

    It works on IE and Opera.

    Arrrrgh

  7. Steve D
    Member
    Posted 3 years ago #

    Okay I think I have everything tweaked all systems go!

    Thanks for your help CB.

  8. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    Good to hear!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags