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)
-   -   Colored Online Users Hack (https://vborg.vbsupport.ru/showthread.php?t=32149)

mondaynightmike 02-08-2002 06:41 PM

I am also experiancing the problem of one of my moderators staying blue. I changed them to moderator, and it stays blue yet my other mods go to the correct colour. I could not find an answer in ther previous posts and wondered if anyone knew how to fix it???

mondaynightmike 02-09-2002 11:26 AM

Its ok i have got it working now. Thanks great hack :)

datatec 02-26-2002 11:44 AM

This is brilliant! Thanks Afterburner

As a newbie, I put it on with ease and it works LOL

I have version 2.2.1

Please, can some one tell me how I would change it to have thus:

Group Admin
Admin
Sup Mod
Mod
Senior Member
member
Newbie

I would be very grateful

Thanks in advance

streamzone 02-26-2002 04:15 PM

hello and great hack!!

I have installed this on my 2.2.2 and color codes are there but all members remain white in the who online bar. any suggestions?

streamzone 02-26-2002 11:12 PM

i solved the problem. real dumb mistake on my part too!

Lucky 03-05-2002 04:30 AM

Quote:

Originally posted by datatec
This is brilliant! Thanks Afterburner

As a newbie, I put it on with ease and it works LOL

I have version 2.2.1

Please, can some one tell me how I would change it to have thus:

Group Admin
Admin
Sup Mod
Mod
Senior Member
member
Newbie

I would be very grateful

Thanks in advance

Know that the 8 stands for the new user group that you want. You can change this to whatever usergroup the Newbie falls into.
You can add the same thing below your additions for any other additions, just change the usergroup #.

You would add this:
PHP Code:

      } else if (($loggedin['usergroupid'] == 8) and $highlightadmin) {
          
$username "<font color=darkred>$loggedin[username]</font>"// Color for Newbie 

Right before this:
PHP Code:

      } else if (($mod["$userid"]) and $highlightadmin) {
          
$username "<b><font color=green>$loggedin[username]</font></b>"// Color for Mod 

Then you would add this:
PHP Code:

      } else if (($loggedin['usergroupid'] == 8) and $highlightadmin) {
          
$username "<font color=darkred>$loggedin[username]</font>"// Color for Newbie 

Right before this:
PHP Code:

      } else if (($mod["$userid"]) and $highlightadmin) {
          
$username "<b><font color=green>$loggedin[username]</font></b>"// Color for Mod 


Lucky 03-05-2002 04:35 AM

Quote:

Originally posted by mondaynightmike
I am also experiancing the problem of one of my moderators staying blue. I changed them to moderator, and it stays blue yet my other mods go to the correct colour. I could not find an answer in ther previous posts and wondered if anyone knew how to fix it???
Yes,

After you change your member to a Moderator you must add them to a particular forum as a moderator for the color to change.

Example:

Find the user in the admin cp. Change them to Moderator.
Then go to Forums & Moderators->Modify->add a moderator.

Then it will bring up the correct color.

Hope this helps you.

datatec 03-23-2002 08:31 PM

Hey thanks Lucky lol

I will try it.... hehe

Can I say, as a newbie, i am finding this very rewarding to learn something new.....

Thanks again....

datatec 03-23-2002 10:15 PM

Hi Lucky

Sorry bud, tried it, probs ......

I have attached a pic showing my usergroups

Could you please tell me how I can put these in order eg:
admin
sup mod
mod
etc etc...

How did/do you get these respective number for thus "8 stands for the new user group"

Maybe if i sort that first then try color hack again, hopefully it will work.......lol

Many thanks in advance

Lucky 03-24-2002 12:42 AM

If you go to online users you will be able to see what usergroup number the usergroup is as it will display in your status bar when you hover over the who's online per usergroup. Then just use that number.


All times are GMT. The time now is 11:10 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.01197 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_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