16-Oct-2013, 08:40 AM
This is the community forum. For a developer response use the Client Area.
16-Oct-2013, 09:22 AM
Seems it's not supporting all usernames.
The username I'm testing with is something like "K*RoCk-Star".
How can I fix the script to allow such usernames?
The username I'm testing with is something like "K*RoCk-Star".
How can I fix the script to allow such usernames?
16-Oct-2013, 09:48 AM
Fixed it myself.
I disabled the preg_matches that were scanning the usernames. Seems to be working fine.
It seems the preg_matches filtered a dash, but since I don't know regex I just disabled it completely.
I disabled the preg_matches that were scanning the usernames. Seems to be working fine.
It seems the preg_matches filtered a dash, but since I don't know regex I just disabled it completely.
19-Oct-2013, 09:07 PM
Hi,
The dash is a valid character. It was the * (asterisk) which was preventing the script from accepting the name as a value. If an invalid name is supplied then the script won't disable or hide the name field because the user won't have any way to fix the invalid characters so the script just ignores it. Anyway I'm glad you managed to get it fixed.
The dash is a valid character. It was the * (asterisk) which was preventing the script from accepting the name as a value. If an invalid name is supplied then the script won't disable or hide the name field because the user won't have any way to fix the invalid characters so the script just ignores it. Anyway I'm glad you managed to get it fixed.
« Next Oldest | Next Newest »
Possibly Related Threads…
Thread / Author
Replies
Views
Last Post
Users browsing this thread: 1 Guest(s)