Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Limit Blog Creation to Admins


Burt Adsit
Participant

@burtadsit

Back from break. Since I\’ve been creating this stuff out of thin air and it might be a good time to test this. brb.

Well, something went right today. This seems to work. I had to add a hook for the \’wp_footer\’ action that actually triggers the admin menu. The code in a copy/paste format is available here:

http://buddypress.pastebin.com/fce770ad

Copy and paste that into your bp-custom.php file. You can then alter the minimal logic in the function my_can_user_create_a_blog() to determine who and when people can see the \’create a blog\’ menu items scattered throughout bp.

Let me know how this works for you or if I’ve missed anything.

Skip to toolbar