How to edit this code

regex is a very complex system..perhaps you can get a copy of "regexbuddy" and build it yourself...then theres a site "regxlib" who has many already written by the average Joe and then posted for n00b

I have video tutorials to help you mrpowless.com
Quote · 6 Mar 2010

i mean,

when someone join  my site,The username area can be  supported  chinese words .

Should be amended   =>admin panel=>builders=>Profile Fields =>NiCKname=>advanced=>check =>

return ( preg_match( '/^[a-zA-Z0-9_-]+$/', $arg0 ) and !file_exists( $dir['root'] . $arg0 ) );

i don't konw How To   Modifications

it's right?    please help me    thankyou verymuch !

Like this?:

Even the URL bar works:

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 6 Mar 2010

Try refreshing the page.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 6 Mar 2010

 

Try refreshing the page.

 

No picture

Quote · 6 Mar 2010

Try refreshing the page.

No picture

Hm, you must not be able to access ImageShack for some reason. Anyways, it explains that it all works fine.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 6 Mar 2010

Try refreshing the page.

No picture

Hm, you must not be able to access ImageShack for some reason. Anyways, it explains that it all works fine.

Maybe I can not access imageshack

Quote · 6 Mar 2010

oh mygod

Hm?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 6 Mar 2010

I just want the user registration, The username support Chinese characters

Quote · 6 Mar 2010

I just want the user registration, The username support Chinese characters

It can be done, you just need to modify that code you posted. I'm seeing how to do it without removing the whole thing (hey, quick, dirty fix).

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 6 Mar 2010

I just want the user registration, The username support Chinese characters

It can be done, you just need to modify that code you posted. I'm seeing how to do it without removing the whole thing (hey, quick, dirty fix).

return ( preg_match(/[^\x00-\xff]/g, "**") );

it's right ?

Quote · 6 Mar 2010

I just want the user registration, The username support Chinese characters

It can be done, you just need to modify that code you posted. I'm seeing how to do it without removing the whole thing (hey, quick, dirty fix).

return ( preg_match(/[^\x00-\xff]/g, "**") );

it's right ?

I can't get it to work with that code.

I'd try adding to the list of allowed characters, instead of just removing it.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 6 Mar 2010

我只是想用户注册,用户名 支持中文字符

这是可以做到,你只需要修改的代码发布。我看到怎么做,而不删除整个事情它(嘿,快,肮脏的修复)。

返回(preg_match(/ [^ \ x00 - \ xff] /克,"**"));

它是正确的?

我无法得到它的工作与该代码。

我尝试添加到允许的字符列表,而不是只删除它。

Could you tell me how to add the code to do ?

Quote · 6 Mar 2010

我只是想用户注册,用户名 支持中文字符

这是可以做到,你只需要修改的代码发布。我看到怎么做,而不删除整个事情它(嘿,快,肮脏的修复)。

返回(preg_match(/ [^ \ x00 - \ xff] /克,"**"));

它是正确的?

我无法得到它的工作与该代码。

我尝试添加到允许的字符列表,而不是只删除它。

Could you tell me how to add the code to do ?

Eh, just delete the entire code and it'll work. It's the only fix I can come-up with.

It'll allow any character, but it's the kind of sacrifice that you'd have to take, I suppose.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 6 Mar 2010

我只是想用户注册,用户名 支持中文字符

这是可以做到,你只需要修改的代码发布。我看到怎么做,而不删除整个事情它(嘿,快,肮脏的修复)。

返回(preg_match(/ [^ \ x00 - \ xff] /克,"**"));

它是正确的?

我无法得到它的工作与该代码。

我尝试添加到允许的字符列表,而不是只删除它。

Could you tell me how to add the code to do ?

Eh, just delete the entire code and it'll work. It's the only fix I can come-up with.

It'll allow any character, but it's the kind of sacrifice that you'd have to take, I suppose.

OK, thanks for your help verymuch

Quote · 6 Mar 2010
 
 
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.