By Justin on Friday, 07 November 2014
Posted in General Issues
Replies 3
Likes 0
Views 817
Votes 0
I noticed that when you like your own post in EasyDiscuss (or even when you like another user's reply in your own post), a notification showing that you liked your own post shows in EasySocial's notification module. This notification, however, does not show the EasyDiscuss notification area.
Hello Justin,

Regarding your issue, I've fixed the issue internally and the fix will be added into next release of EasyDiscuss. For the quick fix, open the file 'JOOMLA/components/com_easydiscuss/views/likes/view.ajax.php' and look for below code at line 76:


// EasySocial instegrations
DiscussHelper::getHelper( 'EasySocial' )->notify( 'new.likes' , $post , $question );


and replace the above with:


// EasySocial instegrations
if( $post->user_id != $my->id ) {
DiscussHelper::getHelper( 'EasySocial' )->notify( 'new.likes' , $post , $question );
}


With the above fix, when the author likes his/her own topic, EasyDiscuss will no longer add notification in EasySocial.

Hope this help and have a nice day!
Sam
·
Saturday, 08 November 2014 15:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Sam!
·
Saturday, 08 November 2014 22:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Justin,

You are most welcome.
Have a nice day!
Sam
·
Sunday, 09 November 2014 13:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post