UBB.Dev
Posted By: Myke Dealing with troublesome users? - 08/10/2005 6:21 AM
Sometimes a ban just isn't enough. Users, after being banned, are still able to edit/change their signature and profile. On more than one occasion now I've had banned users resorting to filling their signature with profanity and changing their avatar to some offensive imagery.

Is there any way to ban a user such that they aren't able to modify such details, especially those that can have an immediate effect on the forum?

Before anyone suggests an IP ban, this particular user has gone through at least 20 IPs in the past month. I don't want to go there.

My final resort is to delete this user, but leave his posts intact as an anonymous username as kind of a deterrant/warning. But doing this means he can register again with the same email address (and the cycle continues). One could argue that he could create an alternate email address anyway, but that would require some effort on his part and I'm counting on him being lazier than me

So before I delete this user I would like to know if there's a way to prevent a banned user from modifying their profile?

Any other suggestions on how to deal with troublesome users are more than welcomed.
Posted By: AllenAyres Re: Dealing with troublesome users? - 08/10/2005 5:00 PM
I usually require email verification on registration and turn on registration moderation for a while - it stops most eejits from coming back if they know they can't slip past you.

Disallowing profile access for banned members woud be a good mod tho, ubb.classic has had something similar for quite a while now.
Posted By: AKD96 Re: Dealing with troublesome users? - 08/11/2005 9:58 PM
It would be pretty easy to disallow profile access for banned members. Just as some pages check for groups and if they're admin or moderator, you could add a bit that checks to see if they're banned.

Try this in myhome.php... under:
Code
<br />$userob = new user;<br />

add:
Code
<br />$user = $userob -> authenticate();<br />$Banned = $user['U_Banned'];<br /><br />if ($Banned == '1'){<br />$html -> not_right ("Enter your error message here.");<br />}<br />


You can use the same method in any other page you wish to block banned users from accessing.
© UBB.Developers