[Pushed] Being "hidden" isn't so hidden if you know where to look
#11
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
Reply
#12
"Use the memberlist to quickly view who is online" ?

No, never. I use the whosonline functionality for that.
What goes around comes around
Reply
#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
#14
(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.
What goes around comes around
Reply
#15
Will be added via GitHub? Seems like a good idea!
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#16
(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
Reply
#17
(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
Reply
#18
https://github.com/mybb/mybb/issues/3746, https://github.com/mybb/mybb/pull/3747
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)