The trailing whitespace in the main plugin PHP file bulk_password_reset.php is causing problems on my WordPress installation in some cases. More specifically: when the plugin’s file is loaded, it causes the output buffer to be non-empty, which means that certain kinds of files (such as images delivered via PHP scripts) are not properly interpreted by browsers.
To fix, change the end of the main plugin file to this:
//instantiate the class
if (class_exists('bulk_password_reset')) {
$bulk_password_reset_var = new bulk_password_reset();
}
Note the lack of a closing ?>
delimiter, which is optional and is the cause of the trailing whitespace.
While doing a bulk password reset of +500 users I got a Gateway timeout. This is of course due to the settings of the hosting provider. However, I have now no means of determining which users did get a password reset and which did not.
I had logging switched on, no log was however written; I checked in the source code and it should have written it to the bulk-password-reset directory in the wordpress uploads folder.
So here are some tips:
As by standard, wordpress does not have a “last-changed-date” in the wp_users table, so I can’t tell which passwords were reset. All I can do now is sent out a manual mailing to all subscribers requesting them to manually reset their password.
]]>Hi, when resetting by Role does this only resent users in the currently active (logged into) site in a multisite WP install?
]]>As a non-programmer Admin, I just installed and tested “Bulk Password Reset”. I think someone else mentioned that the plug-in’s default user message is inappropriate since it tells all users that their password was reset due to “violation issues”. So my question is, can I safely change that line in the code to something more appropriate? Also, how would I indicate in the user message what the new password is?
This is existing code: $message .= sprintf(__(‘The site administrator of %s has automatically requested to changes your password due to violation issues.’, ‘bulk_password_reset’), get_option(‘siteurl’)) . “\r\n\r\n”;
My change: $message .= sprintf(__(‘The site administrator of %s has reset all user passwords to “x”.’, ‘bulk_password_reset’), get_option(‘siteurl’)) . “\r\n\r\n”;
]]>As mentioned in this thread, it would be great if you could add the default filters to this outgoing message.
$title = apply_filters( 'retrieve_password_title', $title );
$message = apply_filters( 'retrieve_password_message', $message, $key );
The hardcoded message you include “The site administrator of %s has automatically requested to changes your password due to violation issues.” is not appropriate in all cases, and I’ll have to hack the plugin to change it.
If you could add the filters above on line 563 of ‘bulk_password_reset.php’, it would make your plugin more compatible with other plugins, WP, and allow me to change the outgoing message from functions.php.
Thanks!
]]>I want to have my logo under the e-mail is that possible?
Thanks!
]]>I just used this for a large user based site, and all they get is an email that says:
Password Lost and Changed for user: XXXXXX
Shouldn’t there be a link for the user to reset their password?
]]>I’m getting this message on admin pages when I have the plugin activated
Strict Standards: Redefining already defined constructor for class bulk_password_reset in wp-content/plugins/bulk-password-reset/bulk_password_reset.php on line 28
]]>It appears that if a user doesn’t click on the link to reset their password in about a day or so, it always gives an ‘invalid key’ error. Is there an expiration on the key? If so, can it be prolonged? I need to send out a mass email asap but if I need to give them additional instructions to accommodate an expiration, I need to know what that is.
Thanks!
]]>I created a custom password reset page and added the following to my function.php. I thought it would work but it doesn’t when the user clicks on the link in your email. Any suggestions?
// REDIRECT TO NEW PASSWORD RESET PAGE
add_action('init','possibly_redirect');
function possibly_redirect(){
global $pagenow;
if( 'https://dreamdaydjs.com/wp-login.php?action=rp' == $pagenow ) {
wp_redirect('https://dreamdaydjs.com/your-profile/resetpass/');
exit();
}
}
]]>
I’ve installed the plug-in and tested it. But on clicking the link within the email that goes out it always gives an ‘invalid key’ error.
Is there a specific key or format for this that needs to be entered? Please provide a solution to this urgently. You have mentioned in an earlier post that the issue has been resolved. But I’m still facing this.
What is the problem here and how can this be fixed?
]]>I reset the password and tried to access with the new one but it did not work. the old password is still working
]]>I have 81 followers on my website. I ran Bulk Password Reset and 64 followers didn’t get a new password. I tried again on those 64 followers and now 46 of them didn’t get a new password. It seems completely random who get’s a new password and who doesn’t.
]]>Hi,
I recently had bulk password reset installed but when I created a new user and tested it, I didn’t receive an email or any notification, although it said the email had been sent. Is there any way I can find out what’s gone wrong? Or can someone provide me with the steps I need to take to test this plugin?
Thanks
]]>Hi, am getting error on password reset : The email could not be sent.
Possible reason: your host may have disabled the mail() function…
However if I do the reset for a different role with a smaller amount of users it works. Any ideas?
]]>A WordPress Bulk Password Reset is light weight simplest plugin that allow you to reset any number of user in a single click and allowing to to send notification to user as well. For more info follow the link
https://www.youngtechleads.com/wordpress-bulk-password-reset/
Hi! I just wanted to let you know that this plugin causes the live editor in Optimize Press 2 to stop working. I think there’s something in the javascript or css that causes things like the “Add Element” button to stop working in the live editor.
I’m going to try and find some time to research the cause of the problem and submit a fix, but I can’t promise anything.
]]>Hello,
Was the topic for emails being send despite the option being toggled off ever resolved?
I’m trying to prevent any emails through this plugin from being sent out.
What can I delete from the code to stop the emails?
Thanks.
]]>Hey there,
Thanks for a great plugin!
I’m using it in conjunction with SB Welcome Email editor. I noticed that you didn’t add the message and title filters from the default retrieve_password function in wp-login.php i.e.
$title = apply_filters( 'retrieve_password_title', $title );
$message = apply_filters( 'retrieve_password_message', $message, $key );
Since this was really useful to me, I thought it might help other people, too. I hope that you’d consider adding the code in future versions of Bulk Password Reset.
Cheers,
Gergana
Hello,
I would like to change the sender email.
Any idea how to change [email protected] to [email protected] ?
Thanks.
]]>Hello,
I am trying to have this reset the subscribers’ passwords but not email the users the new password. These are the settings that I am using. https://screencast.com/t/wGpbXV29dE
Any idea why it is still sending the password? Any idea how to not have it send the password?
Thanks!
]]>I’m using Bulk Password Reset on 3.9.2 to see if it works. It’s a fresh install on WordPress running the default theme and no other plugins.
The key provided takes me to the reset page and says “Sorry, that key has expired. Please try again.” after I click it.
]]>This plugin breaks the toggling of settings boxes in the post editor in wp 3.9.2 (the little arrow in the right corner stops working)
]]>When installed on a system that enables Notice errors or Strict errors, the plugin creates numerous error messages, making it unusable.
This is common on development systems, meaning that the plug is impossible to evaluate for use in a production site.
This could also apply to production systems.
]]>Hi there,
I installed and used this plugin when the Heartbleed issue was announced about a month ago. Since then, a few of my WordPress administrators (but, interestingly, not all of them) and ALL of my regular members haven’t been able to log into my system. I have tried uninstalling the plugin; I have tried manually setting new passwords for users; I have tried having users use the ‘Lost password’ function. None of those options have allowed these users to log in.
I’m not sure if the fault was caused by this plugin or not, but I don’t really know where to begin to try and figure out what the cause is.
Could you please advise how I should proceed with this?
Thank you in advance for your help,
David
Under Users there is no menu item for Bulk Password Reset as indicated in the screenshots.
Is it working under 3.9?
Is there a manual url I could use?
I like this plugin, but sometimes it’s needed to force reset the password for individual users when they get locked out.
Is there any possibility to add such a functionality? A Reset Password button inside the profile page of every user would come in handy.
Hello, excelent plugin.
I did the spanish translation for you to include in the package. you can download it here:
https://www.dropbox.com/s/btl7kjn4endc80x/bulk-password-reset-lang-es-ES.zip
Thanks!
]]>Does this plugin work with multisite?
]]>the plugin seems to send a confirmation email to users even when it is told not to, is there a way around this?
https://www.ads-software.com/extend/plugins/bulk-password-reset/
]]>