I we własnej aplikacji chcesz to wyświetlić? Jaka to aplikacja? Generalnie wychodzi na to, że pojęcie o kodowaniu masz, więc to możesz zrobić przy pomocy tej metody:
/**
* Parse a member for display
*
* @param mixed Either array of member data, or member ID to self load
* @param array Array of flags to parse: 'signature', 'customFields', 'warn'
* @return array Parsed member data
*/
static public function buildDisplayData( $member, $_parseFlags=array() )
{
Gdzie masz:
//-----------------------------------------
// Online?
//-----------------------------------------
$time_limit = time() - ( ipsRegistry::$settings['au_cutoff'] * 60 );
$member['_online'] = 0;
$bypass_anon = ipsRegistry::member()->getProperty('g_access_cp') ? 1 : 0;
list( $be_anon, $loggedin ) = explode( '&', empty($member['login_anonymous']) ? '0&0' : $member['login_anonymous'] );
/* Is not anon but the group might be forced to? */
if ( empty($be_anon) && self::isLoggedInAnon($member) )
{
$be_anon = 1;
}
/* Finally set the online flag */
if ( ( ( $member['last_visit'] > $time_limit OR $member['last_activity'] > $time_limit ) AND ( $be_anon != 1 OR $bypass_anon == 1 ) ) AND $loggedin == 1 )
{
$member['_online'] = 1;
}