Quote:
Tenpit wrote:
Also, everytime a warning is issued, in the notification message it shows the warning will expire on Never, no matter what duration is entered, it allways says Never. This is only in the message, the actual warning does expire when it is supposed to.
Any suggestions?
--------------------------------------------------------------
Yesterday at 04:27 PM Beorn said this in Post #43
One of two things I can think of:- Go to the options, go to Warning Expiration, and make sure "Always Expire" or "Issuer's Choice" is selected. If they already are, go to step 2...
- Go to each warning, and see if they're all set to expire never. If they are, or most are, go to the options, and make sure Moderator Overide defaults is set to yes, or change the default length of the warnings.
|
Found the problem in warn.php
Find
Code:
if($length = -1) {
$end_date = "never";
}
Replace with
Code:
if($length == -1) {
$end_date = "never";
}
So must be affecting everyone else that has installed this hack.
Nice work btw, i like it a lot.