PDA

View Full Version : Making specific usernames illegal?


Kadence
04-13-2008, 11:29 PM
User Registration Options->Illegal User Names (vB 3.6.8 RC2) says:
If any of the names here are included within the username, the user will told that there is an error. For example, if you make the name John illegal, the name Johnathan will also be disallowed.

Separate names by spaces.
Is there any way to ban a specific username via admincp (other than registering a dummy account)? I have some staff members who edit their name, but want old names reserved. But if I'm reserving 'name', I don't want to ban 'xnamex'.

And would there be any way to do this for names with spaces in them, e.g. 'User Name'?

R-D
04-14-2008, 05:00 PM
There's a similar thread on vb.com you may be interested in reading - http://www.vbulletin.com/forum/showthread.php?t=229546

iogames
04-14-2008, 05:28 PM
You can use the option for both...

AdminCP > vBulletin Options > User Registration Options >
Scroll down find:

Illegal User Names
Enter names in here that you do not want people to be able to register.

If any of the names here are included within the username, the user will told that there is an error. For example, if you make the name John illegal, the name Johnathan will also be disallowed.

Separate names by spaces.

Kadence
04-16-2008, 01:38 AM
There's a similar thread on vb.com you may be interested in reading - http://www.vbulletin.com/forum/showthread.php?t=229546
Thanks. But the regex there only accomplishes something similar to what the Illegal Username setting already does by default - ban anything that begins with a username (as opposed to contains it by default).

I wonder though - does anyone know for sure if the following would work? i.e. ban only 'Title', and not 'TitleMore' or 'MoreTitleMore': ^Title$

And would the following do the same for 'User Name': ^User Name$ or are spaces handled differently? Perhaps it needs to be ^User\sName$? Basically, can you enter multiple regular expressions and separate with spaces, or only 1 regular expression?

And is the regex by default case-sensitive, or case-insensitive?
You can use the option for both...

AdminCP > vBulletin Options > User Registration Options >
Scroll down find:

Illegal User Names
Enter names in here that you do not want people to be able to register.

If any of the names here are included within the username, the user will told that there is an error. For example, if you make the name John illegal, the name Johnathan will also be disallowed.

Separate names by spaces.
But that's exactly what I don't want :) I only want to ban the specific username, not everything.

Also, you posted what I had already quoted in my first post...? Or did I miss something?