PDA

View Full Version : Moderator Control Panel Ban Feature


hurrican
05-04-2004, 03:09 PM
No Help comes from the other forum, maybe here. lol.
Hi,
My Moderator's are not able to "BAN" anyone who is in my "Registered (Over 1500 Posts)" usergroup, that one I added myself, and is not a board default. All Moderators do have "Can Ban Member" in their profile, and they can ban "Registered (Under 1500 Posts)" Members no problems. When attempting to ban a user in the under 1500 group, they receive "You may not ban someone who is not a normal registered user!" What do I need to do to get this resolved? I did some testing myself, and there is groups called "Banned by Moderators" and "Banned Users".

mod/user.php has the following by default:


if ($banuser['usergroupid']!=2 or $ismod) {
echo "<p>You may not ban someone who is not a normal registered user!</p>";
} else {


so, I edited the two instances of the same exact code as follows:

if ($banuser['usergroupid']!=2 or $banuser['usergroupid']!=11 or $ismod) {
echo "<p>You may not ban someone who is not a normal registered user!</p>";
} else {


But I still receive the error "You may not ban someone who is not a normal registered user!"

Any help would be greatly appreciated!

hurrican
05-05-2004, 11:18 PM
Nobody has the answer to this?? :(