skippy dot net

Plugin: Moderate Authors

WordPress allows users to create and save draft posts, which can then be published by a moderator or admin. This process works well for "guest" authors, as well as for controlled environments (like schools) where all content must be reviewed and approved. An interesting quirk, though, is that once the item is published, the original author can comment on it without restriction, regardless of any comment moderation settings that might be in effect.

Moderate Authors is a WordPress 2.0 plugin I wrote to remedy this situation. When activated, the author of any post is forced through the moderation queue. The only exceptions are authors with the "edit options" capability, who I consider to be administrators and therefore exempt from comment moderation.

skippy

Plugin: Moderate Authors was authored by skippy on . This entry has been taggged with the keywords: , and . If you would like to follow the comments on this post, you can subscribe to its Atom feed.

  • [...] http://www.skippy.net/blog/2006/01/15/plugin-moderate-authors/ [...]

    My Other Blog »

  • [...] http://www.skippy.net/blog/2006/01/15/plugin-moderate-authors/ moderate authors [...]

    Plug-in Mania at EMD | hub

17 Comments

gravatar

On Kevin Jarrett added:

Skippy,

Thanks so much for writing this plugin. It literally saved half a dozen blogs at my school from extinction. Without it, Wordpress does not actually have 100% comment moderation capability. If a student's account was compromised, or they shared their password with another person (a fairly common thing with kids these days) ... the result could be very damaging.

Thanks to you and the efforts of developers like you, Wordpress really is the best blogging platform, fast, free, extensible, and easy to use. Well, in my opinion, anyway. :)

Best,

Kevin Jarrett | Technology Facilitator, K-4 | District Webmaster
Northfield Community School - http://www.ncs-nj.org
Edtech Blog - http://www.ncs-tech.org

gravatar

On skippy added:

Kevin: thanks for the positive feedback! I agree that WordPress is the best platform available. The plugin API makes it extremely easy to do all sorts of useful things, allowing WordPress to be used in some very creative ways.

gravatar

On Robert D. Sharp added:

Thank you, Skippy for this plug-in. I chose not to use WP because I was not sure that the moderation was as secure as I wanted. This helps and I will use it for our Professional Development Blog site.

gravatar

On Adrian Greig added:

Look slike what I have been looking for in WP2. I workin an education environment and moderation of everything is required. One thing though... does this plugin just place the post in a queue, hoping that I happen to notice it? Or (hopefully) does it also generate an automatic email notifying me, as administrator,of a author's post waiting for moderation just like it does for comments being posted?

I do not always have access to my computer (and feed reader software) and as such will have to rely on email notification via webmail when away frommy PC.

Cheers!

Adrian

gravatar

On skippy added:

Adrian: this plugin does not specifically generate an email. The default WordPress moderation notification should trigger, and send you an email, but I can't guarantee that.

gravatar

On Adrian Greig added:

Hi Skippy!

Thanks for the fast reply. Just to be clear on what you wrote.."The default WordPress moderation notification should trigger, and send you an email, but I can't guarantee that. "

Are you saying that as administrator I should already be notifications when authors publish a new post, as I do already with comments? I that is a feature already included in WordPress2 then it is likely to ba a fault in my WP2 setup somewhere isn't it?

If that is the case then I don't really need a plugin to add this functionality but a closer look for a fix at Wordpress Support. Is that right?

Cheers!

Adrian

gravatar

On skippy added:

Adrian: sorry, I was confused (the price I pay for doing too many things at once), and was thinking specifically about comments. WordPress does not currently offer any kind of notification of new posts awaiting publication.

Part of the reason is that there's no "publish" button for authors who cannot publish. They only have a "save" button. So, the workflow pretty much demands that the authors contact the editors/publishers in some (manual) way to let them know when their drafts are ready for publication.

This Moderate Authors plugin doesn't deal with posts, though: it only deals with comments.

gravatar

On Simon Parr added:

Just to be clear - so this does not moderate authors of posts? A big darn if thats the case :(

If that is the case is there anything to force author posts though moderation queue?

Thanks

gravatar

On skippy added:

Simon: no, this plugin does not moderate posts. This plugin only forces comments from the non-administrator authors of posts through the moderation queue.

WordPress supports "contributing authors" by default: posts from these authors can only be saved, but not published. An editor or administrator must publish the posts saved by the contributing authors.

See the User Levels and Roles and Capabilities documentation for additional details.

gravatar

On Karl added:

Hi there,

I posted a comment as admin and that also went though the moderation queue. Should that happen? I am using 2.01 latest.

gravatar

On skippy added:

Karl: my plugin should not moderate comments from the admin. Do you have other moderation restrictions in effect? Most notably, do you have unchecked "Comment author must have a previously approved comment" ?

gravatar

On Karl added:

Hey Scott,

'do you have unchecked "Comment author must have a previously approved comment" ?'

Yes I do

gravatar

On skippy added:

Karl: because you have unchecked that option, all comments are being passed through the normal WordPress moderation system.

gravatar

On WordPress Professor added:

Thanks! very handy plugin

gravatar

On Kevin added:

Hi Skippy,

Is your plugin compatible with Wordpress MU?

-kj-

gravatar

On skippy added:

Kevin: I can't offer any definitive answer, as I've never used WordPress MU. Sorry.

gravatar

On Denton added:

I finally found what many of you said you were looking for...just like me. The ability to moderate authors.
I used this plugin successfully. It saved my life...
It's a plugin for WordPress2.0 called Role Manager.
http://redalt.com/Resources/Plugins/Role+Manager

And You Are?
Something to add?