Mystics
Thu 29th Aug '02, 3:50pm
Hi,
if you ban a member via mod/user.php, he gets the user title 'Banned by Moderators', instead of the right user title 'Banned'.
To fix it, replace this in mod/user.php:$bangroup['title'] = 'Banned by Moderators';with this:$bangroup['title'] = 'Banned';
Also, I wouldn't check for custom usertitles here: if ($banuser['customtitle'] == 0) {
$dotitle = ", usertitle='".addslashes($bangroup['title'])."'";
} else {
$dotitle = '';
}Because, in my opinion, why should a member who got or has given himself a custom user title, not get the title 'Banned' after being banned? It would be better to set (automatically) customtitle=0 for all banned users.
Mystics
if you ban a member via mod/user.php, he gets the user title 'Banned by Moderators', instead of the right user title 'Banned'.
To fix it, replace this in mod/user.php:$bangroup['title'] = 'Banned by Moderators';with this:$bangroup['title'] = 'Banned';
Also, I wouldn't check for custom usertitles here: if ($banuser['customtitle'] == 0) {
$dotitle = ", usertitle='".addslashes($bangroup['title'])."'";
} else {
$dotitle = '';
}Because, in my opinion, why should a member who got or has given himself a custom user title, not get the title 'Banned' after being banned? It would be better to set (automatically) customtitle=0 for all banned users.
Mystics