Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: User Online Icon


r-a-y
Keymaster

@r-a-y

Hey DJPaul,

I think jamesyeah is talking about a general online status icon for BP and not for the buddypress.org/forums/.

@jamesyeah, check out the /bp-core/bp-core-classes.php file.

This will give you a headstart:

global $bp;
$user = new BP_Core_User( $bp->displayed_user->id); //i'm assuming you're viewing someone's profile page here
$user_status = $user->status;

I’ll take a look at this later tonight, but we’ll see if a solution is posted by then ;)

Skip to toolbar