User Status

Daniel Hood

Well-known member
How do they get the most recent status post for users on the member card? I see in the template it's {$user.status} but I'm not seeing where they assign that.
 
Yeah, sorry I understand that. I mean what function can I call to get status to be part of the array. I use
PHP:
$user = $userModel->getUserById($user_id);
to get the user information which works, but it does not include the status variable.

Do I need to include something like

PHP:
$userFetchOptions = array(
            'join' => XenForo_Model_User::FETCH_LAST_ACTIVITY
        );
 
Back
Top Bottom