Hi, this is'nt much of a mod,its more of an addition to the clean.php file, something i noticed from sorting out a big TT based site is the amount of PM's that was left in the database, so i came up with a method to control it based on one of the existing clean up systems:
open backend/cleanup.php
Copy the folling at the bottom of the file then save:
Hope this helps those with a verry big database problem :angry:
open backend/cleanup.php
Copy the folling at the bottom of the file then save:
$messages = gmtime() - 90 * 86400;//delete read Messages(PM's) after 90 days
SQL_Query_exec("DELETE FROM messages WHERE unread = 'no' AND added < FROM_UNIXTIME($messages)");Hope this helps those with a verry big database problem :angry:
