vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Restrict usernames to alphanumeric and underscore (https://vborg.vbsupport.ru/showthread.php?t=106877)

the Sandman 02-01-2006 03:53 PM

How does this interact with the default User Registration Options > Illegal User Names settings? I have some names and symbols in there already. Should I just leave them there? Remove the symbols and leave the words?

Reynaldovb 02-01-2006 04:02 PM

Quote:

Originally Posted by the Sandman
How does this interact with the default User Registration Options > Illegal User Names settings? I have some names and symbols in there already. Should I just leave them there? Remove the symbols and leave the words?

As far as I know, that option is to prevent users from registering certain names, like "support", "password", "system" etc etc

This mod goes beyond that. You can still enter names on that vB setting, but the mod will prevent people from using any symbols that you hadnt explicity allowed (through the mod options).

the Sandman 02-01-2006 04:26 PM

Quote:

Originally Posted by Reynaldovb
As far as I know, that option is to prevent users from registering certain names, like "support", "password", "system" etc etc

This mod goes beyond that. You can still enter names on that vB setting, but the mod will prevent people from using any symbols that you hadnt explicity allowed (through the mod options).

It works for symbols as well - you just enter them one at a time with a space between them. There are two problems with using the default system for symbols though - you have to list them all, and if the user tries to register using one of them they don't get a message telling them why - they think the username is taken. So your solution is definitely better. I was just wondering how the two systems interact - which is checked first, yours or the default?

BTW, here's what I currently have in my default illegal username field:
Code:

admin moderator ' ! @ # $ % ^ &* ( ) + | - = \ { [ } } : ; ' " < , > ? / ~ ` ' www .com
I suppose I should remove all the symbols and leave the words?

Reynaldovb 02-01-2006 04:34 PM

I have no idea, which one goes first. It would probably be the best idea to delete the symbols and leave just names there.

the Sandman 02-01-2006 04:41 PM

Quote:

Originally Posted by Reynaldovb
I have no idea, which one goes first. It would probably be the best idea to delete the symbols and leave just names there.

I did a test before removing the symbols from my default illegal user name field - the default system comes first FWIW.

Thanks! Great hack!

Tk1 02-01-2006 06:29 PM

Thanks alot Reynaldovb!
That was pretty quick of you to come up with the port! :D

Very Happy!!

XFSImperial 02-02-2006 01:55 AM

Thanks, I've been wanting something like this to block out all the annoying symbols people manage to find.

*installs*

sportsoutlaw 02-02-2006 12:39 PM

Does this plugin allow you to use 1 underscore and just prevent the use of multiple underscores?

Reynaldovb 02-02-2006 03:36 PM

Quote:

Originally Posted by sportsoutlaw
Does this plugin allow you to use 1 underscore and just prevent the use of multiple underscores?

Hmmm. not really, people can use the allowed chars multiple times. I guess that is an idea for a next version ;-)

By the way, did you mean multiple underscores like this:
my_nick_name

or like this:

my___nickname

moonclamp 02-02-2006 04:38 PM

What happens to users who already have illegal characters? Will they still be able to login or update their info?


All times are GMT. The time now is 05:39 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.01160 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete