2019-06-30, 09:04 AM
Adding
if($sort_field == 'u.lastactive' && $mybb->usergroup['canviewwolinvis'] == 0)
{
$sort_field = "u.invisible ASC, CASE WHEN u.invisible = 1 THEN u.regdate ELSE u.lastactive END";
}
at https://github.com/mybb/mybb/blob/mybb_1...t.php#L154 would place invisible users at the end, sorted by registration date, unless the current user has proper permissions.
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz