BuddyBoss Home – Web Support Forums Plugins BuddyBoss Wall Move Comment Like Box

Viewing 6 posts - 16 through 21 (of 21 total)
  • Question

    #43741

    Alyssa
    Participant
    @alyssa-buddyboss

    @skyrie the comment box is in a PHP file I mean use JS to check if has-sub-comments as you mentioned earlier then if it does add the styling to the proper area.

    Answers

    #43754
    @skyrie

    @tjchester I understand now. I’m not a Java developer so I doubt I could do that. The PHP file, is that the one in the /buddypress/activity/ folder? Do you know what file the sub comments are loaded from? I don’t remember seeing either when I checked last time.

    #43775

    Alyssa
    Participant
    @alyssa-buddyboss

    @skyrie this is the code we are concerned with:

    function buddyboss_wall_comments_display_likes(){
    	if( is_user_logged_in() ){
    		echo replies_get_wall_add_likes_comments( bp_get_activity_comment_id() );
    	}
    }
    add_action( 'bp_activity_comment_options', 'buddyboss_wall_comments_display_likes', 999 );

    Find this in buddboss-wall/includes/wall-hooks.php line 629
    You can remove this action via functions.php
    then re-add the action to whichever bp hook you desire 🙂 This may require some leg work from you.

    #43777

    Alyssa
    Participant
    @alyssa-buddyboss

    NOTE: this is just for moving the LIKE content box you may need to dig through BuddyPress files to move other items around.

    #45716
    @skyrie

    @tjchester Sorry, I completely forgot to get back to you here! Thanks, that’s exactly the code I was looking for. 🙂

    #45802

    Alyssa
    Participant
    @alyssa-buddyboss

    Great, took some digging on my part as well…follow the white rabbit…

Viewing 6 posts - 16 through 21 (of 21 total)
  • The question ‘Move Comment Like Box’ is closed to new replies.