Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to make a private community?


Mike Pratt
Participant

@mikepratt

@r-a-y I am embarrassed to be asking such a simple question:

re registered-users line ~48 -> bp_core_redirect(bp_get_signup_page());

What would be the correct way to do the following:

redirect not_logged_in users to a welcome page.. say domain.com/welcome.php which has a login widget for registered users as well as a Create Account button/link taking you to domain.com/register.php ?

I tried:

`$page = $bp->root_domain . ‘/welcome.php’;

bp_core_redirect($page);`

but, of course, that led me to redirect Hell.

Thanks for clarifying.

Skip to toolbar