Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • @auctionarmory

    Participant

    @dcavins, Yes in the functions.php file.

    @auctionarmory

    Participant

    @dcavins, No luck if I uncheck box only admins can create groups regardless of the code above.

    If I check that box ever role type has the ability to create a group regardless of the code above.

    @auctionarmory

    Participant

    @dcavins, question should I enable group creation for all users and use this code or leave that option off.

    @auctionarmory

    Participant

    @dcavins,

    we allow vendors to post products so could we use something like this?

    add_filter( ‘bp_user_can_create_groups’, function( $can_create ) {
    $can_create = false;
    if ( current_user_can( ‘edit_products’ ) ) {
    $can_create = true;
    }
    return $can_create;
    } );

    @auctionarmory

    Participant

    @dcavins,

    Where do we find the users capabilities?

    We are having a lot of issues with this. Is there a way to “review/ pending for approval” the groups before going live.

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar