Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Securing components from non logged in users


peterverkooijen
Participant

@peterverkooijen

I see the blunt solution is to just add this to the top of a template page:

if (!is_user_logged_in() ){
bp_core_redirect( $bp->root_domain.'/register' );
}

I still have no good solution for a ‘restricted access’ message, but hopefully users will get the point…

Skip to toolbar