I am having a hard time trying to figure out how this banlist work. There's a conflict some where (my humble opinion).
A user register with a provocative username. (zero tolerance for that) I didn't want to delete the name because the person can always re-register instead, I want to ban the username, IP address & email address. I go to the admin section of the forum to ban the person. Upon doing that, I check the member's list that person is still a member and that ding dong provocative name appears.
How can I ban everything without deleting the account? I'm afraid if I delete the account the person would re-register with the same username.
Note: I deactivated the person's account via the forum but that person can still login, I want to revoke all priviledges. This is the time for that Your Account Tweak (hint).
chatserv General
Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
Posted:
Mon Apr 07, 2003 5:14 am
Bob Marion has mentioned that the Your Account tweak version 3.0.0 is in the works, until then you can block the nickname by editing one line in modules/Your_Account/index.php, let's say i wanted to disallow the nickname "lamer", i would change:
Code:
if (eregi("^((root)|(adm)|(linux)|(webmaster)|(admin)|(god)|(administrator)|(administrador)|(nobody)|(anonymous)|(anonimo)|(anónimo)|(operator))$",$username)) $stop = "<center>"._NAMERESERVED."";
To:
Code:
if (eregi("^((lamer)|(root)|(adm)|(linux)|(webmaster)|(admin)|(god)|(administrator)|(administrador)|(nobody)|(anonymous)|(anonimo)|(anónimo)|(operator))$",$username)) $stop = "<center>"._NAMERESERVED."";
_________________ Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum