BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Wall › Move Comment Like Box
Tagged: acomment-reply-like-content, box, comment, like
- This topic has 20 replies, 2 contibutors, and was last updated 9 years, 2 months ago by Alyssa.
Question
August 2, 2015 at 8:56 am #43741@alyssa-buddyboss
AlyssaParticipant@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
August 2, 2015 at 9:29 am #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.
August 2, 2015 at 2:01 pm #43775@alyssa-buddyboss
AlyssaParticipant@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.August 2, 2015 at 2:03 pm #43777@alyssa-buddyboss
AlyssaParticipantNOTE: this is just for moving the LIKE content box you may need to dig through BuddyPress files to move other items around.
September 3, 2015 at 1:35 pm #45716@skyrie@tjchester Sorry, I completely forgot to get back to you here! Thanks, that’s exactly the code I was looking for. 🙂
September 5, 2015 at 3:04 pm #45802@alyssa-buddyboss
AlyssaParticipantGreat, took some digging on my part as well…follow the white rabbit…
- The question ‘Move Comment Like Box’ is closed to new replies.