Hey there,
I wanted to make a change that "likes" do not bring up stream posts back to the top. There I picked the file /components/com_easysocial/controllers/likes.php and in line 146 (line 4 down below the code) I replace "true" with "false".
Did this happen to have an effect on anything else or can this be done this way?
Content of file line 142-162:
// Now we need to update the associated stream id from the liked object
if ($streamId) {
$doUpdate = false;
if ($type == 'photos') {
$sModel = ES::model('Stream');
$totalItem = $sModel->getStreamItemsCount($streamId);
if ($totalItem > 1) {
$doUpdate = false;
}
}
if ($doUpdate) {
$stream = ES::stream();
$stream->updateModified($streamId, $this->my->id, SOCIAL_STREAM_LAST_ACTION_LIKE);
}
}
}