News 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

Gonzalo Ayuso's Blog: Protect files within public folders with mod_rewrite and PHP

Paul Jones' Blog: Solar: From Blog to Docs

ProDevTips.com: WP Hashcash

Rob Allen's Blog: Displaying an RSS feed in WordPress

Sameer Borate's Blog: Adding HTML5 'Canvas' element to Wordpress


Community Events

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


example voicesoftheelephpant series podcast conference community version framework library extension php7 opinion api unittest laravel laravel5 introduction language interview release

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