Leave a Reply

2 comments

  1. The solution I went with was to create a file in my theme’s folder named bbpress.php. I then copied the contents of my theme’s page.php file into the new file and modified it to only show it’s contents when a user is logged in. In my case it looked like the following:

    if( is_user_logged_in() ) {
        get_template_part( 'loop', 'page' );
    }
    else{
        _e('You must be logged in to view this page.', 'twentyten-child');
    }
    

    Apparently the bbpress plugin looks in a a particular order for the template it will use (see http://bbpress.org/forums/topic/where-do-i-choose-a-custom-template-for-the-bbpress-20-plugin). I chose to name the file bbpress.php since it makes it clear when I look back at my code what the file is connected to.

  2. The only way I’ve gotten around this so far is using version 2.1 from the trac site and setting things up so the top-level forums are categories instead of forums, ie:

    • Top Public (category)
      • Sub public forum
      • Sub public forum
    • Top Members (category)
      • Sub members forum
      • Sub members forum

    Set the members forums and top level category to “hidden”, and use the Members plugin to allow whatever other user levels besides admin permission to view hidden forums.

    Any other variation I’ve tried gives the same results you indicated, and this fix doesn’t seem to work in 2.0 due to a bug in setting the visibility on forums. Requires some further testing once 2.1 is officially released, but it’s working for me so far.