PDA

View Full Version : Hide Admin in "Who is Online" and "Profil"


Allan
07 Jan 2007, 09:05
Hide Admin in "Who is Online" and "Profil"
(Compatible with All vB3.6)


Description: Hide Admin in "Who is Online" and "Profil"
Recommandation: Install this plugin so: http://www.vbulletin.org/forum/showpost.php?p=817105&postcount=4 ;)

In the whosonlinebit template, to the top, add:
<if condition="$userinfo['userid'] != 1">

In the same template, at the bottom, add:
</if>

In the memberinfo template, find:
<if condition="$show['lastactivity']">

Add before:
<if condition="$userinfo['userid'] != 1">

In the same template, find:
<div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div>

Add after:
</if>
PS: If you use this mod, click on Install (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=135767) please :)

ConqSoft
07 Jan 2007, 09:37
You can just make yourself invisible to accomplish the same thing.... It's built in.

my3shadows
09 Jan 2007, 04:19
You can just make yourself invisible to accomplish the same thing.... It's built in.

Yes, but what if you have a usergroup that you've allowed to see invisible people, but you don't want them to see you? Isn't that what this is for?

G_Man
09 Jan 2007, 04:53
Yes, but what if you have a usergroup that you've allowed to see invisible people, but you don't want them to see you? Isn't that what this is for?

Exactly. I have asked about this before and never gotten so much as a reply.

Very Nice.

Allan
10 Jan 2007, 08:38
Recommandation: Install this plugin so: http://www.vbulletin.org/forum/showpost.php?p=817105&postcount=4 ;)

RFViet
11 Jan 2007, 15:08
So, supermod and mod won't see admin on who's online ??

rjmjr69
27 Jan 2007, 09:28
Are there any install instructions for the one you posted Allen?

G_Man
29 Jan 2007, 01:57
I installed this and... well... nothing.

Odd.

Was wondering if this would cause the Admin to not show up on forumehome, either (assuming I can get it to work at all)...

brvheart
29 Jan 2007, 02:35
thank you :) *installs*

PinkDaisy
12 Feb 2007, 15:19
I'm wondering about this...
If you have a custom profile field that users/admin can fill out, how do you get that to show up as their 'location' instead of hiding them or their real location, know what I mean ?? What code would you use to make that happen instead of hiding them ??

Thanks in advance!

crazymeezer
13 Feb 2007, 00:46
Was wondering if this would cause the Admin to not show up on forumehome

I agree, that would be great. Admin doesn't show up when you click through to whoeonolne page, but they still show up in the who's online list on forumehome.

deezelpope
20 Mar 2007, 10:07
It doesn't work...:(

*[/URL] [URL="http://www.badgirljammieclub.com/community/online.php"]Currently Active Users (http://www.badgirljammieclub.com/community/index.php#top): 2 ( 1 members and 1 guests ) *

One is me invisible, and the other is me in Admin CP.

LisaD1
24 Mar 2007, 05:30
LOL mine works too well. I can't even see myself in whos online. I will have to work on this one. I definately like the idea!!

LisaD1
24 Mar 2007, 19:23
I hope Allan doesn't mind me posting this, but this is what worked for me :) Remove it if it is not OK to post, with my sorries!!
In both the areas where this is used

<if condition="$userinfo['userid'] != 1">

ADD THIS
<if condition="$userinfo['usergroup'] != 6">


I really hope this is OK to share. Works great on our forum!!

Shazz
24 Mar 2007, 20:13
"Who is Online" and "Profil"
*Profile*?

Nathan2006
10 Apr 2007, 20:27
Thanks Allan

Install :)

PinkDaisy
10 Jun 2007, 23:30
This doesn't work for me. :(

athlon64bit
28 Jul 2007, 06:53
It does not hide name from home page of "what's going on" but does hide the username from currently active info. Needs more work. It ain't working if the name shows at the bottom of the forums home page.

kylek
16 Aug 2007, 09:50
Anyone, any ideas on how to hide user in current active users?

MetalORock
16 Aug 2007, 15:40
great job allan ;)

Cybershaolin
25 Aug 2007, 20:52
So, how to hide the admin from forumhome?

Zagis
30 Dec 2007, 14:18
Is there a version of this mod for vB 3.7?

Mischievious
06 May 2008, 12:26
This works just fine as is for 3.7.0.

J98680Bxxxxx
06 May 2008, 15:40
This works just fine as is for 3.7.0.

Affirmative :up:

Thanks Allan. :)

rasp187
06 May 2008, 18:05
Yes, it works perfectly in 3.7.0 but here's the code for the membersinfo tempate:

<if condition="$prepared['lastactivitydate'] OR $prepared['action']">

Before this you add the:


<if condition="$userinfo['userid'] != 1">

Then you add the </if> after this:

<span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if>
</div>

DAdiguzeL
29 May 2008, 10:20
So, how to hide the admin from forumhome?

Is there anybody who answer to this question?

Mischievious
10 Jun 2008, 23:58
It doesn't hide Admins from Forum Home. It only hides Admins and their activites from Who's Online and Profiles.