A small bug was found where the status of a time banned user was set to permanaent if his profile was edited after the ban.
If you already installed the mod, then
in admin/changeuser.php
## Search for:
if ($user['U_Status'] == "Administrator") {
$updatestatus = ",U_Status = '$newstatus'";
}
else {
$updatestatus = "";
}
## Replace with:
if ($user['U_Status'] == "Administrator") {
$updatestatus = ",U_Status = '$newstatus'";
}
else {
$updatestatus = "";
}
//if the status changed insert the ban duration an reason, else not
$ubanover = "";
$ubanreason = "";
if ($check != $isbanned) { /* status changed */
$ubanover = ",U_BanOver = '$banover'";
$ubanreason = ",U_BanReason = '$banreason'";
}
## Search for:
U_FloodControl = '$floodcontrol',
U_BanOver = '$banover',
U_BanReason = '$banreason'
## Replace with:
U_FloodControl = '$floodcontrol'
$ubanover
$ubanreason
That's it.
I will update the instructions in he attachement.