Survey Up for a Beta Test?

3/15/2007 ↓

WP Plugin: Notify Author on Comment Moderation

Author: Mark Ghosh Category: Wordpress Plugins

Please subscribe to our RSS feed for new articles. We report on Wordpress news, themes, plugins, ideas, hacks, quick fixes and everything about blogging, especially about Wordpress. You can also receive updates from this blog via email if you want that method of notification.

Wordpress notifies the admin of a blog when a comment requires moderation. This is done regardless of the author of the post who does not get a notification at all (of moderated comments). I wrote a very simple plugin for Wordpress that notifies the author of the post as well as the admin of the blog when a comment requires moderation. The plugin also assumes that you have moderation notify turned on in options. If the admin is the author of the post, he/she receives only one email.

Installation is as simple as download, unzip, copy to wp-content/plugins and activate. This plugin is running on this blog and has been tested on all 2.x versions of Wordpress. Please submit bugs and suggestions.

Download modnotifyauthor.zip

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 4.75 out of 5)
Loading ... Loading ...

Friends

Translate

Translate to German Translate to Spanish Translate to French Translate to Italian Translate to Portuguese Translate to Japanese Translate to Korean Translate to Russian Translate to Chinese

Latest Videos

20 Comments | Leave a comment | Comments RSS

  1. Great work Mark, another wonderful release of yours.

    Thanks :)

    [Reply]

    Jonathan (81 comments.) — 03/15/2007 @ 5:02 pm
  2. Thanks Mark :)
    Simple and useful :)

    [Reply]

    Atanas Yanev (1 comments.) — 03/15/2007 @ 5:46 pm
  3. This one kicks back a ‘Cannot modify header’ error relating to line 2 for me. Not really sure why. It does, at least, add the comment, but it mucks the comments section up a bit until the page is refreshed.

    [Reply]

    Jim (7 comments.) — 03/15/2007 @ 9:00 pm
  4. JIm, that is very strange (unless there is an empty line at the end of the file that you uploaded). Could you email me the complete content of the error please? Thanks.

    [Reply]

    Mark (239 comments.) — 03/15/2007 @ 9:11 pm
  5. Ok, I tested it out on two different instances of WordPress:

    ——————————-

    Warning: Missing argument 2 for wp_notify_mod_author() in /home/opendial/public_html/test/wp-content/plugins/modnotifyauthor.php on line 12

    Warning: Cannot modify header information - headers already sent by (output started at /home/opendial/public_html/test/wp-content/plugins/modnotifyauthor.php:12) in /home/opendial/public_html/test/wp-includes/pluggable.php on line 275

    Plugins in use: Angusman’s Authenticated WordPress Plugin, Exec-PHP, WP-Contact-Form III (It even yields the same errors when I disable all the plugins. I’m running WP 2.1.2 in all cases.)

    ——————————

    Warning: Missing argument 2 for wp_notify_mod_author() in /home/opendial/public_html/blog/wp-content/plugins/modnotifyauthor.php on line 12

    Warning: Cannot modify header information - headers already sent by (output started at /home/opendial/public_html/blog/wp-content/plugins/modnotifyauthor.php:12) in /home/opendial/public_html/blog/wp-content/plugins/ajax-comments/ajax-comments.php on line 193

    Warning: Cannot modify header information - headers already sent by (output started at /home/opendial/public_html/blog/wp-content/plugins/modnotifyauthor.php:12) in /home/opendial/public_html/blog/wp-content/plugins/ajax-comments/ajax-comments.php on line 194

    Warning: Cannot modify header information - headers already sent by (output started at /home/opendial/public_html/blog/wp-content/plugins/modnotifyauthor.php:12) in /home/opendial/public_html/blog/wp-content/plugins/ajax-comments/ajax-comments.php on line 195

    Plugins in use: a lot (42 total), though it seems that AJAX Comments is one in particular that’s in conflict here.

    ———————–

    Hope that helps.

    [Reply]

    Jim (7 comments.) — 03/15/2007 @ 10:18 pm
  6. It definitely does Jim. I have updated the plugin, could you please try and upload it again?

    [Reply]

    Mark (239 comments.) — 03/15/2007 @ 11:02 pm
  7. The header errors are no more, but I can’t tell if it’s sending an email to the comment author. I used one of my own alternate email addresses for the test comment but haven’t seen a notification email come up for it. How does the plugin judge comment author - email address, author name, or IP address?

    [Reply]

    Jim (7 comments.) — 03/15/2007 @ 11:22 pm
  8. The plugin checks to see if the author of the post is also the admin of the blog. If that is not the case, it sends out an email to the author of the blog when a comment needs to be moderated.

    [Reply]

    Mark (239 comments.) — 03/16/2007 @ 9:44 am
  9. Oh, I misunderstood. This plugin is for blogs that have multiple authors. Somehow, the way I read this was that this plugin was a courtesy plugin for comment authors who end up with comments in moderation. My bad…

    [Reply]

    Jim (7 comments.) — 03/16/2007 @ 9:49 am
  10. A useful spin off from this would be a plugin that emails the comment author (so the visitor to your site, not one of the site’s authors) to thank them for their comment, and to tell them that their comment is in moderation. That would go some way to helping with the problems described here: http://feeds.feedburner.com/~r.....101840482/

    [Reply]

    Dan (5 comments.) — 03/16/2007 @ 10:29 am
  11. That’s exactly what I thought this plugin did, hence my confusion on the subject. :)

    [Reply]

    Jim (7 comments.) — 03/16/2007 @ 10:37 am
  12. [...] Mark at Weblog Tools Collection posted this plugin, and I had an [...]

    Overenthusiastic Spam Filtering - Techsplosive — 03/16/2007 @ 10:48 am
  13. Jim and Dan: That is not necessarily a good idea. Can you imagine how bogged your server would be if you ran into a comment spam flood? In addition, you could run into email spam/blacklist possibilities if you started sending out unsolicited emails. I know because I ran into this on a blog that I commented on. If I do not ask to be emailed, I would rather not get an email from you.

    [Reply]

    Mark (239 comments.) — 03/16/2007 @ 10:56 am
  14. Yeah - that thought did strike me when I started to write the idea up for me own blog :)

    Oh well.

    [Reply]

    Dan (5 comments.) — 03/16/2007 @ 11:04 am
  15. [...] Notify Author on Comment Moderation (tags: wordpress plugin) [...]

    Skylog » Blog Archive » links for 2007-03-17 — 03/17/2007 @ 2:39 am
  16. Notify Author on Comment Moderation (tags: wordpress plugin) […]

    [Reply]

    Jani — 04/2/2007 @ 1:58 pm
  17. Mark,

    I noticed one tiny thing that might be useful to change in this plugin. In the WP Plugin listing page the title of this plugin links to the main page of this site rather than to this specific plugin page. This makes it a little difficult for users to come back and check for updates to the plugin.

    Take care,

    John

    [Reply]

    John Pozadzides (8 comments.) — 04/15/2007 @ 2:53 pm
  18. [...] Moderation Notify Author - Automatically notifys the author of a comment that it is awaiting moderation. By Mark Ghosh. [...]

    HTMLHelp.blog : The HTMLHelp.blog Theme and Plugin Page — 04/15/2007 @ 3:59 pm
  19. Mark,
    What a perfect little plug-in!

    [Reply]

    maria — 08/13/2008 @ 5:04 pm

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required, will not be published)


S2