Quote:
Originally Posted by sv1cec
After a lot of trial-and-error, I've managed to improve on Jag's script above.
The script below, will test every warning to see if it is more than a month old. If it is, it will erase the warning and reduce the points of the member by the number of points that warning had.
One question Jag, that number you used, $date = $today-240800, the 240800, where does it come from? I believe that it should be $date = $today-2592000 (for 30 days x 24 hours x 60 minutes x 60 seconds).
Rgds
|
Thanks for posting that, I guess I didn't look deep enough into the hack to see what all exactly was required to remove a warn :ninja:
As for the 240800, that's why you shouldn't do math at 4am