Replies
- Brajesh Singh on March 8, 2021 at 6:34 pm in reply to: [Resolved] BUDDYPRESS REPORT BUTTON APPEARING TWICE #36715
Hi Deepa,
Thank you for using the plugin and sharing the details.The code
<span class=”bp-screen-reader-text”>Report</span>is not from our plugin. Are you using any 3rd party plugin for the same or does you theme provide this? Please try disabling the “Activity” module in the Moderation Tools plugin and let me know if both the button goes away or just one?
Thank you
Brajesh - Brajesh Singh on March 8, 2021 at 6:32 pm in reply to: [Resolved] FB like activity stream not working #36714
Hi Hugo,
Thank you for the
Are you using any custom code to filter activity stream? Is it happening with CB or some other theme?Please let me know and I will assist.
Regards
Brajesh - Brajesh Singh on March 8, 2021 at 6:23 pm in reply to: [Resolved] Problem to Setting Auto Friendship #36713
Hi Emanuele,
Thank you for the reply.1. Please use the updated code. There was a bug in the previous snippet.
/** * Add as friend other user with same member type on user member change. */ add_action( 'bp_set_member_type', function ( $user_id, $member_type ) { if ( 'partner' !== $member_type ) { return; } $users = new BP_User_Query( array( 'member_type' => $member_type, 'populate_extras' => false, ) ); if ( ! $users->total_users ) { return; } foreach ( $users->user_ids as $id ) { if ( $id == $user_id ) { continue; } if ( ! friends_check_friendship( $user_id, $id ) ) { friends_add_friend( $id, $user_id, true ); } } }, 10, 2 );2. The above code is independent of the Friendship Pro plugin. It will work with any rules.
Regards
Brajesh Hi Khalid,
Thank you for letting us know.I am glad you have resolved it.
Regards
BrajeshHi Tosin,
Thank you for the suggestion. I have noted them for our future update.Regards
BrajeshHi Ravi,
Thank you for the update.Hi @Fmd530
I am sorry, I had seen some part of code and had assumed the support without checking settings. Ravi has updated the plugin now to include these.Regards
Brajesh- Brajesh Singh on March 8, 2021 at 5:52 pm in reply to: [Resolved] BuddyBlog Pro & Blog Categories for Groups Plugin Design #36709
Hi Tiffany,
I am sorry, Our team could not get back to you early.It is not possible to apply elementor design to these plugins. If you want to do that, you will need to disable the Front end creation of posts and disable showing the single post on user profile. Now, You can create the post from WordPress dashboard and apply. The post list will be visible on user’s profile but single link will show the elemntor designed page as normal.
Regards
Brajesh - Brajesh Singh on March 8, 2021 at 10:47 am in reply to: [Resolved] buddypress member type as a body class name when user is logged in #36691
Hi Waseem,
Thank you for confirming. I am glad it worked.Regards
Brajesh - Brajesh Singh on March 8, 2021 at 10:32 am in reply to: [Resolved] Buddypress moderation button shortcode #36689
Hi Tosin,
Thank you for the question.
I am updating the plugin to add settings this week. It is still doable via code. Please let me know if you need the code for now?Regards
Brajesh - Brajesh Singh on March 8, 2021 at 10:30 am in reply to: [Resolved] Problem to Setting Auto Friendship #36688
Hi Emanuele,
You are right. It would do so for all member types.Here is the code that only targets the ‘partner’ member type
/** * Add as friend other user with same member type on user member change. */ add_action( 'bp_set_member_type', function ( $user_id, $member_type ) { if ( 'partner' !== $member_type ) { return; } $users = new BP_User_Query( array( 'member_type' => $member_type, 'populate_extras' => false, ) ); if ( ! $users->total_users ) { return; } foreach ( $users->user_ids as $id ) { if ( $id == $user_id ) { return; } if ( ! friends_check_friendship( $user_id, $id ) ) { friends_add_friend( $id, $user_id, true ); } } }, 10, 2 );Regards
Brajesh