BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Hide "New Activity Comment"
- This topic has 7 replies, 2 contibutors, and was last updated 8 years, 5 months ago by Anonymous.
Question
April 21, 2016 at 3:52 pm #69207@franciscocavaliereDear support, any hints on how to hide a reply from being reposted as “new activity comment”?
If a user posts an update and another one replies, it duplicates the reply into the post’s thread and also posts again as “new activity comment”.
I’ve looked into boss>buddypress>activity and saw “new activity comment” on entry.php but was couldn’t figure out where exactly that line was taking.
I appreciate your time into this support.
Francisco
Answers
April 21, 2016 at 9:16 pm #69235@
AnonymousHi @franciscocavaliere
You can use following functions inside child theme functions.phpadd_filter( 'bp_activity_set_just-me_scope_args', 'bboss_remove_activity_comments_override', 11, 2 ); function bboss_remove_activity_comments_override( $retval = array(), $filter = array() ){ $retval['override']['display_comments'] = 'threaded'; return $retval; }
Regards
Varun DubeyApril 22, 2016 at 8:19 am #69324@franciscocavaliereHi @vapvarun,
First of all, thanks for your time and great support.
That code returned me the following error:
Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/content/47/8963847/html/futebolzinho/wp-content/themes/boss-child/functions.php on line 143I really appreciate your support as I was looking for this solution for a long time.
Francisco
April 22, 2016 at 8:21 am #69325@franciscocavaliereAttaching error screenshot
April 22, 2016 at 8:57 am #69337@
AnonymousIt’s copy paste error,
‘ is converted to some different '
Regards
Varun DubeyApril 22, 2016 at 9:36 am #69350@franciscocavaliere@vapvarun, great attention to detail. Thanks for noticing that.
Functions.php is now working, but the website still shows “new activity comment” (as attached file).
Would you need a demo login to test it? I would really appreciate you assistance on this matter, even if there is a cost involved, as I understand your time is valuable.
Thanks,
FranciscoMay 1, 2016 at 2:22 pm #69964@franciscocavaliereDear @vapvarun,
Did you have a chance to look into this matter? I placed the code and nothing changed on my Activity Feed (See attached image above)
Thank you again,
FranciscoMay 25, 2016 at 11:56 pm #70704@
AnonymousHi @franciscocavaliere, We will continue our conversation in your tickets.
Regards
Varun Dubey
- The question ‘Hide "New Activity Comment"’ is closed to new replies.