Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Email footer showing wrong name and email address

11 years 3 months ago
Licenses:
JomSocial Expired

ISSUE SUMMARY:
When inviting people to an event or group by email, the name and email address of a seemingly random user is included in the footer in this text:
"This email was sent to Wrong Name (This email address is being protected from spambots. You need JavaScript enabled to view it.)"

STEPS TO REPLICATE:
1 Create event or group
2 Send email invite to join
3 Check name and email address in footer
4
5
RESULT Incorrect name & email address
EXPECTED RESULT
BROWSER

11 years 3 months ago
Licenses:

Hi James,

its a bug. please wait for the fix.

Regards

11 years 2 months ago
Licenses:

Hi,

here the fix. make sure you are using jomsocial 4.0.9
edit /components/com_community/libraries/mailq.php line 93, find this code

$tmpl->set('name', $user->getDisplayName());
changing it to
$tmpl->set('name', ($userid) ? $user->getDisplayName() : JText::_('COM_COMMUNITY_ACTIVITIES_GUEST'));

line 96, find this code
$tmpl->set('unsubscribeLink', CRoute::getExternalURL('index.php?option=com_community&view=profile&task=preferences#email'), false);
changing it to
$tmpl->set('unsubscribeLink', CRoute::getExternalURL('index.php?option=com_community&view=profile&task=prefe'), false);

edit components/com_community/templates/jomsocial/layouts/email.html.php, line 42, find this code
echo JText::sprintf('COM_COMMUNITY_EMAIL_FOOTER_TEXT', $name, $email,$sitename, $unsubscribeLink);
changing it to
echo JText::sprintf('COM_COMMUNITY_EMAIL_FOOTER_TEXT', $name, $recepientemail, $sitename, $unsubscribeLink);

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW