Difference between revisions of "Remove Likes Activity"

Line 11: Line 11:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
<br />
 
<br />
Delete or comment it out. It will prevent '''new''' streams for this actions being created. Old, already generated streams will still be there.
+
Delete or comment it out. It will prevent '''new''' streams for this actions from being created. Old, already generated streams will still be shown.

Revision as of 20:46, 5 August 2013

This modification is for JomSocial 3.0.x

JomSocial 3 introduces the new activity stream for every like in the community which can potentially clutter your activity stream.and make it look like shown on the image bellow

Hecticlikes.png

If you want to remove those activities, kindly open this file

  • ROOT/components/com_community/controllers/system.php

On the line 592 and 593 find this code

// Add logging
CActivityStream::addActor($act, $params->toString() );


Delete or comment it out. It will prevent new streams for this actions from being created. Old, already generated streams will still be shown.