Support » Plugin: WP-Members Membership Plugin » Edit Your Profile/Change Password Page Issues

  • Resolved bk_design


    Hi cbutlerjr,

    This is a great plug-in but I found 2 issues that I can’t seem to figure out how to resolve.

    Issue 1:
    When your logged in and you press “Edit Your Profile” your taken to a page to edit your information. But if you log out while still on that page the page refreshes and displays the login (username/password) fields and then underneath the “registration form”. Is there anyway to remove the registration form or even have that page go back to the login page instead of displaying the login/register fields?

    Issue 2:
    When you click on “change password” and you don’t enter any changes (keep both fields blank) and still click “update password” the change still happens but your password is set to nothing which it won’t let you log in and an administrator would have to reset the password. Is their a fix for this?

    One recommendation it would be great to have the “reset password link” at the bottom of the login page.

    Please let me know if anyone is experiencing these issues.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler


    The first issue is actually the way the plugin is designed. On any page that the user needs to be logged in on and they are not logged in, they are presented with two options – they can login (if they are already a registered user) or they can register (if they are not). That process is by default since the more clicks a user has to make to get to register, the less likely they are to do so.

    If you want the login/registration to display only the login form, then you can toggle the plugin setting to turn off registration. However, this turns off the registration form for any post/page and you will need to have a registration page set up. This setting is discussed in the Users Guide.

    However, I need to ask – you say that when you logout on that page, the page refreshes and you get login/registration? Anytime you logout, you should be taken to the home page. So, are you saying that you are not being taken to the home page (which would be an error), or that you are being taken to the home page, but when you go back to the edit member settings page you get login/registration when logged out (which is what it should be)?

    The second issue with change password accepting a blank value – now that’s actually a problem, and thank’s for catching it. I’ll need to take a look at why error checking is not validating a double blank. I will get a fix out as soon as I can.

    Lastly, a reset password link can be shown on the login form. For this to occur, you set the location of your members settings page in the plugin settings (due to differing permalink setups, this can’t be done dynamically). If you setup a registration page and specify it in the settings, there will also be a “register” link included next to “forgot password”

    Plugin Author Chad Butler


    The immediate patch for the change password double empty value check is to change wp-members-core.php at line 418. It is:

    if ($pass1 != $pass2) {

    Change it to:

    if ( ($pass1 != $pass2) || (!$pass1 && !$pass2) ) {

    This is a quick fix that will prevent an invalid null password. I’ll be expanding on this in the next update, but in the meantime, I’ve patched 2.5.2 with this.

    Hi Chad!

    Thank you so much! This works for me. I was also able to figure out the other issues.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit Your Profile/Change Password Page Issues’ is closed to new replies.