Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

ÆØÅ in usernames ...

Asked Modified Viewed 2,267 times
P
ponas
P
ponas 10
SUPERADMIN & CREATOR:
www.lhslbandy.com
  • Member, joined since
  • Contributed 59 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions
asked
Member

Im having some problems changing my files allowing me to use letters Æ, Ø and Å in usernames.

This is what ive tried so far:
Changing line 39 in /includes/update_profile_include.php
if (preg_check("/^[-0-9A-Z_@\s]+$/i", $user_name)) {


to =>
if (preg_check("/^[-0-9A-ZÆØÅ_@\s]+$/i", $user_name)) {


and changing line 72 in register.php
if (!preg_match("/^[-0-9A-Z_@\s]+$/i", $username)) 


to =>
if (!preg_match("/^[-0-9A-ZÆØÅ_@\s]+$/i", $username)) 
0 replies
There are no post found.

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 0 posts
  • Votes 0 votes
  • Topic users 1 member

1 participant

P
P
ponas 10
SUPERADMIN & CREATOR:
www.lhslbandy.com
  • Member, joined since
  • Contributed 59 posts on the community forums.
  • Started 21 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet