Hello. Steps:
1) Turn ON "Order by last comment" option in backend (Bump function)
2) Navigate to single video page / to same window
3) Post comment
4) Navigate to stream. Result: Stream display 2 activity (look at attachment):
1) Super User commented on this video + comment-text
and 2) Super User added a video. + latest few comments below.
Expected result: Bump function is ON, so users expect to see only 2nd activity "Super User added a video. + latest few comments below.". Users do not need to see the same twice.
OK. Users asked to turn off one of this two similar activity (when "Bump" option is ON) because two items take a lot of space ins tream.
To do it, I hd to edit template file: .../layouts/stream/videos.php
find line with Load saperate template for comment on videos and comment one line:
// Load saperate template for comment on videos
// param is legacy code, its kept to make sure we are able to distinguish this as a comment
if ($act->app == 'videos.comment' || $param->get('action') == 'wall') {
// $this->load('activities/videos/comment');
return;
}
Not sure is it OK for JS and stream, but I can't see "Super User commented on this video + comment-text" activity anymore.
Dimas wrote: If you wanna disable comment video stream you can do it from backend Jomsocial -> config-> user points->disable this "Comment video"
Thanks. It realy helps to turn off "User commented on this video + comment-text". I can't remember, why I didn't used this method before? :)
Updated1: seems, I had to edit template file because this method (with disabling "Comment video") also turning off awarding user points for this activity. But users wants to get points :)
Updated2: May be this topic should be moved to "Tips and Tricks" section?