-
Ryan Hale replied to the topic [Resolved] bp_moderate capability? in the forum Creating & Extending 10 years, 2 months ago
@r-a-y, that appears to have done the trick. Great, and thank you!
-
Ryan Hale replied to the topic [Resolved] bp_moderate capability? in the forum Creating & Extending 10 years, 2 months ago
The link you posted for reading assumes that you can actually access the Groups admin area, but that is precisely the problem as I can’t.
Also, I’m fairly new to BP plugin development, but I’m feeling pretty sure that I’m looking at the right place for how the admin menu is built. Here is what I posted in the original question, which…[Read more]
-
Ryan Hale replied to the topic [Resolved] bp_moderate capability? in the forum Creating & Extending 10 years, 2 months ago
Thanks danbp. At this point, I’m just trying to solve for users with this new role type to have access to the Groups area in admin. Below are the capabilities that I’ve given the role. Unfortunately, in my testing so far, the only way I can get Groups (and Activity) to show up in admin is if I set manage_options to True, which is undesirable.…[Read more]
-
Ryan Hale started the topic [Resolved] bp_moderate capability? in the forum Creating & Extending 10 years, 2 months ago
I created a new user role and gave them the capability bp_moderate as it appeared that was what was needed to be able to access Groups in admin:
$hook = add_menu_page(
__( ‘Groups’, ‘buddypress’ ),
__( ‘Groups’, ‘buddypress’ ),
‘bp_moderate’,
‘bp-groups’,
‘bp_groups_admin’,
‘div’
);I confirmed that bp_moderate was added to the role…[Read more]
-
Ryan Hale's profile was updated 10 years, 2 months ago
@ryanjhale
Active 10 years, 2 months ago