Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Restrict New Topic

Put this code in a Plugin. The group "Member" will be affected.

function restrict_bb_got_roles() {
global $bb_roles;
unset($bb_roles->roles['member']['capabilities']['edit_topics']);
unset($bb_roles->roles['member']['capabilities']['write_topics']);

unset($bb_roles->role_objects['member']->capabilities['edit_topics']);
unset($bb_roles->role_objects['member']->capabilities['write_topics']);
}

add_action('bb_got_roles', 'restrict_bb_got_roles');

What happens If you use this? Do only members + higher be able to post here and all can reply and read?

Skip to toolbar