vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Authorities Online (https://vborg.vbsupport.ru/showthread.php?t=38648)

dreamhost 07-04-2002 07:12 AM

great hack, is it possible to have it say admins, super moderators, moderators etc, with listing after each?

Heineken77 07-17-2002 12:52 AM

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.

Heineken77 07-18-2002 02:07 AM

Anyone have any guesses as to why my Authorities field reads 0 when there are infact Authorities online? :(

lifesourcerec 07-20-2002 09:07 PM

I want to be able to add more groups. It just adds admin and not moderators.

lifesourcerec 07-24-2002 03:52 PM

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?

lifesourcerec 07-24-2002 05:56 PM

Never mind. I just basically combined the 2 and it works great :)

StevenTN 08-09-2002 08:27 PM

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.

LOD-squa 08-17-2002 05:23 PM

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?

StevenTN 08-30-2002 12:03 PM

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.

dimava 10-06-2002 04:14 AM

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


All times are GMT. The time now is 11:08 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.01073 seconds
  • Memory Usage 1,756KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete