Replies
- Brajesh Singh on November 20, 2019 at 2:53 pm in reply to: BuddyPress Moderation Tools support #26593
Hi Tosin,
I am sorry for the delay.Here is the code
// BuddyPress Moderation Tools: White list specific user's content from moderation. add_filter( 'bpmts_is_user_whitelisted', function ( $is, $user_id ) { $white_listed_users = array( 284, 37845, 4578, 2357 ); if ( in_array( $user_id, $white_listed_users, true ) ) { $is = true; } return $is; }, 10, 2 ); // BuddyPress Moderation Tools: Do not allow white listed user's profile to be reported. add_filter( 'bpmts_is_item_reportable', function ( $is, $item_type, $item_id ) { if ( 'user' !== $item_type ) { return $is; } $white_listed_users = array( 284, 37845, 4578, 2357 ); if ( in_array( $item_id, $white_listed_users, true ) ) { $is = true; } return $is; }, 10, 3 );Please put it in your bp-custom.php and it will work.
Regards
Brajesh - Brajesh Singh on November 20, 2019 at 2:43 pm in reply to: [Resolved] Moderation Tools group restriction #26591
You are welcome 🙂
- This reply has been marked as private.
Hi Tosin,
Thank you for being part of BuddyDev.We do have a restrictions plugin in development which has a lot more functionality than the above plugin.
At the moment, we have paused its development to focus on our upcomign theme(s). We are hoping to resume it after mid December and we should have it soon after.
Regards
Brajesh- Brajesh Singh on November 20, 2019 at 2:36 pm in reply to: [Resolved] Confused on finding settings… #26588
Thank you.
- Brajesh Singh on November 20, 2019 at 2:36 pm in reply to: Hide username in comments for all but admin #26587
Hi,
You will need to use css to do it. We are unable to develop the above plugin further.Regards
Brajesh - Brajesh Singh on November 20, 2019 at 2:35 pm in reply to: [Resolved] MP Flexible Storage Limit Doesn't work #26586
Hi,
Welcome to BuddyDev.Is there any chance that you tested the limit while logged in as super admin or site admin?
Did you set a limit by role or applied to that specific user? Please let me know and I will assist.
Thank you
Brajesh - Brajesh Singh on November 20, 2019 at 1:27 pm in reply to: Friendship Restrictions re-imagine #26582
Hi,
Thank you for the feedback. I will explore if we can add invite. Currently, The Invite Anyone plugin already allows you to invite users and let users register with invite codes. I recommend using that.Going Male/female is not justifiable for a generic plugin as BuddyPress does not have support for gender field out of the box and It will not make sense for larger community.
Regards
Brajesh - This reply has been marked as private.
- This reply has been marked as private.