Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • soloacademy
    Participant

    @soloacademy

    @bphelp opps I forgot to mention you in the last comment. Please take a look at it above. Thanks


    soloacademy
    Participant

    @soloacademy

    I’m still a little confused. Is that code only for when the user logs in? I want it so that anytime the user goes to my homepage if they are logged in it will redirect them to their profile page. So I will be putting this code into the homepage template
    Should it look like this?

    if ( !is_user_logged_in() && ( $bp_unfiltered_uri[0] != $bphelp_my_front_page ) )
    header( 'Location: http://www.yoursite.com/' ) ; );
    
    elseif(none);
    
    }
    

    Should $bphelp_my_front_page be replace with ‘True’ or ‘Yes’?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar