BuddyBoss Home – Web Support Forums Themes Boss. theme Hide "New Activity Comment"

Viewing 8 posts - 1 through 8 (of 8 total)
  • Question

    #69207
    @franciscocavaliere

    Dear 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

    #69235
    @vapvarun

    Hi @franciscocavaliere
    You can use following functions inside child theme functions.php

    
    add_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 Dubey

    #69324
    @franciscocavaliere

    Hi @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 143

    I really appreciate your support as I was looking for this solution for a long time.

    Francisco

    #69325
    @franciscocavaliere

    Attaching error screenshot

    #69337
    @vapvarun

    Hi @franciscocavaliere

    It’s copy paste error,

    ‘ is converted to some different &#039

    Regards
    Varun Dubey

    #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,
    Francisco

    #69964
    @franciscocavaliere

    Dear @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,
    Francisco

    #70704
    @vapvarun

    Hi @franciscocavaliere, We will continue our conversation in your tickets.
    Regards
    Varun Dubey

Viewing 8 posts - 1 through 8 (of 8 total)
  • The question ‘Hide "New Activity Comment"’ is closed to new replies.