Tue 14 Jul 2009
We’ve all had this problem. A group of spammers from mail.ru are registering to your blog, but you want to keep registration open. How do you kill the spammers without bothering your clientele? While you could edit your functions.php and block the domain, once you get past a few bad eggs, you have to escalate.
Ban Hammer does all that for you by preventing unwanted users from registering at all.
Instead of using its own database table, Ban Hammer pulls from your list of blacklisted emails from the Comment Blacklist feature, native to WordPress. Since emails never equal IP addresses, it simply skips over and ignores them. This means you only have ONE place to update and maintain your blacklist. When a blacklisted user attempts to register, they get a customizable message that they cannot register.
In addition, Ban Hammer has built in support for StopForumSpam.com which can be turned on or off as desired.
Editing the List
The interface is as straightforward as can be. It allows you to edit the error message, turn StopForumSpam on or off, and maintain the banned list, all in one. Since the list is the same as for the comment blacklist, you will be editing that any time you edit Ban Hammer’s list.
Your Email is Banned
While the message is customizable, the default is a straight forward banned info. There is no log of users who’ve been banned.
Futher details about the plugin can be found at on the WordPress plugin directory for Ban Hammer