I just completed 14 Days of WordPress Plugins + 7 Bonus Plugins!

Never Moderate Registered Users

Author:Scott Reilly
Version:1.0
Last update:22 April 2008
Compatibility:WP 2.3+ and 2.5+
Comments:go here
Download:[ zip ]
Description:

Never moderate or mark as spam comments made by registered users, regardless of the apparent spamminess of the comment.

Extended Description

To be recognized as a registered user, the user must be logged into your blog at the time they post their comment.

This plugin assumes that you trust your registered users. It will automatically approve any comment made by registered users, even if the comment stinks of spam. Therefore, it is recommended that you do not allow users to register themselves (uncheck the setting “Anyone can register” in the WordPress admin under Options → General, or in WP 2.5: Settings → General).

For those wanting to allow people to register themselves, and still have those people (called “subscribers” by WordPress) to be moderated as necessary, but allow for other higher-level trusted users from being moderated, you can still do so. Edit the plugin source file and change the $min_user_level argument of function c2c_never_moderate_registered_users( $approved, $min_user_level='0' ) to a higher value than “0″. “1″ corresponds to a “contributor”. See codex.wordpress.org/Roles_and_Capabilities#level_10 for more info on user levels and roles.

This plugin is a partial successor to my now-defunct Never Moderate Admins or Post Author. In addition to preventing admins and the post’s author from being moderated, that plugin also allowed you to prevent registered users from being moderated. WordPress has since integrated that functionality, so the main thrust of that plugin became moot. However, the ability to never moderate registered users is still a valid need that requires this new plugin.


Installation

  1. Download the file never-moderate-registered-users.zip and unzip it into your wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ admin menu in WordPress.

Frequently Asked Questions

  • Q: Hey, why did I get some obvious spam from a registered user?

    A: This plugin assumes that any comment made by a registered user (or a user of the minimum defined user_level) is not spam, regardless of the spamminess of their comment. If you don’t trust your registered users you probably shouldn’t have this plugin activated. Or at least follow the directions above to increase the minimum threshold for trusted users.

  • Q: I don’t trust registered users who are just “subscribers”, but I trust “contributors” and those with higher privileges; can this plugin moderate accordingly? =

    A: Yes. Edit the plugin source file and change the $min_user_level argument of function c2c_never_moderate_registered_users( $approved, $min_user_level='0' ) to a higher value than “0″. “1″ corresponds to a “contributor”. See codex.wordpress.org/Roles_and_Capabilities#level_10 for more info on user levels and roles.


Release Log


Copyright & Disclaimer

Copyright © 2008 by Scott Reilly (aka coffee2code)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Acknowledgements

Thanks to all those who have contributed feedback and support!