vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to Disable Special Characters on UserName Registration (https://vborg.vbsupport.ru/showthread.php?t=163565)

GhoHan 11-25-2007 10:25 AM

How to Disable Special Characters on UserName Registration
 
Hi,

I found difficulties to find mod/hack on disabling UserName in Special Characters during registration.

We wish for the UserName only in A-Z, space and 0-9, no ascii letters, etc.

So far, I found 1 thread: https://vborg.vbsupport.ru/showt...900#post736900

But that one is for version 3.0.7

We are using 3.6.8 Level Patch 2 for our forum.

I wonder if anyone can help me to direct me to the correct one if there is any.

Thanks in advance.

Opserty 11-25-2007 10:33 AM

Does the Illegal Usernames Feature not do what you require?

AdminCP > vBulletin Options > vBulletin Options > User Registration Options > Illegal User Names

GhoHan 11-25-2007 10:40 AM

Quote:

Originally Posted by Opserty (Post 1389098)
Does the Illegal Usernames Feature not do what you require?

AdminCP > vBulletin Options > vBulletin Options > User Registration Options > Illegal User Names

Yes it helps, but there are a lot of ascii characters though. I am looking for some sort for hack that will disable the lot.

Example of the characters, is if we use Microsoft Word, and Insert Symbols. there are hundreds of those characters.

This is quite difficult for our side to do.

Just for an example: I have 1 user name: adinumo and I found he has 3 other username, which is read the same but they are all ascii codes.

:)

Opserty 11-25-2007 10:49 AM

Look at the option underneath that. (Username Regular Expression) Click on the Help icon and it gives you info about what to put in the box.

I'm very basic in my knowledge of REGEX but a quick guess would be: ^[A-Za-z0-9 ]+$ would allow only alphanumeric characters.

GhoHan 11-25-2007 11:04 AM

Quote:

Originally Posted by Opserty (Post 1389105)
Look at the option underneath that. (Username Regular Expression) Click on the Help icon and it gives you info about what to put in the box.

I'm very basic in my knowledge of REGEX but a quick guess would be: ^[A-Za-z0-9 ]+$ would allow only alphanumeric characters.

hm, seems I miss a simple thing.

i clicked on the (PCRE) instead of the help buttons.

yes, that will be perfect.

thanks for the direction Opserty. (ThumbUp & Shakehand)

:)

Marco van Herwaarden 11-26-2007 04:49 AM

Hmm isn't this exactly what i already told you in PM before you started this thread?

GhoHan 11-29-2007 04:09 AM

Hi Marco, I am sorry, I am pretty new to VB and thus i must learn a lot about the terms.
it seems simple, but for my side, i am scared to do anything that I am not sure.
again, my sincere apology for not exactly understanding it in first place. :)


All times are GMT. The time now is 08:21 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.01138 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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