The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hide Admin & Super Mod Whos Online Location
I need to determine if there's a way I can hide the location of our admins and super mods from regular members when viewing the Who's Online page.
"Can View Detailed Location Info for Users" is set to No in the usergroup permissions, but what is visible is still too much information. Also, what I've found while searching doesn't seem to work with the current release of vB. I'm assuming I could modify this bit of the whosonlinebit template, but I'm not 100% sure what to add. Code:
<if condition="$show['where']"> <div class="smallfont" style="margin-top:1px"> <if condition="$show['subscribed']"><img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /></if> $userinfo[where] </div> </if> I'd really appreciate any help with this! Thanks! |
#2
|
|||
|
|||
If show detailed is set to no for regular members, what information is still displayed that you don't want?
|
#3
|
||||
|
||||
Members are able to see whether or not we are viewing the Admin/Moderators Control Panel and/or any one of our private (not hidden) access request forums. Our private forums deal with fairly sensitive personal topics, and as "staff" we must be able to view these. Our members know this, but we would prefer it not be so terribly obvious.
The screen shot below shows what a regular member would see if I were to access the Admin Panel: ETA: Just one more thing... I realize this request seems pretty minimal and borderline silly. Unfortunately, we have a greater need for this now. lol Typical drama that comes along with a board full of women. |
#4
|
||||
|
||||
Sorry to bump this. Would a modification to the following line in the online.php file be the way to go? I'm just not sure how to adjust this for an entire usergroup...
$userinfo["{$vbulletin->userinfo['userid']}"]['location'] = '/online.php'; PHP Code:
And if not, would it be easier to hide all admins and supermods completely from the WOL page rather than hide just their location? I'm trying to work through this and not having the greatest luck. Hopefully, I'm missing something minor. Any sort of guidance would be greatly appreciated. Thanks! |
#5
|
||||
|
||||
Last bump. I can't imagine this is as difficult as it's appearing. I'm not looking for hand holding....just any thoughts on how I would begin. Thanks
|
#6
|
||||
|
||||
Something like this might work for you. (this is part of the whosonlinebit template)
Code:
<td class="alt2" width="35%"> <if condition="in_array($userinfo[displaygroupid], array(5, 6)) AND !is_member_of($bbuserinfo, 5, 6)"> <b>$vbphrase[unknown_location]</b> <else /> <div> <span style="float:$stylevar[right]"> <if condition="$show['lockedout']"><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="$vbphrase[viewing_forum_closed]" /></if> <if condition="$show['nopermission']"><img src="$stylevar[imgdir_statusicon]/wol_nopermission.gif" alt="$vbphrase[viewing_no_permission_message]" /></if> <if condition="$show['errormessage']"><img src="$stylevar[imgdir_statusicon]/wol_error.gif" alt="$vbphrase[viewing_error_message]" /></if> <if condition="$show['reallocation']"><img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$userinfo[location]" /></if> </span> $userinfo[action] </div> <if condition="$show['where']"> <div class="smallfont" style="margin-top:1px"> <if condition="$show['subscribed']"><img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /></if> $userinfo[where] </div> </if> </if> </td> |
#7
|
||||
|
||||
Analogpoint, I can't thank you enough! I tweaked it just a bit to change the location, lol which is minor to say the least. Anyway, this is exactly what we needed.
Thanks again! |
#8
|
|||
|
|||
to hide what i was doing on who online I use this mod :
https://vborg.vbsupport.ru/showthread.php?t=145428 |
#9
|
||||
|
||||
Quote:
|
#10
|
||||
|
||||
Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|