WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
Login/Logout Functionality is Lost : ( (15 posts)

  1. Sunrise12
    Member
    Posted 1 year ago #

    Theme My Login is my favorite plugin and I admire and appreciate Jeff greatly for creating it.

    Unfortunately, after I updated to 6.3.7, I had problems with logging in and out. (I am using the latest version of WP.)

    The login button on the main menu in my theme disappeared. I was still able to login by manually entering the login URL. And I could logout through the admin panel when logged in with admin privileges.

    However, when I was logged in with basic Subscriber rights (with the admin panel hidden), there was no way to log out.

    I updated to 6.3.8 hoping that would be resolved and was glad to see the login button reappear on the menu in my theme. However, unfortunately, the logout functionality still does not work properly as it once did flawlessly.

    I activated the Theme My Login widget in the side panel to logout from there (to only show when someone is logged in). However, the widget shows both "logout" and "login" while logged on when it should just show "logout."

    Also, the login button on the themed menu shows "login" instead of "logout" so it could be confusing to a subscriber that is logged on and is not clear that they are logged on. In the previous version, "login" automatically changed to "logout" when someone was logged in.

    I want them to be automatically logged off after they exit the site without logging out but that does not appear to happen either.

    I'm not sure why the original login/logout functionality changed but hope that it can be restored as it was since it worked flawlessly prior to 6.3.7. Right now it's confusing to someone that is logged in.

    http://wordpress.org/extend/plugins/theme-my-login/

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    How are you displaying the link in the menu? Is it a wp_nav_menu?

  3. Sunrise12
    Member
    Posted 1 year ago #

    I'm using the theme's menu. That has not changed.

    The only thing that changed was updating this plugin.

    The login/logout functionality worked perfectly in the past.

  4. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    So, again, is it a wp_nav_menu?

  5. nyghtfalcon
    Member
    Posted 1 year ago #

    Jeff

    I am having this problem on another one of our sites. I just updated your plugin from an earlier version which worked just find. The latest caused the login option to disappear from the theme's wp_nav_menu. I can access it if I add "/wp-admin/" to the URL - which I shouldn't need to do as you know.

    I am going to roll the plugin back to an earlier version till we can figure this out.

  6. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    We're not going to figure anything out if everyone just "rolls back to an earlier version."

  7. Sunrise12
    Member
    Posted 1 year ago #

    Hi Jeff,

    I'm not going to roll back to a previous version since you probably updated for security reasons.

    The source code does not indicate anything about wp_nav_menu. The menu is generated from my theme.

    If you would like, I can email you a link to my site so you can look at the source code. I prefer not to post that here. I'm happy to help you figure this out.

    I really appreciate all of your support and hope that these issues do not turn you off to continuing this project.

  8. nyghtfalcon
    Member
    Posted 1 year ago #

    Jeff

    I just started another test site for the next iteration of our sites. If you want, I can give you admin access so that you can see what is going on and fix the problem.

    Please email me - falcon@nyghtfalcon.com - and I will gladly provide you with login information. Again, you can visit the new test site by going to this URL - http://test.nyghtfalcon.com

    I am more than happy to help you any way I can.

  9. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    You can send me credentials here.

  10. Sunrise12
    Member
    Posted 1 year ago #

    Jeff, did you deliberately change the script so that will only accept wp_nav_menu?

    It used to work without that apparently but perhaps you changed it for security reasons.

    If so, I will see if I can switch to that menu without changing the appearance of the menu or functionality. I'm a little nervous about making that kind of change to a live site.

    Please let me know. Thanks.

  11. BlueValleyTech
    Member
    Posted 1 year ago #

    I think I may be experiencing the same issue. The plugin works on my development server, but won't on a client's production server and I haven't been able to isolate the difference. It is unfortunately delaying our launch schedule.

    The only difference I can think of is when we were developing the site update, we installed TML several versions back, and upgraded it before deployment. On the Production server we installed it at the current version, and then synched files. Not sure if that could somehow have changed some internal configurations in the DB being upgraded vs. fresh install?

    On the production server, neither the login or the logout pages report an error, but the logged in / logged out status does not change. If I use the WP-backend logon / logout pages they still work.

    I would be happy to provide credentials or any other info you could use to help figure this out as soon as we can.

    Thank you!!

  12. BlueValleyTech
    Member
    Posted 1 year ago #

    In case it helps, you can see the login behavior here:

    http://www.eatyourkimchi.com/log-in/

    I setup a test Subscriber account: SubscriberTest with SubscriberTest for the password as well.

    You can see that the authentication part is working, because if you deliberately put in a wrong password you will get the error message. If its correct, no error, but the session will not login either. Could it not be setting a session cookie or something like that?

  13. BlueValleyTech
    Member
    Posted 1 year ago #

    nyghtfalcon - Were you able to successfully roll back? This is affecting a high traffic production site and unfortunately I can't wait for it to be fixed. I am concerned about simply reverting the plugin code though, because I know the last couple updates transitioned the custom post types back to standard pages.

    Thanks!

  14. nyghtfalcon
    Member
    Posted 1 year ago #

    Jeff

    Yes. I was able to roll back. I have done it at least a dozen times.

    Here's your login information: user name - JeffF password -1NyghtFalcon9

    http://test.nyghtfalcon.com

  15. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    @BlueValleyTech Upon reading your other posts, it seems as if you've isolated your problem - and it is in no way related to the original post.

    With that said, what is the issue here? If you're using a wp_nav_menu and have the Login page in it, it will change to Log Out. Otherwise, it will not.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic