Skip to:
Content
Pages
Categories
Search
Top
Bottom

Restrict New Topic

  • Is there a plugin available that will allow me to restrict New Topic Creation to certain individuals? I’ve looked at the forum moderators plugin and the private forums plugin but neither of these seem to work.

    I need all members to be able to reply but only certain members able to begin a new topic. Does such capabilities currently exist? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I need this to, but only mods/admins to begin a topic and members can only reply on them. But this only to a specific forum, all other forums stay “normal”

    Do you think this would be an easy code?

    If we we’re editing the actual bb code, wouldn’t we just put an if then conditional around the link to post a new topic? Then again… I guess that wouldn’t remove the ability, just the link that makes posting a new topic an ability… hmmm.

    What existing plugin do you think my be the easiest to modify to this end?

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

    function restrict_bb_got_roles() {

    global $bb_roles;

    unset($bb_roles->roles);

    unset($bb_roles->roles);

    unset($bb_roles->role_objects->capabilities);

    unset($bb_roles->role_objects->capabilities);

    }

    add_action(‘bb_got_roles’, ‘restrict_bb_got_roles’);

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar