CUSTOMIZATION - How To Enable Extra Characters In Username


Subject: CUSTOMIZATION - How To Enable Extra Characters In Username
OPEN includes/functions_validate.php

FIND
Code: [Download] [Hide]
  1. if ( !preg_match("/^[a-z0-9&-_ ]+$/i", $username) ) 


REPLACE WITH
Quote:
if ( !preg_match("/^[a-z0-9&-_ Add here your new permitted charachters]+$/i", $username) )


OPEN language/lang_english/lang_main.php

FIND
Code: [Download] [Hide]
  1. $lang['Forbidden_characters'] = 'Allowed characters for usernames are a-z, 0-9, -, _ and spaces.'; 


REPLACE WITH
Quote:
$lang['Forbidden_characters'] = 'Allowed characters for usernames are a-z, 0-9, -, _ Add here your new permitted charachters and spaces.';


Bye.

Subject: Re: [IP] How To Add New Charachters In Username
Thanks fracs.

Moved to Docs. :wink:

Subject: Re: [IP] How To Add New Charachters In Username
woow!! tahnks .. :mrgreen:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0794s (PHP: 21% SQL: 79%)
SQL queries: 11 - Debug Off - GZIP Enabled