Subscribe to How-To Geek

Recommended: Click Here to Run a Free Scan for Common PC Errors   [Sponsored Link]

How-To Geek Software: WordPress Comment Moderation Notifier

Many people like myself don't completely trust the various WordPress spam filters and elect to moderate all comments before they show up on the actual site, which ends up flooding your email with moderation notices.

In my quest to keep a clean inbox, I've created a small application that notifies me directly on my desktop when new comments come in to the moderation queue. It accesses the WordPress XML-RPC API by means of a small Wordpress plugin that I've created.

First, screenshots… notice the icon in the system tray. You can quickly launch your comment moderation page via the right-click menu.

image

When there are new comments, you'll see this little message pop up, and then the icon will change to some random icon alert icon I found somewhere. If you click on the text it will take you to the moderation page.

image

The settings page is about as simple as it gets. Just enter in the base url of your blog and it'll figure out the right path to xmlrpc. (unless you've renamed xmlrpc.php, in which case this won't work at all)

image

The password is encrypted and stored in the xml file in the same directory. Don't assume this is entirely secure, however. Remember that all XML-RPC utilities are insecure unless you are using SSL or something like that.

Naturally, I don't guarantee anything with this software, and am not responsible if it breaks windows, melts all the spinach in your freezer, or dyes your hair green.

I will be releasing the source code to this utility shortly, since it was based partially on the open source Google Reader Notifier.

Technical Note

The WordPress plugin implements a new XML-RPC method called geek.getCommentModerationCount. This method could be called by any other language that can handle XML-RPC, so the WordPress plugin could be used by itself.

This means somebody could easily write an application for Linux or OS X to call the same method. (hint) It would even be possible to implement other WordPress functions this way, through a plugin.

Take a look at the WordPress plugin for the details, it's very simple.

 

WordPress Support Plugin Installation (Required)

The WordPress plugin should be copied to your wp-content/plugins/ folder in your Wordpress installation, and then activated in the Plugins panel. I've tested with WordPress 2.0 and WordPress MU.

Notifier Installation

Unzip the file and put it into a directory where you'd like to keep it. If you want it to run on startup, you'll have to create a shortcut to it in your startup folder.

Once you launch the application, you can configure the settings and it should work.

System Requirements

  .NET 2.0 Framework

Support

Leave feedback in the comments. If you have issues with this application, you can always ask your question on the forum.

Download WordPress Notifier

The Geek is the founder of How-To Geek and a geek enthusiast. When he's not coming up with great how-to articles, he's probably writing at his personal blog. This article was written on 08/6/07 and tagged with: The Geek Blog

Comments (31)

  1. BillyG

    That sounds awesome!

    Next thing you know, they'll be asking for it's use with multiple blogs…

  2. Lisaweb

    Nice tool. Extremely useful. I'm going to recommend it to my clients. Another thumbs up, Geek!

  3. Tudor Mateescu

    I like it now. But it's possible to be annoying later with all the spam and stuff.

  4. MInTheGap

    I could certainly see it going two ways– the way BillyG sees it (since I have multiple blogs) and having the option to be notified of all new comments. Though the latter would be annoying to bigger blogs, the smaller ones that get comments infrequently would certainly benefit. And for the bigger ones, just knowing that there are X comments since the last update could be worthwhile.

  5. n-blue

    Great, but small question is will it support multiple blog?

  6. Edwood

    Do you plan to make Mac OS X version ?

  7. The Geek

    Edwood,

    I'd definitely be interested in making a Mac OS X version, but I don't have my hands on a Mac at the moment, so there's only a couple of options:

    1) Somebody can use the WordPress XML-RPC API that I explained above to make a new version.
    2) Somebody can buy me a Mac.

    =)

  8. Dave

    Nice lads, Thanks a lot!

  9. Edwood

    The Geek

    I think that the solution n°1 is the best, but I don't know MAC OS programmer..
    For the MAC, I know a man who can help you.. I seems that he is called Steve J. ;)
    Thank for your answer ! ;)

  10. Mat

    Hi,
    Great work.
    But I have a question… What about creating a xml file to generate a rss feed updated by new comment waiting for moderation ? Then you can mix it with twitterfeed to be notified by sms ..
    What would be the easier way to do that ?

  11. hsm

    Really useful tool. But I have 3 blogs :(
    The only way for now is usage gmail as admin mailbox and gmail notifier.
    You are on the right way!

  12. Martin Espericueta

    Great little program. Is there a way to use multiple blogs with the one instance of it running on the PC?

  13. Chris Gray

    Can you open up the code so people can develop a Linux version? :)

  14. The Geek

    Chris:

    Drop me an email… I'll send you a copy.

  15. Edward Dale

    Great idea! I whipped up a script that will work with your plugin on Mac OS X. It's up on my website at
    http://scompt.com/archives/200.....er-for-osx

  16. The Geek

    Edward:

    Awesome! I'm gonna test it out shortly here..

  17. Demi Fantasy

    Cool stuff, I have just tested it and it worked very well… Thanks alot!

  18. Laundro

    This is great and all, but a Mac version would be splendid.

  19. Matt Brotherson

    Any proxy support for connections?

  20. Seth

    Love it! However I manage 6 blogs and it would be good to have the ability to monitor all from the same installed app!

  21. OPENGIGA

    wow! excellent job and hope it will work for me..

    thanks man

  22. Thomas-DK

    Hi,

    Great work!
    Like other commenter's I would like a option for multiblog.
    What I would appriciate even more, is a localization option.
    A lot of my Danish users wouldn't use this if it isn't in Danish.
    One more little thing, could be really nice with at nicer looking icon :)

    Again nice work!
    Thanks

  23. Joseph Scott

    I've submitted a ticket to include the XML-RPC getCommentModerationCount method in WordPress:

    http://trac.wordpress.org/ticket/5341

  24. Edward Dale

    I just added multiple blog support to my script and the notifications on Linux. They still need to be tested though. Check it out here:

    http://scompt.com/archives/200.....n-take-two

  25. mic

    Excellent tool I love it…
    Thanks

  26. MK

    This is a new creative idea for WP.
    Thanks a lot for the nice tool

  27. Robert

    Very useful plugin. I search for somethink like this by google, and i found it here=]

  28. Okyb

    I could certainly see it going two ways– the way BillyG sees it

  29. Artstudio Tatiana

    Just start to use it and it's wonderfull. Thanks!

  30. Jefry

    How many connection proxy supports?

  31. Scarl

    Cheers for the tool mate.


Leave a Comment




Leave your friendly comment here. If you have a computer help question, leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Copyright © 2006-2008 HowToGeek.com. All Rights Reserved.