ISSUE SUMMARY:
Hi guys,
i'm using JomSocial 4.2.4 with the Socialize template on Joomla 3.6.2, when a user logs in and clicks on the notifications icon in the top bar, the pop-up shows the activities but not in full, it looks like some language file is missing or corrupted. Instead of the links or names of who did what and where i only see "liked your photo on" or "posted in the group" and that's it.
Hi Christina,
Would you mind provide me phpmyadmin and FTP access, please?
thank you!
Hi Christina,
I found this is bug from us.. well actually JRegistry from Joomla change the behavior, so we need to update it..
I will let you know once the patch availbale.
thank you!
Hi Christina,
To fix this, please apply this code
- open this file components/com_community/models/notification.php, add this code after line 81 :
if($params instanceof JRegistry){
$params = $params->toArray();
}
$notification->params = is_object( $params ) ? json_encode($params) : '';
$notification->params = is_array( $params ) ? json_encode($params) : '';
$obj->body = json_encode($body);
$obj->body = json_encode($body->toArray());
$obj->body = json_encode($body);
$obj->body = json_encode($body->toArray());
Hi Dimas,
i've done the change in the notification.php file, tried putting the code both above and under the if($validate) code segment but it's not working. The notifications still look like "has made a comment on your . 38 minutes ago"