Your not understanding on the username thing. He didn't add the "-" in, it did it automatically. Example if I register as Just4chat then thats what should be in both the Name and Username field but it has done it with two users that have signed up. The name and username are different which doesn't allow them to logon after sign up.
Ah ok
Yes, the username is generated by the system from name secondname and lastname fields, because it is not specified it (it is disabled), it will be used also for URL.
This is not a bug, this is an expected behavior.
And how do I change the email that is sent to users to activate. It gives email as username to login with and we want them to use their username not email to login with.
You need to enable username in parameter "Login Type" from Easy Profile options.
Now I understand your purpose: I think you want to have only one field for username and name, I'm sorry but Easy Profile extends Joomla user management (not replace) and Joomla require username and name. There are some workaround to make this:
- In Easy Profile options set "Login Type" to "Username" or "Username or Email"
- In firstname field set a default value like "default" (see screenshot)
- Hide firstname with a CSS like this:
.firstname-group{display:none;}
- Assign firstname equal to username by developing a simple plugin based on our skeleton plugin:
- - - Download, Install and Enable Skeleton Plugin (you will find it at
http://docs.easy-profile.com/index.php/article/triggers)
- - - Open file /plugins/jsn/skeleton/skeleton.php
- - - remove samples functions: triggerFieldAvatarUpdate, triggerProfileUpdate
- - - add function like this:
public function triggerProfileUpdate($user, &$data, $changed, $isNew)
{
$data['firstname']=$data['username']; // Easy Profile firstname
$db=JFactory->getDbo();
$query='UPDATE #__users SET name=' . $db->quote( $data['username'] ) . ' WHERE id=' . $user->id;
$db->setQuery( $query )->execute(); // Joomla name
}
docs about our triggers at
http://docs.easy-profile.com/index.php/article/triggers
NOTE: This code is not tested and not supported, this is only for example purpose. You need to have a minimum of PHP and Joomla Dev knowledges