News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ryan Malesevich's Blog:
Comments Closed After 21 Days
December 11, 2006 @ 11:57:00

After having some issues with spam comments over on his blog, Ryan Malesevich decided to do something about it. So, being the WordPress fan that he is, he implemented a new plugin to help things a bit - removing the ability to comment on a post older than 21 days.

I'm using a plugin called Auto-Close Comments. Whenever you write a post, edit a post, or anything similar to that, it will go through the database and close any comments for posts older than three weeks. I'm going to try it out for a while to see how my spam comments are altered.

You need to install it manually since there's no official packaged plugin for it, but it's a pretty simple matter of cut & paste to get it working. Then, you just define the number of days that you want the cutoff to be and you're all set.

0 comments voice your opinion now!
blog comment close wordpress plugin day blog comment close wordpress plugin day


blog comments powered by Disqus

Similar Posts

Chris Shiflett's Blog: Formatting and Highlighting PHP Code Listings

Community News: PRADO Watch Blog Launched

Project: Aleksey Martynov's lexa-xml-serialization Tool for PHP 5.3

Zend Developer Zone: ZendCon 2009 Video Blog

Ed Finkler's Blog: What Matt Mullenweg doesn't know about PHP5, and how it hurts him and his users


Community Events











Don't see your event here?
Let us know!


podcast hack database security introduction project composer hhvm language install performance package framework unittest facebook opinion component application release symfony2

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework