PDA

View Full Version : Non-Post Warning


vulture
04-09-2005, 01:16 AM
Once a non-post warning matures, an email is sent notifying the user that the warning has matured.

However, the email is sent constantly for some reason. Is this a bug or a bad install on my part?

Cheers

Vulture

sv1cec
04-09-2005, 04:56 AM
You might be right on this one. I have also discovered that all my warnings "removal date" are updated constantly. I have found a error in the kill_warns.php file. Please edit your includes/cron/kill_warns.php file and find:


if ($today >= $date AND $warn['warn_permban'] != 'Yes' AND $warn['warn_status']!='I')


Replace that with:


if ($today >= $date AND $warn['warn_permban'] != 'Yes' AND $warn['warned_status']!='I')


Better yet, download the latest zip file and follow the upgrade instructions.

Rgds and tnx