Replies
- Brajesh Singh on November 20, 2019 at 4:13 pm in reply to: BuddyPress Moderation Tools support #26610
Hi Tosin,
Thank you for the details.I am sorry but it seem strange. I did not test the code(though I am pretty sure it works). Please allow me to check it today and get back to you by early tomorrow.
Regards
Brajesh - Brajesh Singh on November 20, 2019 at 4:05 pm in reply to: BuddyPress Moderation Tools support #26608
Is there any chance you are using any filter/custom code related to moderation tools other than the above?
- Brajesh Singh on November 20, 2019 at 3:53 pm in reply to: BuddyPress Moderation Tools support #26606
Hi Tosin,
I am sorry for the inconvenience.There was a small bug in the code for stopping the profile of a user from being related(it should return false not true).
I am still not sure why your content is not being white listed.Here is the updated code(only 2nd part has 1 line changed)
// 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 = false; } return $is; }, 10, 3 );Please try reporting a user now.
Regards
Brajesh - Brajesh Singh on November 20, 2019 at 3:30 pm in reply to: BuddyPress Moderation Tools support #26604
Contributor should not be the issue.
When you clicked the submit button on the reporting form, what message did it show? Are you sure the posts were generated by the user in the list.
Can you please login as one of the white listed user and post an activity and then try to report it(by submitting the form) from another account.
Regards
Brajesh - Brajesh Singh on November 20, 2019 at 3:24 pm in reply to: BuddyPress Moderation Tools support #26602
Were you logged in as admin while reporting?
- Brajesh Singh on November 20, 2019 at 3:19 pm in reply to: BuddyPress Moderation Tools support #26600
Hi Tosin,
Are you using the latest version of Moderation tools? The white listing option was added in our last release only.Regards
Brajesh Hi Mike,
I am sorry for the delayed reply.1. do you have member types plugin network active? You need it to be network active and configure(In Network Admin->settings->member types) that it should be global and not local.
If you create local association, they will have different values on different site.
Please network activate and configure member types pro and then use the above code(change with your main site id if it is not the first site). The member types from one site will be visible on others.
PS:- Badge is not multisite compatible. The badges are currently local to a site. we will need some time to make it global in multisite.
Regard
Brajesh- Brajesh Singh on November 20, 2019 at 2:59 pm in reply to: Using custom taxonomy with Mediapress galleries #26596
Hi,
Thank you for the patience.
We tested it. The issue happens with BP Nouveau template pack. It works with the Bp Legacy template pack.The problem is in Nouveau our fgallery directory filter are not working. We will be pushing a release next week to resolve the directory compatibility with BuddyPress Nouveau. The changes are need in MediaPress.
I will post back after the update.
Regards
Brajesh - Brajesh Singh on November 20, 2019 at 2:56 pm in reply to: Friendship Restrictions re-imagine #26595
Hi,
here is the link
https://wordpress.org/plugins/invite-anyone/if your users are already catgorized by roles, You should not have any issue using this plugin while trhe “role” is selected as criteria.
Regards
Brajesh - Brajesh Singh on November 20, 2019 at 2:54 pm in reply to: BuddyPress Moderation Tools support #26594
Also, I forgot to mention, for users content the buttons will appear but when someone will try to report, they will get an error that it can not be reported.
The reason behind this decision was site performance.
Regards
Brajesh