Okay, I have edited online.php so that my mods can see invisible users.
Also, I note that if you have "Show the actual thread I am viewing on who's online" set to "no" - it now displays as "private" even for admins and moderators, wheras before it was private for normal users, but admins could see it.
This modification will allow both mods and admins to see invisible users on the who's online screen, and in addition shows what they are viewing, even if they have this turned off.
/ubbthreads/online.php
Change everything in between "// Replace their location with something that makes sense" and the next comment, to the following.
// Replace their location with something that makes sense<br /> if (stristr($RealWhat,"faq_")) {<br /> $RealWhat = "faq_english";<br /> }<br /> $What = $ubbt_lang[$RealWhat];<br /> if (!$What) { $What = $ubbt_lang['all_admin']; }<br /><br /><br /> if ($user['U_Status'] != "Administrator" and $user['U_Status'] != "Moderator" and $Visible == "no") {<br /> continue;<br /> }<br /> $extra = "";<br /> if ($Visible == "no") {<br /> $extra = "(I)";<br /> }<br /> $regrow[$x]['extra'] = $extra;<br /> $Last = $html -> convert_time($Last,$toffset);<br /> $EUsername = $Uid;<br /> $PUsername = $Username;<br /> if ($Color) {<br /> $PUsername = "<font color=\"$Color\">$Username</font>";<br /> }<br /> $regrow[$x]['color'] = $color;<br /> $regrow[$x]['EUsername'] = $EUsername;<br /> $regrow[$x]['PUsername'] = $PUsername;<br /><br /> if ($Status == "Administrator") { $Status = $ubbt_lang['USER_ADMIN']; }<br /> if ($Status == "Moderator") { $Status = $ubbt_lang['USER_MOD']; }<br /> if ($Status == "User") { $Status = $ubbt_lang['USER_USER']; }<br />