MyBB Community Forums

Full Version: Being "hidden" isn't so hidden if you know where to look
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Yes, but I'm sure I'm not alone in using the memberslist to quickly view who is online as an Admin Tool - just as at the moment you can see the "last online" info if you are an admin even if a member hides this data from others
"Use the memberlist to quickly view who is online" ?

No, never. I use the whosonline functionality for that.
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.
(2019-06-30, 09:04 AM)Devilshakerz Wrote: [ -> ]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.

Thanks, that looks fine.
Will be added via GitHub? Seems like a good idea!
(2019-06-30, 09:04 AM)Devilshakerz Wrote: [ -> ]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.

That works great   Smile
(2019-06-30, 09:04 AM)Devilshakerz Wrote: [ -> ]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.

We love devilshakerz don't we guys
Pages: 1 2