Joomla 2.5 Registration form - Joomla! Forum - community, help and support


so had idea registration form stop usernames being same email address

example :

code: select all

username : example@example.co
email : example@example.co



to able prevent users having entered same details.

so take nobody has idea on how came following code not work. :(

\components\com_users\controllers\registration.php

code: select all

$username = $user->get('username');
$email = $user->get('email');
if ($username == $email)
{
   jerror::raisewarning('','the username , email match.');
   $this->register();
   return false;
}





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support