July 28, 2004

Closing comments

Pixy/Madfish:

I've seen a few places mention some MT plugin that allows you to close off comments after a certain amount of time. Given 99% of the spam that beats the Blacklist comes from old comments, is it possible to install this in the Central Munu Computer DooHickey?

Posted by Simon at July 28, 2004 10:24 AM
Comments
#1

I second that emotion.

Posted by Jim at July 28, 2004 02:28 PM
#2

If you are running a php enabled site (that means your index file extension is php) you can use this php script from Geekblog.

Alternatively, there is some javascript code on this discussion at the MT Support Forum.

Posted by Madfish Willie at July 28, 2004 04:47 PM
#3

There are five variables that you have to set before this script will work...

// $database is the name of your movable type database
$database = '';
// $dbuser is the username used to access this database
$dbuser = '';
// $dbpass is the password used to access this database
$dbpass = '';
// $dbhost is the hostname to connect to - most likely this will stay as localhost
$dbhost = 'localhost';
// If you changed the name of the movable type 'entry' table, change this value to reflect the name of it
$entrytblname = 'mt_entry';

Pixy will have to direct us with some of these...

Posted by Madfish Willie at July 28, 2004 06:26 PM
#4

Thanks Madfish but it says it requires uploading to servers etc. How do we do that?

Posted by Simon at July 29, 2004 01:53 AM
#5

The same way you upload images via the [UPLOAD FILES] function... or you can use the FileManager in your cPanel to upload files...

Posted by Madfish Willie at July 29, 2004 03:00 AM
Live Comment Preview
Post a comment









Remember personal info?