Skip to:

Home page Redirect?

  • I am using Bp Profle as Home page plugin and it is working pretty good. However it currently redirects it to my personal activitiy. I need it to direct users to the “Friends Activity” tab. Here is the code it uses:

    ‘wp_redirect( $bp->loggedin_user->domain );’

    I know I need to add a slug to the end of it but I cant figure it out! I know it is a very simple fix, please help guys! Thanks! PS NEVERMIND, Figured it out! Cannot delete this topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • you could post your solution…



    @Morgue89: yeah i would really like to see your solution posted :)

    @roman @bender001

    Well I modified another php file to give my users a post box over the friends activity area, then I used this redirect code: wp_redirect( $bp->activity->slug );

    Now it mimics facebook, you have a landing page with all your friends activity, a place to post your updates, and the redundant nav and profile picture is gone. I really like this set up as I feel it will improve user interactivity.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Home page Redirect?’ is closed to new replies.
Skip to toolbar