ghanja.be
NederlandsEnglish
Contact Us

Ghanja
Welkom, Gast
Alstublieft Inloggen of Registreren.    Wachtwoord verloren?
Re:Unable to create username with dot extension (1 bezoeker) (1) Gast
Ga naar onderkant Reageer Favoriet: 0
TOPIC: Re:Unable to create username with dot extension
#287
adyjob (Gebruiker)
Fresh Boarder
Berichten: 1
graphgraph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
Unable to create username with dot extension 7 maanden, 3 weken geleden Karma: 0  
Add user from frontend is ok and no problem at all. Except I can't add a new username with dot.

Example : alex.marketing

I will only get "alexmarketing".

It is possible to create new user with a dot on it?
 
  De Administrator heeft publieke schrijf toegang geblokkeerd.
#288
Webmaster (Admin)
Administrator
Berichten: 194
graph
Gebruiker offline Klik hier om het gebruikersprofiel van deze gebruiker te zien
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(' ','--','&quot;','!','@','#','$','%','^','&','*','(',')','_','+','{','}','|',':','"','<','>','?','[',']','\\',';',"'",',','/','*','+','~','`','='); $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(' ','--','&quot;','!','@','#','$','%','^','&','*','(',')','_','+','{','}','|',':','"','<','>','?','[',']','\\',';',"'",',','/','*','+','~','`','='); $code_entities_replace = array('-','-','','','','','','','','','','','','','','','','','','','','','','','');
Now you are ready!
 
 
Laatste Wijziging: 03/10/2011 18:06 Door Webmaster.
  De Administrator heeft publieke schrijf toegang geblokkeerd.
Ga naar bovenkant Reageer
Powered by FireBoardbezorg de laatste berichten direct op de desktop
Ghanja Alternatief - Community voor een open wereld!
   
Copyright © 2005 - 2012 Ghanja.be - Sitemap