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,855
MyBB Compatibility: 1.2.x, 1.4.x, 1.6.x, 1.8.x
Uploader: ZiNgA BuRgA
FBI Offline
Junior Member
**
Posts: 19
Joined: Apr 2010
Post: #2
RE: No Special Characters in Usernames
nice idea Smile
and if prevent from using "space" character?

Brand New Portal from MyBB Indonesia  to get local Bahasa (language) support.
My Unique Plugin here Smile
04-25-2010 12:18 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #3
RE: No Special Characters in Usernames
(04-25-2010 12:18 PM)FBI Wrote:  nice idea Smile
and if prevent from using "space" character?
Yes, it prevents using the space character.

My Blog
04-25-2010 03:56 PM
Find all posts by this user Quote this message in a reply
Imran Offline
Member
***
Posts: 204
Joined: Apr 2010
Post: #4
RE: No Special Characters in Usernames
Well done zinga. I love this

[Image: logo.png]

[Image: twitter.png]
04-26-2010 03:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Technoman Offline
Forum Idiot
Posts: 108
Joined: Jun 2010
Post: #5
RE: No Special Characters in Usernames
John Smith         will not be accepted is this correct?
06-06-2010 07:24 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #6
RE: No Special Characters in Usernames
Yes, that is correct.

My Blog
06-06-2010 07:42 PM
Find all posts by this user Quote this message in a reply
Firefox Wins Offline
Member
***
Posts: 164
Joined: Mar 2008
Post: #7
RE: No Special Characters in Usernames
(03-14-2010 10:43 AM)ZiNgA BuRgA Wrote:  This is a fairly useless plugin. ....

Not useless / Will help some people a lot.  Smile

If you ever find the time, any chance of getting it to "integrate" better w/ MyBB's ajax username check?
i.e. MyBB still gives a green box to John Smith, then your useful plugin catches it server side, and gives a reject notice.  Rules

Since the ajax 'stuff' is already in place what would be needed, modification to the function which checks the username? --> Probably no plugin hook there?
So...
  • Can it even be done with a plugin as opposed to core mod?
Thank you & happy holiday.
07-03-2010 03:53 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #8
RE: No Special Characters in Usernames
Okay, fair enough, check first post for updated version:
- checks username in AJAX registration
- added setting under User Registration and Profile Options, where you can enter in additional characters you want to allow

To upgrade, deactivate and reactivate the plugin.

My Blog
07-03-2010 07:44 PM
Find all posts by this user Quote this message in a reply
Firefox Wins Offline
Member
***
Posts: 164
Joined: Mar 2008
Post: #9
RE: No Special Characters in Usernames
^^^
Wow, told you it wasn't useless, thanks ZB/Yumi!

edit: The download url is messed up, at this time:

Code:
The requested URL /\"xthreads_attach.php/25_1278150200_f7947eaf/efeb79e5437dbd890b2f51a3195ff8cb/stduname.php\" was not found on this server.

(This post was last modified: 07-04-2010 09:39 AM by Firefox Wins.)
07-04-2010 09:35 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #10
RE: No Special Characters in Usernames
Sorry about that, should be fixed now.

Also, thanks to RateU for finding a bug with this version (should be fixed now).  If you've downloaded this plugin before this post, please download again, thanks.

My Blog
07-04-2010 10:29 AM
Find all posts by this user Quote this message in a reply


Forum Jump: