NickName

I would like to have spaces in the Nickname field and hebrew or arbic letter or sign  like:  - + * ^ @ # $ ( ) and on ...

How can I change it to allow users to put it in the Nickname field?

 

Thank

Quote · 1 Jun 2009

I have been looking into this for quite some time. I also want to do this. But the code was not written to easily allow this. I am still trying to find a way to code this so it works without breaking everything else.

But to this date, i don't believe anyone has come up with a solution that works yet.

https://www.deanbassett.com
Quote · 1 Jun 2009

it's possible 

Let's assume you want to allow the following symbols in username registration

!@#$%^&*

Step 1:
yoursite.com/admin/ Builders/ Fields Builder
Join Form then klick on NickName
You'll see Generl Advanced Messages Matching
Klick on Advanced
In
Check: ther is a code
return ( preg_match( '/^[a-zA-Z0-9_-]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) );
Change it to
return ( preg_match( '/^[a-z!@#$%^&*A-Z0-9_-]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) );
And Save

Step 2:
in your .htaccess file
finde code
RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L]
change it to
RewriteRule ^([A-Z!@#$%^&*a-z0-9_-]+)$ profile.php?ID=$1 [QSA,L]
And Save

That's it :-)

Quote · 1 Jun 2009

Thanks a lot

 

but i did not find the file htaccess in setp 2 you say.

couldyou tell where he's?

 

thanks lior

Quote · 1 Jun 2009

The .htaccess file is in your installation root folder.

If you still don't see it, you may need to turn on hidden files in your FTP client since files that begin
with a period are hidden.

HTH.

Quote · 1 Jun 2009

Thanks a lot it is working good but the hebrew and arabic letter still blocked, it is possible hebrew and arbic to?

 

 

Quote · 1 Jun 2009

it should work

i don't have any arabic letter on my keyboard

repeat step 1 & 2 for other symbols you wish to use

Quote · 1 Jun 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.