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)
-   -   Advance Online User Colours Per Style (https://vborg.vbsupport.ru/showthread.php?t=53962)

assassingod 06-29-2003 07:20 PM

Hehe, so many mistakes by me.

Re-check the install file.

mskgr 07-14-2003 01:15 PM

I want WOL colours :)

assassingod 07-14-2003 01:35 PM

Your wish is my command;)

mskgr 07-14-2003 01:50 PM

Well I can't say that I can integrate it in your hack yet, but it seemed so easy that I tried to do another hack :P @ online.php

line 628 / online.php
PHP Code:

  while ($user $DB_site->fetch_array($allusers)) {
    if (
$user['userid']) { // Reg'd Member
      
$key $user['userid'];
      if ((
$userinfo["$key"]['lastactivity'] < $user['lastactivity']) or !$userinfo["$key"]['lastactivity']) {
        
$userinfo["$key"]['realname'] = $user['username'];
        if (
$user['usergroupid'] == and $highlightadmin) {
          
$userinfo["$key"]['username'] = "<strong style=\"color:#cc0000;\">$user[username]</strong>";
        } else if (
$user['usergroupid'] == and $highlightadmin) {
          
$userinfo["$key"]['username'] = "<strong style=\"color:#009900;\">$user[username]</strong>";
        } else if (
$user['usergroupid'] == and $highlightadmin) {
          
$userinfo["$key"]['username'] = "<strong style=\"color:#662211;\">$user[username]</strong>";
        } else {
          
$userinfo["$key"]['username'] = $user[username];
        } 

It seems to work fine - and i added the option to highlight differently my super moderators. I hope you can integrate it easily with your hack for at least mods, super-mods and admins :P

Thanks for a great hack btw.

Sacrifice 07-28-2003 10:37 PM

Mine's messed up on the user groups beneath the names (and the names) are like this:

{admino}Sirius{adminc}

{admino}

assassingod 07-28-2003 10:50 PM

Not sure why that's happening, only guess is you haven't addded anything for that particular usergroup.

Also, i'd like to apologize for delays in promises I made, alas I will get them done soon.

NeRilkA 08-21-2003 02:53 PM

Hi, did you think about the explanation to add an other usergroup please ?

thanks a lot

albibak 08-22-2003 07:40 AM

I have a problem.
Tags don't work

See the firts screen for the config and the second for the appear problem.

albibak 08-22-2003 07:42 AM

And the second

Thanks for the help

albibak 08-22-2003 10:34 AM

No, it's good ;)


All times are GMT. The time now is 01:12 PM.

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.01203 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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