[buddypress-trac] [BuddyPress] #3286: Redirect to Friends Activity on Profile

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Jun 17 19:25:38 UTC 2011

#3286: Redirect to Friends Activity on Profile
 Reporter:  chrisgagner  |      Owner:
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:
 Keywords:               |
 Hey, I currently have the following redirect function on my buddypress

 function bp_profile_homepage()
         global $bp;
         if(is_user_logged_in() && bp_is_front_page())
                         wp_redirect( $bp->loggedin_user->domain );

 This redirects me to my profile activity when I'm logged in.
 Ex: www.mysite.com/members/userid

 I am trying to figure out how to alter this code so that it will redirect
 to my friends profile activity located at the url:

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3286>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list