My latest wordpress plugin is called Better Moderation and was built to be used on LibDemVoice, but is available for all.
One of the biggest problems we have is that people like to leave rude messages, under the current system in WordPress you can add their IP address, email or name to the moderation list and in future their comments no longer automatically appear.
You might even find some keywords they like using and you can add these to the list.
The problem occurs when you login to see what comments are awaiting moderation. You look at the list and there is a new comment, but why has it been moderated? Maybe a swear word, in the past you added them to be blocked, one of the other admins manually moved them to the moderation queue, might just be too many links, or a collection of these rules.
So you approve the message, it appears on-topic, but the reason was that someone else in the team had decided that this person was no longer welcome.
This is why I first hacked the core of WordPress (a really bad thing to do as you can no longer run the automatic updates), and then carefully created a plugin to do it properly.
So instead of second guessing why a comment has been moderated a new “Moderation” column is displayed, and via the Better Moderation settings page you can add reasons to the moderation list providing you with an answer to why.
The rules system is simple each line is made up of three parts
– What you want to moderate eg, feck, fred smith, firstname.lastname@example.org, 184.108.40.206
– Where you want to spot it eg, name, email, url, ip, text, useragent, all
– Why it was moderated eg, troll, bad language, rival
and they are separated by the pipe | (on a UK computer this is the key in the bottom left and needs shift held down).
So you end up with this
220.127.116.11|ip|used by email@example.com - rival
I’ve also added an additional rule. In the default moderation adding word would also match WordPress, but in Better Moderation if you use word^ it ignores any word which has letters after it, so WordPress would be acceptable, whilst Crossword (starts with other letters, but doesn’t end with any) and word-count (punctuation) would be caught in moderation.
If you only wanted to match exactly “word” you can place the ^ at both the start and end ^word^.
Other things the plugin does (at version 1.4):
- Adds the reason to the email sent to the owner of the blog when a comment is moderated
- Displays the reason in the admin dashboard comment preview
- Logs when a comments status is changed by an admin
Any questions leave them in the comments below, any donations can be made here and you can download it here http://wordpress.org/extend/plugins/better-moderation/.