Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How would you resend the login & password to a user who has forgotten his password? In this case they don't want to go to the "password" forgotten page.

Additional Q: Mass re-sending of passwords.

I understand that it's nearly impossible to resend the password, so reset is also ok. but i need a way to click select some users and then send them the reset link mail.

Current Solution: I list my users (ordered by role) in a table & simply added a little lost password form with a button. It works but is the opposite of ... nice. If you want to resend a password, you click the button and open a blank tab/window. This saves me from going back all time, but re-sending 200 password mails still is a pain. Plus: It's impossible to resend the password. The user just receives a link to click to reset the password.

<td id="<?php echo $user->ID; ?>;user_pass;<?php echo $wpdb->users;?>">
    <form name="lostpasswordform" id="lostpasswordform" action="<?php echo site_url('wp-login.php?action=lostpassword'); ?>" method="post" target="_blank">
            <input type="text" name="user_login" id="user_login" class="input hide" value="<?php echo $curuser->user_login; ?>" size="15" tabindex="10" />
            <input type="submit" name="wp-submit" id="reset-pass" class="margin-null" value="send" tabindex="100" />
    </form>
</td>

Thank you!

share|improve this question
1  
Have you checked out some of the available plugins for ideas? ie. exhibit #1 and exhibit #2 ... –  t31os Mar 11 '11 at 12:07
    
ehm. no. it was an older project and back then there was nothing available. didn't know and therefore not search. thanks a lot for the hint! –  kaiser Mar 14 '11 at 14:55
    
@t31os Could you add the second link as answer, so i can mark it as solution? –  kaiser Jun 7 '11 at 17:12
add comment

1 Answer 1

up vote 2 down vote accepted

To reset the passwords for all users use the plugin Bulk Password Reset.
It offers a nice interface with some useful options. For example: You can choose the users by their role or add a custom message to the reset email.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.