PDA

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


Allan
01-06-2007, 10:00 PM
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: https://vborg.vbsupport.ru/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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=135767) please :)

ConqSoft
01-07-2007, 08:37 AM
You can just make yourself invisible to accomplish the same thing.... It's built in.

my3shadows
01-09-2007, 03:19 AM
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
01-09-2007, 03:53 AM
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
01-10-2007, 07:38 AM
Recommandation: Install this plugin so: https://vborg.vbsupport.ru/showpost.php?p=817105&postcount=4 ;)

RFViet
01-11-2007, 02:08 PM
So, supermod and mod won't see admin on who's online ??

rjmjr69
01-27-2007, 08:28 AM
Are there any install instructions for the one you posted Allen?

G_Man
01-29-2007, 12:57 AM
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
01-29-2007, 01:35 AM
thank you :) *installs*

PinkDaisy
02-12-2007, 02:19 PM
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
02-12-2007, 11:46 PM
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
03-20-2007, 09:07 AM
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
03-24-2007, 04:30 AM
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
03-24-2007, 06:23 PM
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
03-24-2007, 07:13 PM
"Who is Online" and "Profil"
*Profile*?

Nathan2006
04-10-2007, 07:27 PM
Thanks Allan

Install :)

PinkDaisy
06-10-2007, 10:30 PM
This doesn't work for me. :(

athlon64bit
07-28-2007, 05:53 AM
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
08-16-2007, 08:50 AM
Anyone, any ideas on how to hide user in current active users?

MetalORock
08-16-2007, 02:40 PM
great job allan ;)

Cybershaolin
08-25-2007, 07:52 PM
So, how to hide the admin from forumhome?

Zagis
12-30-2007, 01:18 PM
Is there a version of this mod for vB 3.7?

Mischievious
05-06-2008, 11:26 AM
This works just fine as is for 3.7.0.

J98680Bxxxxx
05-06-2008, 02:40 PM
This works just fine as is for 3.7.0.

Affirmative :up:

Thanks Allan. :)

rasp187
05-06-2008, 05:05 PM
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
05-29-2008, 09:20 AM
So, how to hide the admin from forumhome?

Is there anybody who answer to this question?

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