#1
|
||||
|
||||
Accounts
Alright, quick question;
Is there a way to limit the characters on a the account creation in the Mysidia script? Because someone on our website made a username with a semi-colon in it and it looks like it's interfering with the script. When the user's name comes up in a friend request box or something like that, their name appears blank! As if there is nothing there. So is there a way to fix this, or a way to limit what characters users are able to use when creating an account? |
#2
|
||||
|
||||
It is not difficult to fix. I dont wish to touch the UserValidator class though since its way too messy and likely to be replaced in future. For now, just go to register.php file and find this line:
PHP Code:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#3
|
||||
|
||||
Thanks Hall of Famer. Much appreciated.
|
#4
|
||||
|
||||
No worries, glad it worked out. Thought it wouldnt be a long term solution to throw an exception like that, but for now its the easiest way to fix this thing up.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#5
|
||||
|
||||
Yeah, the only thing wrong with it is that it leads to a white page with a 'fatal error' instead of appearing on the website, but it's alright for now.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prevent people making multiple accounts | kisazeky | Addons/Mods Graveyard | 6 | 04-24-2009 01:44 AM |
What's New? |
What's Hot? |
What's Popular? |