WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
[resolved] Reset / forgot password link not working (6 posts)

  1. Robin
    Member
    Posted 1 year ago #

    I really like the WP-members plugin. It works great, except one thing. I made a user-profile page. The page itself works, I can see the two options change data and reset password. But, when I click on the reset password link, I go to an empty page. The url ../?a=pwdchange doesn't work, so it seems. Is this a common problem? The page isn't blocked. Thank you for your help in advance.

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

  2. websharp
    Member
    Posted 1 year ago #

    @Robin... I am having exactly the same problem! I've been wrestling with this for the last hour.

    I'll monitor the thread to see if anyone has any insight into the issue.

  3. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    Are both of you using multisite? or are these regular WP installs?

    If it's multi-site, that could be the problem - it's a modrewrite thing with the way the permalinks are generated in WP mult-site vs the WP-Members appended query string.

    The workaround would be to set up individual elements for the user management components. There are two page shortcodes you can use.

    [wp-members status="in"][wp-members page="user-edit"][/wp-members]
    [wp-members page="password"]

    The user-edit would needs to be wrapped in the status shortcode because it doesn't have a logged out state. The password shortcode has two states - if the user is logged out, it's a password reset; if the user is logged in, it's password change.

    http://rocketgeek.com/plugins/wp-members/users-guide/shortcodes/page-shortcodes/

    It's a bit of a workaround, but if there's something in the way of reading the querystring, this will get you the same functions available to the user.

  4. Robin
    Member
    Posted 1 year ago #

    Hi Chad,

    I'm not using multisite, but the latest regular WP install. I tried the workaround, but it shows only the user-edit part. The page="password" doesn't show up. When I use just the page="password" shortcode, it gives an empty page. Strange?

    Is there anything else I could try?

  5. websharp
    Member
    Posted 1 year ago #

    Hi Chad,

    Likewise - also a regular WP install. I am having the opposite experience to Robin. My password reset form appeared, but the User Profile edit facility did not. Strange, indeed!

    Thanks
    Dave

  6. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    Dave - I'm wondering if you are looking at the page in a logged in state? As given, the example would only show the user profile edit part if the user is logged in (because if they are not, how would we be able to allow them to edit their profile?). So it is wrapped in the status shortcode. The password shortcode does not need this because it has a logged in and logged out state.

    Robin - There aren't many reasons why that wouldn't show. First, I would double check to make sure you have the most recent version of the plugin (2.8.2). Of the top of my head, I'm not sure when the password shortcode was added, but it was in one of the more recent versions. So if you have an older version, it may not be there.

    Second, WP runs the shortcode parser only once. So any shortcodes used in your setup must also run the parser to make sure that all shortcodes get parsed. Some developers are unaware of this and return $content rather than do_shortcode($content). I don't think that's the case here as I would expect then that you would see an unparsed shortcode. But just to double check, I would test this out with all other plugins deactivated, just so we can eliminate the possibility of a conflict.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.