BuddyDev

Search

[Resolved] BuddyPress group admin capabilities – for role, for member type

  • Participant
    Level: Enlightened
    Posts: 33
    Vlad on #42035

    Hello, friends.
    Thanks for your help! Have helped more than once.

    How can I add BuddyPress group admin capabilities – for role, for member type.

    There is a possibility?
    Thank you.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2935
    Ravi on #42041

    Hello Vlad,

    Thank you for posting here. As per my understanding, You are looking for a way to assign group admin capability to a WordPress role or BuddyPress Member Types. Once any user got that role he can have full admin access to any BuddyPress group.

    Please acknowledge me if I am thinking correctly about your requirement.

    Regards
    Ravi

  • Participant
    Level: Enlightened
    Posts: 33
    Vlad on #42046

    The member already has a group (he is the group administrator),
    but when he gets a second role, some functions disappear.
    I created a new member type and a new role.
    When the group admin gets 2 roles,
    some of the group admin functions disappear.

  • Participant
    Level: Enlightened
    Posts: 33
    Vlad on #42047

    full access is needed only to his group

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2935
    Ravi on #42049

    Hello Vlad,

    Thank you for the acknowledgment. Are you using some kind of restriction plugin which applies restrictions on users? If yes, Please try after temporarily deactivating that plugin. BuddyPress group administrator will all the access if any no. of roles given to that user.

    Regards
    Ravi

  • Participant
    Level: Enlightened
    Posts: 33
    Vlad on #42178

    Hi Ravi,

    I found.
    On getting the role wcfm_vendor, the WCFM Marketplace plugin.
    https://wordpress.org/plugins/wc-multivendor-marketplace/

    class-wcfmmp-install.php

    Its capabilities
    public static function wcfmmp_user_role () {

    add_role (‘wcfm_vendor’, apply_filters (‘wcfm_vendor_role’, __ (‘Store Vendor’, ‘wc-multivendor-marketplace’)), array (
    ‘level_6’ => true,
    ‘level_5’ => true,
    ‘level_4’ => true,
    ‘level_3’ => true,
    ‘level_2’ => true,
    ‘level_1’ => true,
    ‘level_0’ => true,

    ‘read’ => true,
    ‘edit_post’ => true,
    ‘edit_posts’ => true,
    ‘edit_others_posts’ => true,
    ‘edit_published_posts’ => true,
    ‘delete_posts’ => true,

    ‘edit_shop_coupons’ => true,
    ‘manage_shop_coupons’ => true,
    ‘read_shop_coupons’ => true,
    ‘publish_shop_coupons’ => true,
    ‘edit_published_shop_coupons’ => true,
    ‘delete_shop_coupons’ => true,
    ‘delete_published_shop_coupons’ => true,

    ‘edit_others_pages’ => true,
    ‘edit_published_pages’ => true,

    ‘upload_files’ => true,
    ‘delete_attachments’ => true,
    ‘unfiltered_html’ => true,

    ‘assign_product_terms’ => true,

    ‘manage_product’ => true,
    ‘read_product’ => true,
    ‘read_shop_coupon’ => true,
    ‘edit_product’ => true,
    ‘delete_product’ => true,
    ‘edit_products’ => true,
    ‘delete_products’ => true,
    ‘delete_published_products’ => true,
    ‘publish_products’ => true,
    ‘edit_published_products’ => true,
    ‘view_woocommerce_reports’ => true,

    ‘export’ => true,
    ‘import’ => true,
    ));
    }

    There are thoughts that can block the group admin
    I will be glad any help, thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #42196

    Hi Vlad,
    BuddyPress does not use Role for Group admin capabilities.

    We are not sure what could be causing it. Does it work if you change the role to Subscriber?

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 33
    Vlad on #42198

    Hello Brajesh!

    The group admin has a role – company.
    When I add the wcfm_vendor role, then some of the group admin functions stop working

    Any thoughts on this, thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #42214

    Hi Vlad,
    I am pretty sure the role has no effect in case of BuddyPress.

    Is there any chance that you are using BuddyBoss? They might have different way to handle it.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 33
    Vlad on #42225

    Hi Brajesh!

    ok everything works, apparently there was some mistake,
    thank you for wasting your time with me.

The topic ‘ [Resolved] BuddyPress group admin capabilities – for role, for member type’ is closed to new replies.

This topic is: resolved