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
Color Coded Users Online Currently Hack Details »»
Color Coded Users Online Currently Hack
Version: 1.00, by Legendary Kid Legendary Kid is offline
Developer Last Online: Aug 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-10-2003 Last Update: Never Installs: 18
 
No support by the author.

What this does:
Makes the users currently online box color coded upon usergroup. So admins and registered users names appear in diffrent font colors.

Querys to run: 0
Files to edit: 1 (index.php)
Templates to add: 0
Instilation time: 30 sec

Contacts for help are in the notepad

Thanks to zajako for helping me make this.

Show Your Support

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

Comments
  #12  
Old 06-13-2003, 09:52 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

d00d thats what the above does in the admin option
Reply With Quote
  #13  
Old 06-15-2003, 12:33 AM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
06-13-03 at 12:05 AM wolfe said this in Post #5
d00d if you want to make a update for the orignal one of this hack where admins can change the usergroup colors in the admin cp that would be better than rerelasing it if you need help with the code let me know



I already did this but you can do it per style, which is much easier.
Reply With Quote
  #14  
Old 06-18-2003, 03:07 AM
Killa2002 Killa2002 is offline
 
Join Date: Oct 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did this hack, but the admin that created the forums stayed bold and italicized, its version 2.2.6
Reply With Quote
  #15  
Old 06-22-2003, 03:37 PM
dkilburn's Avatar
dkilburn dkilburn is offline
 
Join Date: Nov 2001
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added this but it just changed the color of the first person on the list... hmmm.... I am using v 2.2.9

Here's what I have in index.php:

PHP Code:
      if ($loggedin['usergroupid'] == and $highlightadmin) {
          
$username "<font color=brown><b><i>$loggedin[username]</i></b></font>";

      }elseif (
$loggedin['usergroupid'] == 2) {
          
$username "$loggedin[username]";

      }elseif (
$loggedin['usergroupid'] == 5) {
          
$username "<b><font color=green>$loggedin[username]</font></b>";

      } else if ((
$mod["$userid"] or $loggedin['usergroupid'] == 7) and $highlightadmin) {
          
$username "<font color=blue>$loggedin[username]</font>";

      } else {
      echo 
"";
                
$username $loggedin['username']; 
Reply With Quote
  #16  
Old 12-27-2003, 05:25 AM
brownafroduck brownafroduck is offline
 
Join Date: Oct 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this! Even though I did not directly follow the hack itself, reading through it helped me to learn the syntax I needed to do minor changes on my own forum! I also applied this usergroup color thing to one of my other hacks that I use, Number of Active Users Today.

http://www.acciofirebolt.com/forum/

Scroll to the bottom to see.

Thanks again!
Reply With Quote
  #17  
Old 12-31-2003, 03:10 PM
Ph0eniX Ph0eniX is offline
 
Join Date: Aug 2002
Location: NY[++++ing]C
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Legendary Kid
What this does:
Makes the users currently online box color coded upon usergroup. So admins and registered users names appear in diffrent font colors.

Querys to run: 0
Files to edit: 1 (index.php)
Templates to add: 0
Instilation time: 30 sec

Contacts for help are in the notepad

Thanks to zajako for helping me make this.
It doesn't change the color of the first person in the list. Anyone have any idea why? For now, I changed the display order so regular users are displayed before mods and admins but that's not really a solution.
Reply With Quote
  #18  
Old 02-06-2004, 09:39 PM
Crank Crank is offline
 
Join Date: Jan 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ya im on 2.3.4 and this is not working for me either
Reply With Quote
  #19  
Old 02-08-2004, 10:50 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it, however when I have more than on Administrator online, the first one is the only one with color. Same with the other groups..
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 12:21 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10196 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_php
  • (2)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
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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_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