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.

Link to Private Message in email Notification does not have a Itemid

10 years 5 months ago
Licenses:
JomSocial Expired

hi, reply link in email Notification does not have a Itemid..so therefore no side modules are shown if User click on it! Please fix it..

Attachments:
10 years 5 months ago
Licenses:

Hi Testcouch,

this is the bug. here the fixes:
1. edit /components/com_community/controllers/inbox.php
2. at line 832 and 833 you can see this code

$params->set('url' , 'index.php?option=com_community&view=inbox&task=read&msgid='. $msgId );
$params->set('msg_url' , 'index.php?option=com_community&view=inbox&task=read&msgid='. $msgId );
changing it to
$params->set('url' , CRoute::_('index.php?option=com_community&view=inbox&task=read&msgid='. $msgId ));
$params->set('msg_url' , CRoute::_('index.php?option=com_community&view=inbox&task=read&msgid='. $msgId ));
3. at line 1067, from
$params->set('url' , 'index.php?option=com_community&view=inbox&task=read&msgid='. $msgid );
to
$params->set('url' , CRoute::_('index.php?option=com_community&view=inbox&task=read&msgid='. $msgid ));
4. line 1071, from
$params->set('msg_url' , 'index.php?option=com_community&view=inbox&task=read&msgid='. $msgid );
to
$params->set('msg_url' , CRoute::_('index.php?option=com_community&view=inbox&task=read&msgid='. $msgid ));

Regards,
Albert

10 years 5 months ago
Licenses:
JomSocial Expired

hi Albert,

thanks for your help, i will try your suggestions!

b.t.w also other notification email links does not have a Itemid. can you please check this also?

10 years 5 months ago
Licenses:
JomSocial Expired

i'v added your fixes above and tried email notification...but i get a wrong url format with double slash:

//index.php?option=com_community&view=inbox&task=read&msgid=1981&Itemid=113

10 years 5 months ago
Licenses:

Hi Testcouch,

please provide me FTP access detail by edting your first post at this topic. put it under site info form.
i will do it for you.

Regards,
Albert

10 years 5 months ago
Licenses:
JomSocial Expired

Albertus wrote: Hi Testcouch,

please provide me FTP access detail by edting your first post at this topic. put it under site info form.
i will do it for you.

Regards,
Albert


hi Albertus, ok done..please post your changes also here. Did you checked email notifications links for other activities?

10 years 5 months ago
Licenses:

Hi Testcouch,

I rid of the extra /.
at /components/com_community/libraries/core.php at line 1229
from

return $data;
to
return str_replace('/index.php', 'index.php', $data);

and I applied this patch too:
www.jomsocial.com/forum/profile-universa...missing-itemid#97791

Regards,
Albert

10 years 5 months ago
Licenses:

Sorry, correction

at /components/com_community/libraries/mailq.php after line 96

$row->body = $tmpl->fetch($base);
I put this code
$row->params = str_replace("\/\/index.php", "\/index.php", $row->params);

Regards,
Albert

10 years 5 months ago
Licenses:
JomSocial Expired

hi Albertus, just tested your modifications but do not received now any email notification for new private message!? status in mailq is sent..spam folder is also empty!

10 years 5 months ago
Licenses:
JomSocial Expired

ok i removed your additional code at /components/com_community/libraries/mailq.php in line 106:

echo $row->body;
                die();
and now email is sent.

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