WordPress.org

Forums

New User Approve
[resolved] Password recovery doesn't work (10 posts)

  1. sphkress
    Member
    Posted 2 years ago #

    When I try to recover my password, either by using my username or my email address, I never receive any emails. When i deactive this plugin, it's working again.

    I'm using other plugins as well, such as "member-access" or "wplogin-redirect", but even when i disactive them, it's not working. The only way to receive lost password links again is by deactivating "new-user-approve".

    http://wordpress.org/extend/plugins/new-user-approve/

  2. Josh Harrison
    Member
    Plugin Author

    Posted 2 years ago #

    Is the user that you are trying to recover a password for approved? If the user has either a status of pending or denied, the password recovery form will just redirect to the login form where it states that the user must be approved to login to the site.

  3. sphkress
    Member
    Posted 2 years ago #

    All the users are approved (actually I was trying to send myself a password, to be really sure about that). There are no pending or denied users at all at the moment.

    Other plugins which are used on this website:
    - Event calendar by time.ly
    - Email Address Encoder
    - Member Access
    - PC Hide Pages
    - Peter's Login Redirect

    I have disabled all other plugins to be sure that i got the only plugin which is producing a conflict. That's why i wrote this post.

    ==> When i disable Login Redirect, the problem is still there
    ==> When i disable Member Access, Hide Pages, etc., the problem is still there
    ==> When i disable New User Approve, the problem has disappeared (which means, i get the recovery emails), but then I'm missing the approval system...

  4. TigWeb
    Member
    Posted 2 years ago #

    This plugin works exactly how I want but like sphkress the password recovery doesn't work while it is activated. It seems to be missing something because once you add the email in to retrieve the password it just goes straight to the login screen and nothing happens (no email). When the plugin is deactivated a message appear to tell you to check your email and you get an email with the new passowrd. Surely this was tested when the plugin was created & updated.

  5. weezer311
    Member
    Posted 2 years ago #

    I just came across the same issue. Here's the solution I've found.
    Users that were created prior to the plugin being installed do not have a user meta field for pw_user_status. The plugin is checking for the value of this to be approved before it allows you to recover your password.

    On line 432 of new-user-approval.php I changed it to be:

    if ( $user_data->pw_user_status && $user_data->pw_user_status != 'approved' ) {

    That way it only prevents the reset if there is that meta key AND it is not marked approved.

  6. blg002
    Member
    Posted 2 years ago #

    I was having this same problem: Any users created after the plugin is installed can recover their password correctly, however users that were in the system before the plugin will not be able to. The solution @weezer311 provided works (although the file he references is actually named new-user-approve.php).

  7. Josh Harrison
    Member
    Plugin Author

    Posted 2 years ago #

    I have tested and applied the change recommended by weezer311. Thanks for your help everybody.

    The update is in v1.4.2 of the plugin.

  8. TigWeb
    Member
    Posted 2 years ago #

    Thanks Josh. I have just added the plugin again and the password recovery works a treat.

    Thanks again for fixing the plugin.

    Tigweb

  9. Pollyhansen@sbcglobal.net
    Member
    Posted 2 years ago #

    My hard drive was replaced. WordPress no longer recognizes my user name or pass word so I can't make into my website. Any suggestions?

  10. Josh Harrison
    Member
    Plugin Author

    Posted 2 years ago #

    @Pollyhansen Can you use your email address to recover your password? If that doesn't work, you can delete the plugin by logging in through FTP. But the plugin shouldn't prevent you from recovering your password.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • New User Approve
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic