vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Hide Admin in "Who is Online" and "Profil" (https://vborg.vbsupport.ru/showthread.php?t=135767)

Allan 01-06-2007 10:00 PM

Hide Admin in "Who is Online" and "Profil"
 
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....05&postcount=4 ;)
  • In the whosonlinebit template, to the top, add:
PHP Code:

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

  • In the same template, at the bottom, add:
PHP Code:

</if> 

  • In the memberinfo template, find:
PHP Code:

<if condition="$show['lastactivity']"

  • Add before:
PHP Code:

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

  • In the same template, find:
PHP Code:

<div>$userinfo[action$userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div

  • Add after:
PHP Code:

</if> 

PS: If you use this mod, click on Install 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

Quote:

Originally Posted by ConqSoft (Post 1152476)
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

Quote:

Originally Posted by my3shadows (Post 1154256)
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....05&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

Quote:

Originally Posted by G_Man (Post 1169434)
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...:(

* Currently Active Users: 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

Quote:

Originally Posted by Mischievious (Post 1510289)
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:

Quote:

<if condition="$prepared['lastactivitydate'] OR $prepared['action']">
Before this you add the:


Quote:

<if condition="$userinfo['userid'] != 1">
Then you add the </if> after this:

Quote:

<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

Quote:

Originally Posted by Cybershaolin (Post 1325669)
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.


All times are GMT. The time now is 04:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01241 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete