Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Prevent shouting in usernames. Details »
Prevent shouting in usernames.
Mod Version: 1.1, by Jolten (Member) Jolten is offline
Developer Last Online: May 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.7 Rating: (1 vote - 5.00 average) Installs: 11
Released: 17 Mar 2005 Last Update: Never Downloads: 0
Not Supported Re-usable Code  

What's this do?
If you're like me you hate users who register with names like USERNAME. What this mini-hack does is transform all uppercase usernames upon registration to lowercase with an uppercase first letter. This "borrows" a function from the posting functions, therefore if you've got "prevent shouting" applied for posts it will also effect usernames. Preventing shouting in usernames. It will still allow all lowercase names or mixed case names to register properly.

Time to intall: less than 5 minutes
Queries: 0
Files to edit:1
Templates to edit: 0

Open register.php

find:

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


BELOW it add:

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

Save

upload

Your done!

This does not effect users already registered. It only prevents new registrations form shouting usernames.

There shouldn't be any support needed, but if there is, I'll handle it exclusively in this thread.


Version history
-------------------------------

v1.00 //initial release

v1.1 // updated to only prevent all uppercase usernames.

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 17 Mar 2005, 20:02
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
you don't need the ucwords function and the strtolower, ucwords should if i read correctly convert all but the first letter to lower, or make all but the first letter to lower.

also by installing this hack you make sure that every username starts with an Upper and the rest are Lower, that could be annoying for a user like me who has his whole username lower by choice.

what would be nice is if you could check if it was shouting then only convert the shouted usernames to lowercase.

oh well bar that, nice addition, it's always nice to see something new being released.
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #3  
Old 17 Mar 2005, 20:13
Jolten Jolten is offline
 
Join Date: Mar 2004
ucwords will not convert characters internally to lowercase so usernames would still appear as UsERnaMe. Therefor the strtolower is necessary.

I realize some users prefer an all lowercase username. That may be an addition to this hack. But right now, this prevents most odd case usernames.
Reply With Quote
  #4  
Old 17 Mar 2005, 21:03
Jolten Jolten is offline
 
Join Date: Mar 2004
Okay.. I've updated the hack. It will now only prevent all uppercase names if you have your vbOptions set to prevent shouting.
Reply With Quote
  #5  
Old 18 Mar 2005, 09:57
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Real name: sabe
Originally Posted by Jolten
ucwords will not convert characters internally to lowercase so usernames would still appear as UsERnaMe. Therefor the strtolower is necessary.

I realize some users prefer an all lowercase username. That may be an addition to this hack. But right now, this prevents most odd case usernames.
my bad

good luck with it
__________________
UNDER CONSTRUCTION: Confessionary Hack

Make me a Hack of The Month author: GRPS: Groups Commune
make my hacks, they'll make you famous

unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
Reply With Quote
  #6  
Old 19 Mar 2005, 01:43
Jolten Jolten is offline
 
Join Date: Mar 2004
gee. I guess no one wanted this at all
Reply With Quote
  #7  
Old 20 Mar 2005, 19:25
ResaleBroker's Avatar
ResaleBroker ResaleBroker is offline
 
Join Date: Aug 2004
Real name: Jeff Blackwell
That seemed to work great. Thank You!
Reply With Quote
  #8  
Old 22 Apr 2005, 06:07
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Installed! Thanks!
Reply With Quote
  #9  
Old 22 Apr 2005, 19:10
PIKenPIK PIKenPIK is offline
 
Join Date: Feb 2005
Thanks ... gettin' a Hangover from those members :tired:

** Clicks Install **
Reply With Quote
  #10  
Old 13 May 2005, 01:38
Jenta Jenta is offline
 
Join Date: Dec 2004
you know what i would like
make them go back and edit it...return an error

make them mend their riduculous names themselves
jeez i cant stand people that shout with their names
i even have it in big bold letters...do not use all caps!
but they still do

heh, found it
http://www.vbulletin.org/forum/showt...=495219#495219

Last edited by Jenta; 13 May 2005 at 03:05. Reason: found what i was looking for
Reply With Quote
  #11  
Old 10 Sep 2005, 22:25
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Anybody else want this for 3.5 as a plugin?? I sure would...
Reply With Quote
  #12  
Old 10 Jun 2006, 16:53
tanyeri24 tanyeri24 is offline
 
Join Date: Feb 2005
There a option to give cumstom characters lik if it's İ then convert to i etc..
Reply With Quote
  #13  
Old 10 Jun 2006, 16:55
tanyeri24 tanyeri24 is offline
 
Join Date: Feb 2005
is this hack also available for 3.5.x ?
Reply With Quote
  #14  
Old 12 Oct 2006, 17:27
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Does this work on 3.6.2?
__________________
...............................
Talk Jesus Forums: Christian Chat
games . chat . gallery . bible . videos
Reply With Quote
  #15  
Old 31 Mar 2008, 11:43
karabaja3's Avatar
karabaja3 karabaja3 is offline
 
Join Date: Jan 2008
this is not supported for 3.6.8.?
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 14:25.

Layout Options | Width: Wide Color: