By Philippe on Thursday, 07 June 2018
Posted in Technical Issues
Likes 0
Views 562
Votes 0
Hello,

I noticed when "Use Email as Username" is enable in EasySocial settings.
When a new user receive his registration mail, it's written :
"Hi email@gmail.com"

Instead of his first name.

Thank you
Philippe
Hi there,

Currently, that how it behave as it will always respect "Use Email as Username" settings. Thanks for your understanding.
·
Friday, 08 June 2018 10:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok thank you.
I've made a customization file.

One question.
In /components/com_easysocial/themes/wireframe/emails/registration/verify.php
I replace this :

<?php echo JText::sprintf('COM_ES_EMAILS_HI_USER', $username); ?>
to this :

<?php echo JText::sprintf('COM_ES_EMAILS_HI_USER', $name); ?>

What is the code to display only the first name ?

Philippe
·
Friday, 08 June 2018 17:39
·
0 Likes
·
0 Votes
·
0 Comments
·
You may use the variable $firstName , $middleName or $lastName
·
Saturday, 09 June 2018 17:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you !
·
Monday, 11 June 2018 18:18
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding
·
Monday, 11 June 2018 18:30
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post