Forums

Join
bbPress Support ForumsRequests and FeedbackOnly key holders add topics

Info

Tags

Only key holders add topics

  1. How can I make it so only key holders can add topics.
    Sorry I'm new to use these forums

  2. Unlike WordPress I don't believe bbPress has an easy way to do role management (yet). There is a privilege built-in for bb_current_user_can( 'write_topics' ) which means it is technically possible to control who can start topics by taking away that role privilege from the "member" role.

    In theory a small plugin should be able to do this - I'll take a look at how it might be done as an exercise in learning more about bbPress roles...

  3. Aha! I think it's this simple. Make yourself a mini-plugin and install it containing this:

    global $bb_roles;
    $bb_roles->remove_cap('member','write_topics');


    If you don't know how to make a plugin, it might be possible to just put those two lines into your template's header.php

  4. But what if you only want to do this for a specific forum, and not for all your forums? On my site I have an "announcements" forum where I would like to limit who can post, but I also have a "troubleshooting" section where members do need to post.

  5. This question is related:
    http://bbpress.org/forums/topic/key-master-only-forum#post-15457

    I think I will make a real plugin since this seems to be a requested feature that is not too hard to handle in 0.9 Look for it in the plugin section over the next day or two.

  6. I've now written a plugin to solve this problem:
    http://bbpress.org/plugins/topic/read-only-forums/

  7. You must log in to post.