vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Making specific usernames illegal? (https://vborg.vbsupport.ru/showthread.php?t=176060)

Kadence 04-13-2008 11:29 PM

Making specific usernames illegal?
 
User Registration Options->Illegal User Names (vB 3.6.8 RC2) says:
Quote:

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

Quote:

Originally Posted by R-D (Post 1490536)
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?
Quote:

Originally Posted by iogames (Post 1490556)
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?


All times are GMT. The time now is 11:58 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01015 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete