Skip to:
Content
Pages
Categories
Search
Top
Bottom

Keeping my forum only open to logged in users


  • devpaq
    Participant

    @devpaq

    Is there any way I can set the entire forum to be available only to users that are logged in?

    If not, I would manually check is_user_logged_in() but I am not sure what file I can add it that it would effect the whole forum section.

    Thanks.

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

  • devpaq
    Participant

    @devpaq

    For anyone else interested, I placed it in the main WP theme header and just wrapped it with is_bbpress()

    That allowed me to check if they were on bbpress and not logged in to display the login screen, otherwise continue as it should.

    There are plugins that will allow you to hide pages from people not logged in. Or you could make the page the forums is in private. Not sure that will completely hide the forums, but chances are good.

    Devpaq I am trying to the same BUT cannot find a solution.

    I used the plugin Private Buddypress by Dennis to improve the security of BuddyPress. It redirects access to login page when someone tries to access Buddypress groups/members content.

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