WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
Reset Password Link Does Nothing (5 posts)

  1. pmagony
    Member
    Posted 1 year ago #

    Hello, when clicking the reset password link at the login stage, the page simply refreshes and the following variable is attached to the URL

    ?a=pwdreset

    I read elsewhere that the member page is not to be blocked. But this doesn't make any sense to me as it contradicts the entire premise of "member only pages".

    For testing purposes, I did unblock the member page, but of course the log-in request is not visible. So I navigated to a blocked page, clicked on reset password, it simply redirected me back to the main member page with no option to reset password.

    I went ahead and blocked our main member page again.

    Totally CORNFUSED!

    Thanks

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

  2. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    The "members-area" page is not a "member only page" in that you are blocking content (such as a post or a page where you are protecting content). It is a user profile page for resetting forgotten passwords, updating user registration data, and changing your password. If you are blocking pages by default and you block this page, it can't load the forgotten password dialog.

  3. pmagony
    Member
    Posted 1 year ago #

    Thanks for the reply Chad.

    I get what you are saying and I have fixed the issue, however, another issue has arisen as a result of this.

    When a user logs in, they are redirected to the same page and that page loads with two links: edit my information and change my password.

    How can I redirect the user after logging in, to a different page of my choosing? OR how can I dress up that page to show more meaningful content that is NOT visible until after they successfully login?

  4. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    There is a filter for that - wpmem_login_redirect.

    However, I would strongly advise against redirecting away from that page when user logs in. From a user flow standpoint, if I was a user logging in on that page to edit my user info or change my password (which is that page's intention), I would find it bothersome to be redirected away and then have to click back again.

    If what you are trying to accomplish is a generic login page, why don't you use the login page shortcode?

  5. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    to add to the above thought, the login redirect filter is generic, so if you use it, but intend to redirect from some pages and not others (such as redirecting when using the login page shortcode, but not the members area), then you'll need to write some conditional statements into your filter function to accommodate that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic