No Special Characters in Usernames
Author Message
This is a fairly useless plugin.  It just disallows usernames which have characters other than a-z, 0-9 and _ in them (can allow more characters by changing the setting under "User Registration and Profile Options").
I recall someone requesting this, which is why I made it.

Otherwise, just posting it here to increase my post count.
(This post was last modified: 11-05-2015 06:42 PM by ZiNgA BuRgA.)
Find all posts by this user
Quote this message in a reply
Download: stduname.php (4.22 KB)
Plugin Version: 1.4
Last Updated: 11-05-2015, 06:42 PM

Downloads: 1,131
MyBB Compatibility: 1.2.x, 1.4.x, 1.6.x, 1.8.x
Uploader: ZiNgA BuRgA
RateU Offline
Administrator
*******
Posts: 2,327
Joined: Mar 2010
Post: #21
RE: No Special Characters in Usernames
Did you try to login using username: u1 (without spaces at the end of the username)?

05-05-2011 05:30 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #22
RE: No Special Characters in Usernames
I think MyBB auto trims the usernames.

My Blog
05-05-2011 07:04 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,327
Joined: Mar 2010
Post: #23
RE: No Special Characters in Usernames
Yes. That is what I mean, Yumi. Even though we add some spaces at the end of the username in the registration page, the spaces won't be added as characters of the username. So, in my personal opinion, it's not a bug of this plugin (it's only my personal opinion).

05-06-2011 05:44 AM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 476
Joined: May 2011
Post: #24
RE: No Special Characters in Usernames
"!@#$%^&*()_+~{}:?/.,;[]=-" íóúñáé will trow a php error because of the "$, %, ^, &, *, (, )"


Attached File(s) Thumbnail(s)
   

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
03-08-2012 01:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #25
RE: No Special Characters in Usernames
Thanks.
Can you tell me whether the above change fixes it?

My Blog
03-08-2012 10:09 PM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 476
Joined: May 2011
Post: #26
RE: No Special Characters in Usernames
(03-08-2012 10:09 PM)ZiNgA BuRgA Wrote:  Thanks.
Can you tell me whether the above change fixes it?

Yes, thansk for fixing. Care to say what did you canged? Or maybe reupload last version, as I deleted before posting I just noticed it was not in my backups folder -.-

Thanks again!

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
03-10-2012 12:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #27
RE: No Special Characters in Usernames
# needed to be escaped to \#

My Blog
(This post was last modified: 03-10-2012 04:29 PM by ZiNgA BuRgA.)
03-10-2012 04:29 PM
Find all posts by this user Quote this message in a reply
brk Offline
Junior Member
**
Posts: 1
Joined: May 2012
Post: #28
RE: No Special Characters in Usernames
This allows "ß". Is ıt normal?
09-09-2012 10:43 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #29
RE: No Special Characters in Usernames
(09-09-2012 10:43 PM)brk Wrote:  This allows "ß".
Does not do so here.
Some things to look at:
- your forum's character encoding should be UTF-8
- you haven't entered any "special" characters (ASCII > 127) in the 'Allowed Special Characters' text box

My Blog
09-10-2012 11:01 AM
Find all posts by this user Quote this message in a reply
Scois0n Offline
Junior Member
**
Posts: 5
Joined: Aug 2012
Post: #30
RE: No Special Characters in Usernames
Awesome! Thanks Zinga Burga!
09-12-2012 09:29 AM
Find all posts by this user Quote this message in a reply


Forum Jump: