MyBB Community Forums
[Pushed] Being "hidden" isn't so hidden if you know where to look - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Pushed (https://community.mybb.com/forum-183.html)
+----- Thread: [Pushed] Being "hidden" isn't so hidden if you know where to look (/thread-223681.html)

Pages: 1 2


RE: Being "hidden" isn't so hidden if you know where to look - NotAdmin - 2019-06-30

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


RE: Being "hidden" isn't so hidden if you know where to look - Ashley1 - 2019-06-30

"Use the memberlist to quickly view who is online" ?

No, never. I use the whosonline functionality for that.


RE: Being "hidden" isn't so hidden if you know where to look - Devilshakerz - 2019-06-30

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_1821/memberlist.php#L154 would place invisible users at the end, sorted by registration date, unless the current user has proper permissions.


RE: Being "hidden" isn't so hidden if you know where to look - Ashley1 - 2019-06-30

(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_1821/memberlist.php#L154 would place invisible users at the end, sorted by registration date, unless the current user has proper permissions.

Thanks, that looks fine.


RE: Being "hidden" isn't so hidden if you know where to look - Eldenroot - 2019-06-30

Will be added via GitHub? Seems like a good idea!


RE: Being "hidden" isn't so hidden if you know where to look - NotAdmin - 2019-06-30

(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_1821/memberlist.php#L154 would place invisible users at the end, sorted by registration date, unless the current user has proper permissions.

That works great   Smile


RE: Being "hidden" isn't so hidden if you know where to look - Tactrus - 2019-07-01

(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_1821/memberlist.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


RE: Being "hidden" isn't so hidden if you know where to look - Devilshakerz - 2019-07-01

https://github.com/mybb/mybb/issues/3746, https://github.com/mybb/mybb/pull/3747