Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Hide Admin in "Who is Online" and "Profil" Details »»
Hide Admin in "Who is Online" and "Profil"
Version: 1.00, by Allan Allan is offline
Developer Last Online: Mar 2017 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 01-06-2007 Last Update: Never Installs: 53
Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-12-2007, 11:46 PM
crazymeezer crazymeezer is offline
 
Join Date: Jan 2005
Location: Sydney, Australia
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by G_Man View Post
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.
Reply With Quote
  #13  
Old 03-20-2007, 09:07 AM
deezelpope deezelpope is offline
 
Join Date: Feb 2007
Posts: 1,272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 03-24-2007, 04:30 AM
LisaD1's Avatar
LisaD1 LisaD1 is offline
 
Join Date: May 2005
Location: True North Strong & Free!
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!
Reply With Quote
  #15  
Old 03-24-2007, 06:23 PM
LisaD1's Avatar
LisaD1 LisaD1 is offline
 
Join Date: May 2005
Location: True North Strong & Free!
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!



Reply With Quote
  #16  
Old 03-24-2007, 07:13 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Who is Online" and "Profil"
*Profile*?
Reply With Quote
  #17  
Old 04-10-2007, 07:27 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Allan

Install
Reply With Quote
  #18  
Old 06-10-2007, 10:30 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't work for me.
Reply With Quote
  #19  
Old 07-28-2007, 05:53 AM
athlon64bit athlon64bit is offline
 
Join Date: Mar 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #20  
Old 08-16-2007, 08:50 AM
kylek kylek is offline
 
Join Date: Oct 2003
Location: British Columbia, Canada
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone, any ideas on how to hide user in current active users?
Reply With Quote
  #21  
Old 08-16-2007, 02:40 PM
MetalORock's Avatar
MetalORock MetalORock is offline
 
Join Date: Jul 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great job allan
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:42 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06199 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete