Title: Auto Shutoff Comments Problem
Last modified: August 18, 2016

---

# Auto Shutoff Comments Problem

 *  [orchidred](https://wordpress.org/support/users/orchidred/)
 * (@orchidred)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/)
 * I’m having trouble using the Auto Shutoff Comments plugin found [here.](http://wiki.wordpress.org/Auto%20shutoff%20comments)
   I installed it and everything seems to be working fine, except that I set the“
   $age_cutoff” to 10 days and the plugin is shutting off comments at 6 days.
    When
   I originally installed the plugin I had set it to 6 days, but then decided that
   all the posts displayed on the front page should be open to comments. But even
   though I’ve changed the day number, the file is not reflecting that change. Any
   ideas why? I’ve tried deactivating, then re-activating the plugin to see if that
   helped, but it didn’t. 🙁 I’m pretty clueless with PHP so any help would be very
   much appreciated! – Kestrel

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Thread Starter [orchidred](https://wordpress.org/support/users/orchidred/)
 * (@orchidred)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108038)
 * Incidentally, even if I delete the plugin the comments are still closed after
   6 days. What is going on? I’m so confused.
 *  [carthik](https://wordpress.org/support/users/carthik/)
 * (@carthik)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108043)
 * The plugin actually changes the status of the post, as to whether the post will
   accept comments or not. It probably set all posts older than 6 days to “comments
   closed”. Now when you changed the options and made it close posts older than 
   10 days, the plugin might not go and change the posts immediately, but from this
   point on, it will only mark ten day old posts…
    Contact the plugin author and
   let her/him know that the plugin should update the db tables so that the change
   you want to happen occurs as soon as you change the option.
 *  Thread Starter [orchidred](https://wordpress.org/support/users/orchidred/)
 * (@orchidred)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108065)
 * Ah thank you! That makes sense. 🙂
 *  [sourire75](https://wordpress.org/support/users/sourire75/)
 * (@sourire75)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108286)
 * I’m a very newbie with plugins and wordpress… and maybe some of you will laugh
   at my question, but nevermind the hundreds of “phentermine” comments on my blog
   are turning me crazy
    I’m trying to automatically shut off the comments on my
   blogs, so I found this “plugin” and I want to install it. But when it comes to
   plugins usually I download a file and install it, while here there is no file
   to download, only a few lines of code. And I really dont understand what to do
   with it ????? Is there no file to download and put in the wp-content/plugins 
   folder ? Where am I supposed to put this code ???? I hope someone will help me
 *  [lbessant](https://wordpress.org/support/users/lbessant/)
 * (@lbessant)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108305)
 * I’m using WpBlacklist to deal with the Phentermine idiot, but to answer your 
   question, copy everything from the opening `<php` to the closing tag and paste
   it into your preferred text editor. Save it as a new .php file, then upload to
   your plugins folder. It should then be available to activate….
 *  [sdollen](https://wordpress.org/support/users/sdollen/)
 * (@sdollen)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108306)
 * I uploaded and activated the plugin and at first it looked like it didn’t do 
   anything at all. Now, a couple of days later, I see where September and August
   are no longer links in my Archive links. And, the posts are labeled “private”
   in the admin panel.
    I’m making a huge leap here and thinking that is what it
   is supposed to do. If it is, I’m not sure that is exactly what I was wanting 
   to do. I’d still like the old posts to be viewable by readers, just not open 
   for comments. To deter the poker and phentermine spammers. I thought phentermine
   was illegal anyway…maybe that was fenphen? I digress… So, best way, if any to
   allow old posts to be seen but comments turned off ?
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108307)
 * Uhhhh…. no… that’s NOT what it’s supposed to do. It’s supposed to close comments,
   but not make them private…. something has gone wonky there.
    Tg
 *  [sdollen](https://wordpress.org/support/users/sdollen/)
 * (@sdollen)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108308)
 * Hey TG –
    I think the problem might be that I used the plugin on the Wiki which
   was modified by David Ky which is located here: [http://wiki.wordpress.org/?pagename=AutoShutOffPosts&PHPSESSID=2e4d27c9af63eb3141a513f6cbdaf014](http://wiki.wordpress.org/?pagename=AutoShutOffPosts&PHPSESSID=2e4d27c9af63eb3141a513f6cbdaf014)
   I think the one that most are using and that I want is the original one by Scott
   Hanson located here: [http://wiki.wordpress.org/Auto%20shutoff%20comments](http://wiki.wordpress.org/Auto%20shutoff%20comments)
   Is that right?
 *  [sdollen](https://wordpress.org/support/users/sdollen/)
 * (@sdollen)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108309)
 * I just realized looking at my own links what I did. LOL. The first is closing
   posts…which is what it did.
    The second is the comments close, which is what 
   I want. DUH!
 *  [sdollen](https://wordpress.org/support/users/sdollen/)
 * (@sdollen)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108321)
 * Anyone know a quick fix to make posts commentable again once the plugin is deactived?
 *  [sdollen](https://wordpress.org/support/users/sdollen/)
 * (@sdollen)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108323)
 * Anyone? anyone at all? 😉
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108324)
 * Quick fix ? That would have to be something written in SQL
    Otherwise, it’s using
   phpmyadmin and going through posts changing the closed variable to open.
 *  [sdollen](https://wordpress.org/support/users/sdollen/)
 * (@sdollen)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108325)
 * heehee… okay, that’s what I thought the fix would be. 😉
    many thanks, podz 🙂
 *  [xrlq](https://wordpress.org/support/users/xrlq/)
 * (@xrlq)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108336)
 * I have a more basic question: how/where do you “install” the code? Does it get
   added to one of the existing files, or should one save it as a new file?

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Auto Shutoff Comments Problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 8 participants
 * Last reply from: [xrlq](https://wordpress.org/support/users/xrlq/)
 * Last activity: [21 years, 5 months ago](https://wordpress.org/support/topic/auto-shutoff-comments-problem/#post-108336)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
