If the user is not logged into your site, then the only information we'd have is Guest. Facebook does not just give that information out over the API if the user does not accept your application and any associated permissions for your site. If the user is logged in (via their Joomla user or social network credentials), then the notification email should be using the Joomla username or real name (don't recall which off the top of my head).Change "A new Facebook comment was posted by Guest" to
"A new Facebook comment was posted by Fred Bloggs" (i.e. the actual name of the person)
This will require a code change. I checked this on my test site, but you will also need to test it on your site and let us know if you have any issues.Also Change "EmailsinmyInboxaremissingOutlookTipsEssexHertfordshireBishopsStortfordandHarlowEasykey" to
"Emails in my Inbox are missing | Outlook Tips | Essex, Hertfordshire, Bishop's Stortford and Harlow | Easykey"
comment: {
create: function (response)
{
var url = 'option=com_jfbconnect&task=social.comment&type=create&href=' + encodeURIComponent(escape(response.href)) + '&commentID=' + response.commentID + '&title=' + document.title;
jfbc.util.ajax(url, null);
},
remove: function (response)
{
var url = 'option=com_jfbconnect&task=social.comment&type=remove&href=' + encodeURIComponent(escape(response.href)) + '&commentID=' + response.commentID + '&title=' + document.title;
jfbc.util.ajax(url, null);
}
},
like: {
create: function (response)
{
var url = 'option=com_jfbconnect&task=social.share&provider=facebook&share=like&type=create&href=' + encodeURIComponent(escape(response)) + '&title=' + document.title;
jfbc.util.ajax(url, null);
},
remove: function (response)
{
var url = 'option=com_jfbconnect&task=social.share&provider=facebook&share=like&type=remove&href=' + encodeURIComponent(escape(response)) + '&title=' + document.title;
jfbc.util.ajax(url, null);
}
}comment: {
create: function (response)
{
var title = window.btoa(document.title);
var url = 'option=com_jfbconnect&task=social.comment&type=create&href=' + encodeURIComponent(escape(response.href)) + '&commentID=' + response.commentID + '&title=' + title;
jfbc.util.ajax(url, null);
},
remove: function (response)
{
var title = window.btoa(document.title);
var url = 'option=com_jfbconnect&task=social.comment&type=remove&href=' + encodeURIComponent(escape(response.href)) + '&commentID=' + response.commentID + '&title=' + title;
jfbc.util.ajax(url, null);
}
},
like: {
create: function (response)
{
var title = window.btoa(document.title);
var url = 'option=com_jfbconnect&task=social.share&provider=facebook&share=like&type=create&href=' + encodeURIComponent(escape(response)) + '&title=' + title;
jfbc.util.ajax(url, null);
},
remove: function (response)
{
var title = window.btoa(document.title);
var url = 'option=com_jfbconnect&task=social.share&provider=facebook&share=like&type=remove&href=' + encodeURIComponent(escape(response)) + '&title=' + title;
jfbc.util.ajax(url, null);
}
}$title = $input->get('title');$title = base64_decode($input->get('title'));Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
