You can get rid of the switch in bigthree by just difining in the existing code.
PHP Code:
$onlinestatus = 0;
$user['IsOnline'] = false;
// now decide if we can see the user or not
if ($user['lastactivity'] > $datecut AND $user['lastvisit'] != $user['lastactivity'])
{
if ($user['invisible'])
{
if (($permissions['genericpermissions'] & CANSEEHIDDEN) OR $user['userid'] == $bbuserinfo['userid'])
{
// user is online and invisible BUT bbuser can see them
$user['invisiblemark'] = '*';
$onlinestatus = 2;
$user['IsOnline'] = true;
}
}
else
{
// user is online and visible
$onlinestatus = 1;
$user['IsOnline'] = true;
}
}
Saves a switch statement. But memberlist_resultsbit doesn't seem to access this info.