Hi..
Most of the Authors in my website always wants to use Unicode characters to create their Pen Name.
I am trying to create a Pen Name in Unicode format but I always get error saying "Sorry! Usernames can only contain letters , numbers, underscores, hyphens, or spaces, and must be between 3 and 20 characters long".
How do you I create an Unicode Pen Name?
Experts kindly advise me.
Thanks
Chikkoo
I haven't done this so...Test it and if it doesn't work... change it back and wait for an expert.
I believe you have to go into phpmyadmin; select your database that is running efiction
Click on operations and change the Collation at the bottom of the screen from latin1_swedish_ci to utf8_unicode_ci (I think).
It may be worth a try. I'm not sure if there is any lines in the efiction script that mentions collation or charactersets.
******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3
You need to edit user/editbio.php and remove the following line:
else if($penname && !preg_match("!^[a-z0-9-_ ]{3,30}$!i", $penname)) $output .= "<div style='text-align: center;'>"._BADUSERNAME."</div>";
However, I would STRONGLY encourage you to tell them too bad. The reason usernames are limited as they are in the first place is to prevent hacking and other not-so-nice behavior from users. You're also limited to 30 characters for the username.
