www.clan-themes.co.uk :: View topic - RESOLVED members username cant contain spaces or charectors?
Welcome To Clan Themes
As the board grows please remember the Search Option and we hope you find our community useful.
We also monitor Private Messages to stop members from abusing our sites system. If you are asking for assistance please provide your site link and nuke version, Thanks.
Joined: Oct 02, 2008
Last Visit: 13 Nov 2008
Posts: 42 Points: 615
RESOLVED members username cant contain spaces or charectors?Posted:
Thu Oct 09, 2008 6:31 pm
Hi, all i have been searching on how i can allow new users to have charectors like
space " ",
Pipe "|"
comma ","
{ } or [ ] what ever theyre called ;)
I have found scripts to edit in modules/your_account/index.php like
Code:
if (isset($username) && (ereg("[^A-Za-z0-9\s]",$username))) {
but none of these work in the sense, a new user can create an account using for example john doe,
it gets accepted and receive an email back with activation link, when you click the link it says no user in in the database tables with that name?
anyone have any ideas please?
thanks
Last edited by THENemesis on Sat Oct 11, 2008 1:36 pm; edited 1 time in total
DreAdeDcoRpSE
Reputation: 737 votes: 5
Local time: 12:20 PM Location: Back of your Mind
Status: Offline
1.13 posts per day Medals: 2 (View more...)
Forums Moderator Joined: Sep 22, 2007
Last Visit: 22 Nov 2008
Posts: 482 Points: 11374
Re: Nuke 8.1 members username cant contain spaces or charectPosted:
Fri Oct 10, 2008 1:13 am
Joined: Oct 02, 2008
Last Visit: 13 Nov 2008
Posts: 42 Points: 615
Nuke 8.1 members username cant contain spaces or charectors?Posted:
Sat Oct 11, 2008 11:00 am
Hi, ok i tried the file you sent but i got "illegal username" for every name i tried to register with, even normal/basic ones like "john" or "steve" without spaces or other charecters.
Joined: Oct 02, 2008
Last Visit: 13 Nov 2008
Posts: 42 Points: 615
Nuke 8.1 members username cant contain spaces or charectors?Posted:
Sat Oct 11, 2008 11:22 am
hi, ok uploaded that index.php, and am allowed to register with "john doe" (using a space),
i receive email, click activation link,then when i log in with "john doe" i get error
"There is no user in the database with this information.
You can register a new user from here."
Now, if i go into my phpmyadmin dbadmin tables, i can see the user "john doe" in nuke_users_temp but not in the "nuke_users" table
??
Last edited by THENemesis on Sat Oct 11, 2008 11:26 am; edited 1 time in total