Replies
- Gregg Housh on November 5, 2019 at 8:32 pm in reply to: [Resolved] BuddyPress Moderation, error in query for wp_bpmts_moderation_queue. #26280
Great! The error is gone after update. Thank you again!
- Gregg Housh on November 3, 2019 at 3:04 pm in reply to: [Resolved] BuddyPress Moderation 1.2.4 release, a couple issues. #26259
Great! Thanks again. Everything is working how it should then.
- Gregg Housh on November 2, 2019 at 2:47 pm in reply to: [Resolved] BuddyPress Moderation 1.2.4 release, a couple issues. #26250
I’ve attempted to create the code in functions.php for this, but users who I have whitelisted still have the report button on their profile, and their activities. Is this code correct?
function whitelist_users_from_moderation($is_super_admin, $user_id) { // Default whitelist all super admins $whitelist = $is_super_admin; $whitelisted_user_ids = array( 2, 95 ); if ( in_array( $user_id, $whitelisted_user_ids) ) { $whitelist = true; } return $whitelist; } add_filter('bpmts_is_user_whitelisted', 'whitelist_users_from_moderation', 10, 2);
- Gregg Housh on November 2, 2019 at 2:35 pm in reply to: [Resolved] BuddyPress Moderation 1.2.4 release, a couple issues. #26249
As I have said before many times, I am smart and I notice things…
Sorry I didn’t see that. A filter is great.
Thanks gain for all the awesome support around here!
- Gregg Housh on November 1, 2019 at 5:20 pm in reply to: [Resolved] BuddyPress Moderation 1.2.4 release, a couple issues. #26240
I don’t see a way to whitelist a user anywhere in the settings or on a users record. How do we do it?
- Gregg Housh on November 1, 2019 at 5:15 pm in reply to: [Resolved] BuddyPress Moderation 1.2.4 release, a couple issues. #26238
I believe you are correct, and I am working on that now. Thanks for all the help!
- This reply was modified 5 years, 1 month ago by Gregg Housh.
- Gregg Housh on November 1, 2019 at 1:23 pm in reply to: [Resolved] BuddyPress Moderation 1.2.4 release, a couple issues. #26235
The only way I got rid of those php errors was to downgrade back to 1.2.3.
- Gregg Housh on October 30, 2019 at 1:01 pm in reply to: [Resolved] BuddyPress Moderation 1.2.4 release, a couple issues. #26206
I downloaded the zip file from here: https://buddydev.com/plugins/buddypress-moderation-tools/
And I uploaded it with SFTP.
But looking at the source in that zip, it has the version issues.
- Gregg Housh on October 30, 2019 at 1:14 am in reply to: [Resolved] BuddyPress Moderation 1.2.4 release, a couple issues. #26195This reply has been marked as private.
- Gregg Housh on October 29, 2019 at 7:47 pm in reply to: [Resolved] BuddyPress Moderation 1.2.4 release, a couple issues. #26193
Also, on the changelog it says you can whitelist users now. I can’t find that anywhere in the options. How do we whitelist?