這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Prevent Password Reset

外掛說明

Prevents password reset for select users via the WordPress “lost password” form. This plugin adds a checkbox to each user’s profile in the admin. If selected, it prevents the user’s password from being reset. If a user selects to prevent their password from being reset, no one can try to reset the password. It stops it completely.

Things to keep in mind:

  • If you lose your password, you won’t be able to reset it either unless you remove the plugin via FTP, go into the database, or have an administrator on the site change your password.
  • This plugin does not disable the ability to edit/change a password from the user profile page. It merely blocks password resetting from the “lost password” form.

Professional Support

If you need professional plugin support from me, the plugin author, you can access the support forums at Theme Hybrid, which is a professional WordPress help/support site where I handle support for all my plugins and themes for a community of 40,000+ users (and growing).

Plugin Development

If you’re a theme author, plugin author, or just a code hobbyist, you can follow the development of this plugin on it’s GitHub repository.

Donations

Yes, I do accept donations. If you want to buy me a beer or whatever, you can do so from my donations page. I appreciate all donations, no matter the size. Further development of this plugin is not contingent on donations, but they are always a nice incentive.

螢幕擷圖

  • Disabled password reset
  • Password reset checkbox on user profile page

安裝方式

  1. Upload prevent-password-reset to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to your user profile in the admin to select whether to prevent password resetting.

常見問題集

Why was this plugin created?

I needed a way to disable password resets for specific administrators on my site but leave this functionality open for the other 1,000s of users. So, I chose to make this an option on a per-user basis.

How do I use it?

Once installed, a checkbox gets added to the “Personal Options” section of each user’s profile page in the WordPress admin. Anyone who can edit the user may check this box to disable password resets for that individual user.

I forgot my password. What should I do?

The easiest way to do this is to log into your hosting account via FTP. Proceed to your plugins directory and delete the prevent-password-reset folder. This should allow you to reset passwords for any user account via the “lost password” form.

If you don’t have this type of access, you need to talk to a site administrator who does to have them update your password.

使用者評論

2022 年 2 月 17 日
There are tutorials to disable password reset for the entire site by modifying php code. Not only is a plugin a much better, more elegant solution, but a very desirable feature of this plugin is a checkbox to enable/disable password reset for each individual user so you can retain the valuable password recovery feature for some accounts. Thank you for your valuable contribution to Word Press!
2016 年 9 月 19 日
I’ve been using this for some years and works great! The main advantage is that it is a per user setting… many users don’t want someone to be able to reset the password of the account, and with this it really isn’t possible.
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Prevent Password Reset〉的開發相關工作。

參與者

將〈Prevent Password Reset〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

Version 0.2.0

  • Changed license from GPL v2-only to GPL v2+.
  • Added plugin row meta for the plugin.
  • Dropped the MO and PO files in favor of a POT file for translators.
  • Added a readme.md file since this plugin is now on GitHub.
  • Updated this readme.txt file.
  • Updated this plugin for the mere purpose of updating. WordPress.org has created a stigma around plugins that don’t get updates every so often by putting a big warning box at the top of the plugin’s page. Basically, it’s telling users to beware! Of course, this is just ridiculous, particularly when talking about a plugin that most likely will never need an update (like this one). Some plugins are simply “set and forget” forever. But, because of how WordPress.org treats these types of plugins, lumping them into a “bad plugin” pool with plugins that actually do need updates, I’m forced to create a rather useless update to this plugin. Update if you wish; it’s not actually necessary. It’s just necessary for me to update the plugin in order for it to not be de-listed from the WordPress.org search results. Good day.

Version 0.1.0

  • Plugin launch. Everything’s new!