Ho to display \"Status Update\" only – the right way
I like the added Status Updates component in trunk. I need to display only the Status Update by it self, without the ‘clear’ button, timestamp, or update box. So I use the following code in my template (I could make a function in my bp-custom I suppose). I am wondering if there is a better -shorter- approach even though there is nothing wrong with this either:
$user_id = $bp->displayed_user->id;
$status = get_usermeta( $user_id, 'bp_status' );
I realize it is a new component, but was wondering if there are other bleeding edge developers out there, that could elaborate?
You must be logged in to reply to this topic.