Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Forbid the use of some symbols in USERNAME Details »
Forbid the use of some symbols in USERNAME
Mod Version: 1.00, by ghroob (Member) ghroob is offline
Developer Last Online: Aug 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.0 RC3 Rating: (0 vote - 0 average) Installs: 12
Released: 26 Sep 2005 Last Update: Never Downloads: 32
Not Supported  

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..

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 26 Sep 2005, 09:00
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
You can just add whatever characters you don't want them to use in the vBulletin options.
Reply With Quote
  #3  
Old 26 Sep 2005, 09:04
ghroob ghroob is offline
 
Join Date: Dec 2001
Originally Posted by Boofo
You can just add whatever characters you don't want them to use in the vBulletin options.
Ok.. u r right..

but my solution is the alternate if u just dont want to type all these symbols in your vbulletin options
Reply With Quote
  #4  
Old 26 Sep 2005, 09:25
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
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?)
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #5  
Old 26 Sep 2005, 09:30
ghroob ghroob is offline
 
Join Date: Dec 2001
[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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

then remove the number "32" and the comma following it from the array

Regards,
Reply With Quote
  #6  
Old 26 Sep 2005, 09:34
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by kall
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?)
That where I have it and you should be able to use the space code in there to not allow spaces too, I would think.
Reply With Quote
  #7  
Old 26 Sep 2005, 09:41
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
[QUOTE=ghroob]
Originally Posted by 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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

then remove the number "32" and the comma following it from the array

Regards,
ghroob, if you weren't just pixels representing text on my screen, I might just kiss you.

@Boofo: You too...if you mean   or can tell me.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #8  
Old 26 Sep 2005, 23:18
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Real name: Daniel
Where can we edit the symbols in vbulletin options?
Reply With Quote
  #9  
Old 27 Sep 2005, 16:57
ged's Avatar
ged ged is offline
 
Join Date: Feb 2005
Real name: Domates
This is a wonderful hack, thank you very much!
__________________
http://www.dipsizkuyu.net - Turkey's fountain of knowledge.
Reply With Quote
  #10  
Old 28 Sep 2005, 06:07
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Real name: Call me X
Originally Posted by Danieldude
Where can we edit the symbols in vbulletin options?
Find the settings group(in vb otions) for: User Registration Options
Then find the setting for: Illegal User Names

Then just enter _ or * or any other charechter in there.
Reply With Quote
  #11  
Old 29 Sep 2005, 09:16
ghroob ghroob is offline
 
Join Date: Dec 2001
thanx all for ur comments,,
and for any suggestions or updates im here
Reply With Quote
  #12  
Old 11 Oct 2005, 13:38
-=Sniper=-'s Avatar
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
excellent, thanks
Reply With Quote
  #13  
Old 02 Nov 2005, 20:32
cpzhao cpzhao is offline
 
Join Date: Aug 2005
Thank you! this is exactly what I need. I would remove the space by default if I were you, though
__________________
www.cpzhao.com
Reply With Quote
  #14  
Old 18 Nov 2005, 09:05
gldtn gldtn is offline
 
Join Date: Apr 2003
Originally Posted by cpzhao
Thank you! this is exactly what I need. I would remove the space by default if I were you, though
does this work with vb3.5.1? I cannot find Phrase type Error Messages

Thanks in advance
Reply With Quote
  #15  
Old 22 Nov 2005, 05:44
Acido Acido is offline
 
Join Date: Apr 2003
Originally Posted by gldtn
does this work with vb3.5.1? I cannot find Phrase type Error Messages

Thanks in advance
Search Front-End Errors Messages

------------------------------

I'm using this hack. But it show a error message for each character wrong in the nickname. If user enter 3 symbols, then he will see this:

Username may only contain Letters, Numbers and Space
Username may only contain Letters, Numbers and Space
Username may only contain Letters, Numbers and Space

Is it a bug?
Ideas to solve it?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:54.

Layout Options | Width: Wide Color: