The Arcive of vBulletin Modifications Site. |
|
Forbid the use of some symbols in USERNAME Details »»
|
|||||||||||||||||||||||||
Hi all...
It came to my mind to put a code to forbid the use of some characters & symbols in members' usernames when they first register at my forums.. Sometimes usage of these characters & symbols leads to usernames like: .:*#juggler#*:. and so.. this code simply allow users to just register with Letters, Numbers and Space.. share your opinion ![]() Salam.. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
You can just add whatever characters you don't want them to use in the vBulletin options.
|
|
#3
|
|||
|
|||
|
Quote:
but my solution is the alternate if u just dont want to type all these symbols in your vbulletin options
|
|
#4
|
||||
|
||||
|
What would be nice is the ability to deny spaces in usernames at reg.
(Boofo: where can we specify characters? Is it the place we specify names?) |
|
#5
|
|||
|
|||
|
[QUOTE=kall]What would be nice is the ability to deny spaces in usernames at reg.
QUOTE] you can remove whatever characters u want.. to deny the usage of SPACE do the following: open the plugin PHP Code, then search for this piece of code Code:
if(!in_array(ord($chars[$i]),Array(32,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,216,217,218,219,220,221,222,223,225,227,228,229,230,237))) ![]() Regards, |
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
[QUOTE=ghroob]
Quote:
@Boofo: You too...if you mean or can tell me.
|
|
#8
|
||||
|
||||
|
Where can we edit the symbols in vbulletin options?
|
|
#9
|
||||
|
||||
|
This is a wonderful hack, thank you very much!
|
|
#10
|
|||
|
|||
|
Quote:
Then find the setting for: Illegal User Names Then just enter _ or * or any other charechter in there. |
![]() |
|
|