vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Who's online for staff. (https://vborg.vbsupport.ru/showthread.php?t=223711)

Dwayneb 09-22-2009 01:30 AM

Who's online for staff.
 
Is there a hack or mod that will put a link at the bottom of the page near the "contact -- Admin ext" so that only my staff can see who's online and what there doing?

I have only very rookie like programing skills and only in VB. I thought I searched but couldn't find anything. I did see a post with the "hooks" I believe its called, but like I said I don't know how to impliment it or control it so only mods and up can see who is online!

Brother Malachi 09-22-2009 02:39 AM

To put a link in the footer you can add this to the footer template:
PHP Code:

<if condition="is_member_of($vbulletin->userinfo, X,Y,Z)"
<
a href="">Some link</a>
</if> 

where X, Y and Z are usergroup id numbers.

I'm not sure what you mean by "...that only my staff can see who's online and what there doing?"

Dwayneb 09-22-2009 01:05 PM

Sorry, meaning that only mods or above can see who is online.

James Birkett 09-22-2009 01:59 PM

Do you want to make the "What's going on?" box only accessible for usergroups moderator and above? If so, wrap it in this code:
PHP Code:

<if condition="is_member_of($vbulletin->userinfo, X,Y,Z)"
<
a href="">Some link</a>
</if> 

Where X, Y and Z correspond to the usergroup IDs (Mod/SMod/Admin).

If I am mistaken, please let me know.

Lynne 09-22-2009 02:20 PM

Usergroup Manager > select usergroup > set Can View Who's Online to either Yes (for mods) or No (for all other users). Then the link will only show in the dropdown to your Mods.

Dwayneb 09-22-2009 02:28 PM

ahhh IC thank you


All times are GMT. The time now is 08:24 AM.

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.01080 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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