6
huum.
That FAQ is too old and somebody should change it with the excellent comment by coopersita. ( The last comment )
you need to hack b_system_online_show in xoops255\modules\system\blocks\system_blocks.php
// START irmtfan - hack to get user group names
$member_handler =& xoops_gethandler('member');
$groups = $member_handler->getGroupsByUser($onlines[$i]['online_uid'] , true);
$userGroupNames = array();
foreach( $groups as $group ) {
$userGroupNames[] = $group->getVar('name');
}
$members .= ' <a href="' . XOOPS_URL . '/userinfo.php?uid=' . $onlines[$i]['online_uid'] . '" title="' . $onlines[$i]['online_uname'] . '">' . $onlines[$i]['online_uname'] . '</a>,';
$members .= '[' . implode('|', $userGroupNames) . ']';
// END irmtfan - hack to get user group names
I think you asked about invisible admins in another thread. so if you already have the handler ( $member_handler =& xoops_gethandler('member');) you dont need to call it again.
As you can see this online block is too old and have not any feature or ability for customization and is full of hard-codes.
I sent a feature for a online block some months ago.
I will introduce a new online block for xoops in the near future.