#3286 closed defect (bug) (no action required)
Redirect to Friends Activity on Profile
| Reported by: | chrisgagner | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hey, I currently have the following redirect function on my buddypress website:
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:
www.mysite.com/members/userid/activity/friends
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Please post support questions at http://buddypress.org/support. This forum is for discussing the development of BP itself. Thanks!