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
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.
.firstname-group{display:none;}
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
}
Now it wont let us sign in with username. Have to use email. That never happened before.I think you use your nickname instead real username. Username should works always.
public function triggerProfileUpdate($user, &$data, $changed, $isNew)
{
$db=JFactory->getDbo();
$query='UPDATE #__users SET username=' . $db->quote( $data['firstname'] ) . ' WHERE id=' . $user->id;
$db->setQuery( $query )->execute(); // Joomla username
}
Look at the last user who just signed upThis is normal, user can specify Nickname (fistname,name) and Username, so he can use 2 differents values.
How can I make it only the nickname is visible and not the username or vice versa?I have explained this in this topic at https://www.easy-profile.com/support/no-activation-email-and-its-applying-different-username.html#reply-14132 and vice-versa at https://www.easy-profile.com/support/no-activation-email-and-its-applying-different-username.html#reply-14137
Where do I add the code in?
Open file /plugins/jsn/skeleton/skeleton.php
jQuery(document).ready(function($){
$('#jform_username').change(function(){
var name='';
if($('#jform_username').length && $('#jform_username').val()!='') name=name+$('#jform_username').val();
$('#jform_name').val(name);
});
});
#member-registration .chzn-container a,
#member-profile .chzn-container a{color:#444 !important;text-shadow:none !important;}
Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.
Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.
Before you post: read the documentation and search the forums for an answer to your question.
When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).
Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.
Language: only English
Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.
Our site uses non fat, delicious cookies which help us improve your user experience. You can read more about it in our Legal page.