W kodzie zlicza tylko użytkowników:
$users = \IPS\Session\Store::i()->getOnlineUsers( \IPS\Session\Store::ONLINE_MEMBERS, 'desc', NULL, NULL, TRUE );
foreach( $users as $row )
{
switch ( $row['login_type'] )
{
/* Not-anonymous Member */
case \IPS\Session\Front::LOGIN_TYPE_MEMBER:
if ( $row['member_id'] != \IPS\Member::loggedIn()->member_id ) // We add them manually to make sure they go at the top of the list
{
if ( $row['member_name'] )
{
$members[ $row['member_id'] ] = $row;
}
}
break;
/* Anonymous member */
case \IPS\Session\Front::LOGIN_TYPE_ANONYMOUS:
$anonymous += 1;
break;
}
}
$memberCount = \count( $members );
Inaczej - rozpoznanych użytkowników. Dostać się tam i zmienić przy pomocy pluginów nie jest możliwe. Trzeba by napisać swój widget i tam to edytować. Wykonalne tak czy siak, ale na około.