Quote:
Originally Posted by egerci
Hi,
Open visitormessagedelete.php file and
find :
$vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . "visitormessage");
replace with:
$vbulletin->db->query_write("DELETE FROM ".TABLE_PREFIX."visitormessage where FROM_UNIXTIME(dateline )<SUBDATE(CURDATE(), INTERVAL 30 DAY )");
it will work.
You can change 30 DAY with whatever you want. You can also change cron job to run this script every day

|
Thanks, and thank you Paul. Installed!