How to restrict activity & profile posting to user role in buddpress

Hail. I have a buddypress network . I wish to disallow posting to profile or activity feed for user roles ‘Subscriber’ and only allow posting for user role ‘Author’. How can this be done in buddypress?

  • Adam Czajczyk
    • Support Gorilla

    Hello Griffin,##1

    I hope you’re well today and thank you for your question!

    BuddyPress doesn not use WP user roles for that so that might be a bit more difficult that it seems. I’ve done some research but I didn’t find any ready to use plugin or a code to do this. I think this would require some custom development.

    Such code would have to hook to internal WP filters/actions and in a callback functions check current user’s WP role, then cause BP to “deny” depending on that. This is a solution that would need to be custom developed (unless there is some 3rd party premium plugin that can do it, but I didn’t manage to handle it). If you need help with custom development, you might want to post a question on our “Jobs & Pros” job board (please note: no WPMU DEV staff involved!) here:

    Kind regards,


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.