Auto-Shut Off Comments Plugin

I looked around for a plugin that would automatically set comments to closed after a set number of days. I didn’t find any, but I did find some code at the WordPress wiki that was useful, so I turned it into my own plugin.

It checks for posts to be closed every time the database is updated, so it doesn’t require a cronjob.

8 Responses to “Auto-Shut Off Comments Plugin”

  1. Blogging Pro - Blog News, Tools and Hacks Says:
    WordPress Plugin: Auto Shutdown Comments
    This plugin turns off comments after a selected number of days. Gives the advantage of not leaving older posts open to spam comments.

  2. Blogging Pro - Blog News, Tools and Hacks » WordPress Plugin: Auto Shutdown Comments Says:
    [...] s slvShowNewIndicator(1089124410); Filed under: WordPress Plugins|Google it! This plugin turns off comments after a selected number of da [...]

  3. Slobokan's Site O' Schtuff » More Awesome Schtuff. Says:
    [...] m techno-tard goes to Chelle. I still think it sounds better when she says it. [Source : ScriptyGoddess]

    OBITER DICTA (0) slvShowNewIndic [...]

  4. Steve Says:

    I wrote a similar pluging to this when I first started using WP. Instead of closing the comments for posts, it takes any comment made to a post older than the front page and puts it in the moderation queue. Colin Devroe also wrote a plugin that is similar and released his on theubergeeks.net.

    If you’re looking for info about plugins, one of the better places to start is the IRC channel, #wordpress on irc.freenode.net.

  5. Code Novice Says:
    Catching Up with Bookmarks
    WordPress
    Auto-close comments
    Recent commenters and commented posts; additional plugin available here
    Burningbird's WP modifications -- includes tons of helpful tips

    ExpressionEngine
    Inserting ads between entries
    Banning partial IP nu…

  6. Cyn Says:

    I’ve tried using this plugin on 2 different WP installations. One is updated with the last version of WP, the other isn’t. It causes an error in each installation, when I try to update templates or do any updates and posts from the admin panel. It’s very frustrating. I would love to use this plugin but again, I keep getting errors.

  7. hoadl.net » Selbsschutz Says:
    [...] dass Beiträge nach 14 Tagen nicht mehr editiert werden können. Das Plugin dafür gibts bei http://www.scriptygoddess.com. Ich habs allerdings nicht als [...]

  8. Kinuk Says:

    After installing this plugin, no more spam and everyting worked great. Or so I thought. Everytime somebody wants to leave a comment, they receive this page after pressing the “Say It!” button:
    Warning: Unknown modifier ‘C’ in /usr/local/psa/home/vhosts/kinuk.co.uk/httpdocs/blog/wp-includes/functions.php on line 1348 (several lines of this) and
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/kinuk.co.uk/httpdocs/blog/wp-includes/functions.php:1348) in /usr/local/psa/home/vhosts/kinuk.co.uk/httpdocs/blog/wp-comments-post.php on line 91

    What did I do wrong?