MyBB Community Forums

Full Version: Set Disallowed usernames
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I set disallowed usernames, so that it matches the whole word only. like. If i put a disallowed username to be : "demo"

then anyone entering, Demo, dEmo, DEMO can't be register.

If a user enters Demo1 or 2demo then also he can't register.

if a user only enters " emo " then he can be register
This is close to what you want:

ACP >> Users & Groups >> Banning >> Disallowed Usernames

I think it will block any username with Demo in it, in anyway.
Add demo* in the option: ACP >> Users & Groups >> Banning >> Disallowed Usernames. This'll deny all types of usernames having demo in it. (Notice the * after the username match)
(2011-11-06, 03:28 PM)Yaldaram Wrote: [ -> ]Add demo* in the option: ACP >> Users & Groups >> Banning >> Disallowed Usernames. This'll deny all types of usernames having demo in it. (Notice the * after the username match)

It didn't work,
I add demo*
and then try following usernames

demo
ademo
demob
cdemo2
1democs

it only stops the first word i.e. demo .
^

Try:
*demo*

That will even stop: sodifsdoifjsofjsdfisfojsdofjsofjsdojfdemosdifsoifjsofdjidjfsod
(2011-11-27, 03:47 PM)TheGarfield Wrote: [ -> ]^

Try:
*demo*

That will even stop: sodifsdoifjsofjsdfisfojsdofjsofjsdojfdemosdifsoifjsofdjidjfsod

Have you tried it? last time I did this, it won't work