Justin Shattuck

Archive for March, 2009 Monthly Archives

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.

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!

Features

  • Ban comments by:
    1. URI
    2. Username
    3. Email Address
    4. IP Address
  • Allows multiple entries for each ban type.

Disclaimer

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

Installation is extremely simple, as with all wordpress plugins. Follow these instructions, if you still have issues, post a comment below.

  1. download the plugin.
  2. Extract the compressed bannnage.zip file to your local computer.
  3. Upload bannage.php to your wp-content/plugins/ directory of your website.
  4. Activate Bannage plugin via plugins panel of the administrative interface of wordpress

Changelog

Wildcards (*) have been integrated!

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.

Download bannage now!

Monthly Archives Other dates of posting

March 2010

February 2010

July 2009

April 2009

March 2009

November 2008

August 2008

March 2008

February 2008

December 2007

November 2007

October 2007

September 2007

August 2007

June 2007

May 2007

April 2007

March 2007

February 2007

January 2007

December 2006

November 2006

October 2006

September 2006

August 2006

July 2006

June 2006

May 2006

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.

Sponsors

Text Link Ads

Flickr Photostream