Tagged: buddypress, group admin capabilities
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
RaviHello 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
RaviHi 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, thanksHi 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
BrajeshHi 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
The topic ‘ [Resolved] BuddyPress group admin capabilities – for role, for member type’ is closed to new replies.