Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress only for logged in users


  • tvieira
    Participant

    @tvieira

    I’m installing bbPress on a blog that is restricted, and would like to know if you have only logged as people view the forum content. How can I do this?

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)

  • mariz_p
    Participant

    @mariz_p

    I think you can just create a page, name it FORUM then set it to private so only the logged in users will see the forum. Or you can tweak you child template and make a conditional statement out of it like:

    <?php if (!(current_user_can(‘level_0′))){
    echo””;
    else{
    echo “”;
    }
    ?>

    Hope this help you.


    tvieira
    Participant

    @tvieira

    Thank you,

    Worked per page, then sufficed to put all private forums and it worked.


    Robin W
    Moderator

    @robin-w

    You can also use hidden forums to allow only registered users to view

    http://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/

    step 5

    or

    http://wordpress.org/plugins/members/


    Stephen Edgar
    Moderator

    @netweb

    You can also use hidden forums to allow only registered users to view

    Visibility:
    Public – Anyone can see these forums
    Private – Only logged in registered users can see these forums
    Hidden: Only Moderators/Admins can see these forums


    flyden
    Participant

    @flyden

    Hi Stephen, a revelation!
    Can I suggest you include this in the documentation somewhere please as I’ve just spent half a day trying to discover the relevance and extent of these three visibility categories. It needs to be in ‘Part 1′ of setting up…..
    Cheers, Den.


    Robin W
    Moderator

    @robin-w

    Den – Thanks for the feedback- on review the guide was both unclear and on one point wrong !

    I have amended and updated the guide to make it both clearer and correct in step 5.

    Please continue to provide feedback – this helps others who come after you !

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.