Can BuddyPress forum be set up to be moderate? Similar to the wordpress default post comment approva

For instance, on certain BuddyPress group forums, new members' posts always need to be approved by the admin or group owners. Admin / Group owner can assign direct posting Privilege to some members one by one if they trust them. Nowadays, spammers are everywhere and they can take the time to register manually and post whatever they want. Ideas, suggestions?

I saw a similar question on another website but it was not answered. "For example, when someone makes a post to the group, I would like that to have to be approved by the moderator before the post is viewable."

  • Mason
    • DEV MAN’s Sidekick

    Hiya @winning,

    The short answer is no. This isn't possible without custom development. There's no plugins that I'm aware of nor settings included that would allow for this.

    The problem is that BuddyPress forum topics are just post types. So you could create a user role that only had the ability to submit for review rather than publish, but this would be applied across the board - not to individual or group threads.

    I'd think a better approach would be to moderate who can sign up for any group. Once a person has been approved for access they can post to the group/forums and this access can always be revoked later if needed.

    Does that help? If you'd prefer a custom solution I'd recommend posting to our job boards here:
    https://premium.wpmudev.org/wpmu-jobs/

    Thanks!

  • winning
    • The Incredible Code Injector

    @Mason

    Thank you for the prompt support and answers.

    How to make it "across the board" then if I can't make it for individual groups? How to make all "new" users sign up to be able to submit for review only? Later on, the admin can "upgrate" some of users to post in BuddyPress without approval. Is that something that can be done with a plugin?

    Thanks & Happy New Year to all WPMUDEV-ers :slight_smile:

  • Mason
    • DEV MAN’s Sidekick

    Hiya,

    The way yo would make these capabilities limited across all particular users would be by assigning them to a custom user role that does not have the ability to "post" to individual topics. They can write them, but then only submit for moderation.

    A plugin to assist with is a free one called Members:
    http://wordpress.org/extend/plugins/members/
    or
    http://wordpress.org/extend/plugins/user-role-editor/

    You can also assign it so that your new custom user role is assigned to folks by default on sign up:
    http://wordpress.org/extend/plugins/wpmu-default-user-role/
    Or, by embedding the following code into the theme's functions.php file or in a plugin:

    // Hijack the option, the role will follow!
    add_filter('pre_option_default_role', function($default_role){
        // You can also add conditional tags here and return whatever
        return 'subscriber'; // This is changed
        return $default_role; // This allows default
    });
    I use it to make sure some plugins that need subscriber roles get it regardless of Administrator attempts to change :)

    Hop this helps!

  • Timothy
    • Chief Pigeon

    Hiya, just going through some of the older threads here.

    As it's been a little while since we last heard from you I thought I'd check in to see how you're going?

    If you're still looking for some further assistance with this thread then please feel free to reopen the thread or of course for any new and related issues you are most welcome to open a new thread.

    Thanks.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.