We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

newsfeed item | Forum

Kieron H Leader
Kieron H Oct 7 '13
hi does anybody know how to make the newsfeed item not change if someone comments or likes for example if someone likes  status if you refresh it now come up as user has liked users status i want it to just say the status but still let people like and comment
S. Bourdon
S. Bourdon Oct 7 '13
OPEN:

ow_plugins/newsfeed/components/feed_item.php


REPLACE:

$override = $this->displayType == NEWSFEED_CMP_Feed::DISPLAY_TYPE_ACTIVITY && $lastActivity !== null;


WITH:

// $override = $this->displayType == NEWSFEED_CMP_Feed::DISPLAY_TYPE_ACTIVITY && $lastActivity !== null;



Is that what you wanted?

Kieron H Leader
Kieron H Oct 7 '13
yeah is there a way i can stop it coming to the top of the feed when someone comments or like :)
Daisy Team
Daisy Oct 17 '13
Kieron, the better way is to simply set the false value for the $override instead of commenting this string. As for the preventing the items to move up, unfortunately, it's impossible, because the newsfeed plugin is based on this functionality and it requires the plugin refactoring to remove this action.