Skip to:

[Resolved] BP guest viewing lockout

  • b360


    Im sure this has been asked before but i cant seem to find good answer/documentation anywhere.

    The plugins i have found don’t seem to show up or work in BP

    so i came here in hope for answers…

    I do not want guests to see or view my site. If a guest lands on any page other then the login/register splash screen i want them redirected to the login/splash page.

    Thank You.

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

  • b360


    * Just an update.. I tried installing a plugin that said it redirected guests to the login screen.

    It ended up messing up my login screen overwriting the css and i could not find where it made its changes. Even after i uninstalled it there was mods still wrote to the scripts.. I tried tracking it down for 6 hours and decided i had just lost the 3 days i have spent setting up the site.


    *** Anyone know how to disable guest from scrolling through the site with out logging in? ***





    If you want something a bit simpler, this “Walled Garden” fix has been bouncing around community for some time. Create a file called bp-custom.php and put it in the plugins folder with this code.

    `function sh_walled_garden()
    if( ! bp_is_blog_page() && ! is_user_logged_in() )
    bp_core_redirect( $bp->root_domain );
    add_action( ‘bp_init’, ‘sh_walled_garden’,20 );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] BP guest viewing lockout’ is closed to new replies.
Skip to toolbar