[Pushed] Being "hidden" isn't so hidden if you know where to look
#13
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
Reply


Messages In This Thread
RE: Being "hidden" isn't so hidden if you know where to look - by Devilshakerz - 2019-06-30, 09:04 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)