Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Where are the user’s links


Greg
Participant

@rebootnow

Does Andy’s approach still apply to BP 1.0?

This is what works for me now:

echo $bp->loggedin_user->domain, $bp->profile->slug;

echo $bp->loggedin_user->domain, $bp->messages->slug;

echo $bp->loggedin_user->domain, $bp->friends->slug;

echo $bp->loggedin_user->domain, $bp->groups->slug;

echo $bp->loggedin_user->domain, $bp->wire->slug;

echo $bp->loggedin_user->domain, $bp->activity->slug;

If this is inside a function, “global $bp;” must be at the top of course.

Does 1.0 have template tags to make this easier?

Skip to toolbar