Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #22  
Old 08-25-2007, 07:52 PM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, how to hide the admin from forumhome?
Reply With Quote
  #23  
Old 12-30-2007, 01:18 PM
Zagis Zagis is offline
 
Join Date: Jun 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a version of this mod for vB 3.7?
Reply With Quote
  #24  
Old 05-06-2008, 11:26 AM
Mischievious Mischievious is offline
 
Join Date: Feb 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works just fine as is for 3.7.0.
Reply With Quote
  #25  
Old 05-06-2008, 02:40 PM
J98680Bxxxxx J98680Bxxxxx is offline
 
Join Date: Jan 2008
Location: Bridge - Enterprise
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mischievious View Post
This works just fine as is for 3.7.0.
Affirmative :up:

Thanks Allan.
Reply With Quote
  #26  
Old 05-06-2008, 05:05 PM
rasp187 rasp187 is offline
 
Join Date: Dec 2005
Location: Ohio
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #27  
Old 05-29-2008, 09:20 AM
DAdiguzeL DAdiguzeL is offline
 
Join Date: Feb 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
So, how to hide the admin from forumhome?
Is there anybody who answer to this question?
Reply With Quote
  #28  
Old 06-10-2008, 10:58 PM
Mischievious Mischievious is offline
 
Join Date: Feb 2004
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't hide Admins from Forum Home. It only hides Admins and their activites from Who's Online and Profiles.
Reply With Quote
Reply


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 06:10 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.04547 seconds
  • Memory Usage 2,283KB
  • Queries Executed 22 (?)
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
  • (5)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
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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