Description: Good way to automatically clean out old messages from your database. This file can be run as a cron task to purge your database of messages older than X amount of days. I use 30 days but it can be changed to whatever. I've tested it just by running the script from my browser and it worked. I haven't run it as a cron yet, but I don't see why it wouldn't work.
Working Under: UBB.Threads 6.3
Mod Status: Beta
Any pre-requisites: None
Author(s): DLWebmaestro
Date: 07/10/03
Credits:
Files Altered: admin/dopurgemessages.php (Copied, then altered)
New Files:
Database Altered:
Info/Instructions: See Attached File
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.