Skip to:
Content
Pages
Categories
Search
Top
Bottom

Everything private except a few pages?

  • Hello,

    I would like most of my site to be hidden from everyone that is not logged in. I have tried a few plugins but they dont work because I need my Terms of Service page to be public for those that are trying to register but want to review the terms.

    Is there a way I can everything private except for my sign in, register and terms of service page?

    I would appreciate any help.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of @ChrisClayton
    @ChrisClayton
    Participant

    @chrisclayton

    Here ya go. Add this code to your bp-custom.php file.
    http://pastebin.com/rgJ6BQc8

    Just add “!is_page( PageID )” (with PageID as your tos page’s id) under “!bp_is_activation_page()”

    Thanks for the help!

    I added that code to bp-custom.php file but then when i go to my site it gives me a redirect loop error. Any idea why this is happening?

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

You must be logged in to reply to this topic.