First, I am sure you can find a plug-in for Wordpress that performs this functionality as well, but I did not want to make this a “plug-in” per se, so I figured I would just give you a working snippet of code and allow you to take it from there. I needed to shorten the titles for a project I have been working on and I figured that you might find this useful as well. It is short, sweet and to the point so give it a try.
Mar 31
As individuals devote their lives and time developing applications and scripts to spam comments on Wordpress blogs, we have found a method for fighting back. Suprisingly, Wordpress does not incorporate a useful method for banning comment entries by IP, username or email address. However, good behind-the-scenes buddy Shane has developed a plugin to perform these actions easily.
Introducing, Bannage, a plugin for Wordpress that allows the administrator of a wordpress powered site to ban comments via usernames, email address, ip address or URI. If you have fallen victim to spam comment entries and such plugins as Akismet are not getting 100% of it. You can attempt to prevent spam using Bannage!
This plugin is distributed without any warranty, expressed or suggested, yaddi yaddi. The plugin author, Shane, is an avid reader of this website and a good friend of mine but he is too lazy to operate his own wordpress blog. Therefore, I get to take credit and traffic for his new creation!
Installation is extremely simple, as with all wordpress plugins. Follow these instructions, if you still have issues, post a comment below.
Thanks to Dave Jansen of davejansen.com, wildcards for ip addresses and email addresses have been fully integrated. We are currently testing the new wildcard implementation, if you experience any issues please comment on this thread!
Although the features are pretty standard and basic, more will be added upon suggestions and trials.
Mar 11
The version of my website you are viewing is currently out of date. The content is still here as an archive and you are free to continue browsing it, however, I do recommend you check out my current homepage for more up to date information.