Webmaster (Admin)
Administrator
Berichten: 194
|
|
Re:Unable to create username with dot extension 7 maanden, 3 weken geleden
|
Karma: 1
|
Well in fact you cant add a username with a point in it. If you want to do this you can change the code.
Open this file in your editor:
components/com_adduserfrontend/views/adduserfrontend/tmpl/default.php
Do a search for:
function clean_now($text)
A little bit underneath this code you can see these 2 lines of code:
| Code: |
$code_entities_match = array(' ','--','"','!','@','#','$','%','^','&','*','(',')','_','+','{','}','|',':','"','<','>','?','[',']','\\',';',"'",',','/','*','+','~','`','=');
$code_entities_replace = array('-','-','','','','','','','','','','','','','','','','','','','','','','','');
|
This is the way the username is cleaned. Now replace those 2 lines with this ones:
| Code: |
$code_entities_match = array(' ','--','"','!','@','#','$','%','^','&','*','(',')','_','+','{','}','|',':','"','<','>','?','[',']','\\',';',"'",',','/','*','+','~','`','=');
$code_entities_replace = array('-','-','','','','','','','','','','','','','','','','','','','','','','','');
|
Now you are ready!
|
|