Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Authorities Online Details »»
Authorities Online
Version: 1.00, by tubedogg tubedogg is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-14-2002 Last Update: Never Installs: 47
 
No support by the author.

Requested by Austin Dea.

Just download the attached file and look at it. It contains complete instructions. This one is a no-brainer and should work for any 2.2.x version of vBulletin.

If you can't handle installing this hack, I'm not sure you're ready for hacks as it is extremely simple.

As usual no PMs, no ICQ, no AIM, no emails about this hack. They will go ignored.

:bunny: :bunny:

(I am including that bunny cause I really like it )

Edit: I realized I should probably explain what this does. It adds a seperate box below the Who's Online on forumhome that lists the admins/mods who are online.

Show Your Support

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

Comments
  #32  
Old 07-04-2002, 07:12 AM
dreamhost's Avatar
dreamhost dreamhost is offline
 
Join Date: Jun 2002
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack, is it possible to have it say admins, super moderators, moderators etc, with listing after each?
Reply With Quote
  #33  
Old 07-17-2002, 12:52 AM
Heineken77 Heineken77 is offline
 
Join Date: Jul 2002
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://nba2k3.net/forum/index.php?s=

For some reason the Authorities is showing the correct users that it's supposed to, but next to "Authorities:" even when there are more than 1 mod/admin online it always says 0

What am I doing wrong Would really appreciate some advice.
Reply With Quote
  #34  
Old 07-18-2002, 02:07 AM
Heineken77 Heineken77 is offline
 
Join Date: Jul 2002
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have any guesses as to why my Authorities field reads 0 when there are infact Authorities online?
Reply With Quote
  #35  
Old 07-20-2002, 09:07 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to be able to add more groups. It just adds admin and not moderators.
Reply With Quote
  #36  
Old 07-24-2002, 03:52 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is somewhat odd. I couldn't find the lines, but manually searching, this looks different.

Here is what the hack has listed:

PHP Code:
$leader 0;
      if (
$loggedin['usergroupid'] == and $highlightadmin) {
        
$username "<b><i>$loggedin[username]</i></b>";
        
$leader++; $lead 1;
      } else if ((
$mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
        
$username "<b>$loggedin[username]</b>";
        
$leader++; $lead 1;
      } else {
        
$username $loggedin['username'];
        
$lead 0;
      }
      eval(
"\$activeusers .= \", ".gettemplate('forumhome_loggedinuser')."\";");
      if (
$lead == 1) {
        eval (
"\$leaders .= \", ".gettemplate('forumhome_loggedinuser_leader')."\";");
      } 
But here is what's in my file:

PHP Code:
$leader 0;
      if (
$loggedin['usergroupid'] == 6) {
          
$username "$loggedin[username]";
        
$leaders2++; 
        
$lead 1;
      } else if (
$loggedin['usergroupid'] == or $loggedin['usergroupid'] == 5) {
          
$username "$loggedin[username]";
        
$leaders2++; 
        
$lead 1;
      } else {
        
$username $loggedin['username'];
        
$lead 0;
      }
      eval(
"\$activeusers = \", ".gettemplate('forumhome_loggedinuser')."\";");
      if (
$lead == 1) {
        eval (
"\$leaders .= \"".gettemplate('forumhome_loggedinuser_leader')."\";");
      } 
Both are different. Should I replace the current to what's in the hack?
Reply With Quote
  #37  
Old 07-24-2002, 05:56 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never mind. I just basically combined the 2 and it works great
Reply With Quote
  #38  
Old 08-09-2002, 08:27 PM
StevenTN StevenTN is offline
 
Join Date: Mar 2002
Location: Nashville, TN
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you don't need to do the leader2 variable... in fact the $leader = 0 is totally unneeded. I got mine to display the correct # of staff by getting rid of it.
Reply With Quote
  #39  
Old 08-17-2002, 05:23 PM
LOD-squa's Avatar
LOD-squa LOD-squa is offline
 
Join Date: Aug 2002
Location: Orlando, Florida
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this error:
Parse error: parse error, unexpected $ in /home/lod-squa/public_html/forum/index.php on line 454

can anyone help me?
Reply With Quote
  #40  
Old 08-30-2002, 12:03 PM
StevenTN StevenTN is offline
 
Join Date: Mar 2002
Location: Nashville, TN
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question... what do I do about the leading comma for the first mod or admin in leaders online... it'll show

", Steven, ..."

However, if the admin or mod is the first member listed in members online, that comma doesn't show. Can anyone help to solve it?

The boards are at http://www.thrillnetwork.com/boards/ if you wish to see what I'm talking about.
Reply With Quote
  #41  
Old 10-06-2002, 04:14 AM
dimava dimava is offline
 
Join Date: Dec 2001
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by StevenTN
Question... what do I do about the leading comma for the first mod or admin in leaders online... it'll show

", Steven, ..."

However, if the admin or mod is the first member listed in members online, that comma doesn't show. Can anyone help to solve it?

The boards are at http://www.thrillnetwork.com/boards/ if you wish to see what I'm talking about.
same problem here


thanks,


Dimava
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:25 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.04907 seconds
  • Memory Usage 2,320KB
  • Queries Executed 27 (?)
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
  • (2)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
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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