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

Legendary Kid 06-10-2003 10:00 PM

Color Coded Users Online Currently Hack
 
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.

sleepbirdcyp 06-11-2003 12:06 PM

already done by someone?

Boofo 06-11-2003 12:08 PM

Yes, a few times over a long time ago. ;)

Dean C 06-11-2003 01:21 PM

Yes this has been done several times over by many different people. If your hack isn't any different then i'll have to delete it?

Sorry :) Keep hacking though ;)

- miSt

wolfe 06-12-2003 10:05 PM

Quote:

06-11-03 at 09:00 AM Legendary Kid said this in Post #1
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.


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 :D

S.Shady 06-12-2003 10:31 PM

you could do it with replacments easaly
all you would have to do is figure out how to put that field in the styles. :) ill try for fun since i need to learn php.

S.Shady 06-12-2003 10:52 PM

i got the replacments and i got the text boxes in the style page but i cant figure out how to make it edit the replacments

wolfe 06-12-2003 11:58 PM

give me a min

wolfe 06-12-2003 11:59 PM

d00d even easier run these querys

PHP Code:


INSERT INTO settinggroup VALUES 
(50'Members HighLight Colors'50);

INSERT INTO setting VALUES (NULL50'Administrator Glow Color''admincolor''#xxxxxx''Choose Which Color You Want The Administrators To Highlight In'''1);
INSERT INTO setting VALUES (NULL50'Super Moderator Glow Color''supmodcolor''#xxxxxx''Choose Which Color You Want The Super Moderators To Highlight In'''2);
INSERT INTO setting VALUES (NULL50'Moderator Glow Color''modcolor''#xxxxxx''Choose Which Color You Want The Moderators To Highlight In'''3);
INSERT INTO setting VALUES (NULL50'Normal Member Glow Color''memcolor''#xxxxxx''Choose Which Color You Want The Normal Member To Highlight In'''4); 


then edit the index.php file where the hack is installed and then find <font color=" xxxxx " and replace with these values

so here example


For Admins put $admincolor
For Super Mods put $supmodcolor
For Mods put $modcolor
For Normal Members put $memcolor

and then go into the admin options and set the colors :D all done :D


if you have more groups just insert a new option :D

:D

Legendary Kid 06-13-2003 01:56 AM

coo, but when i was searching i found one where you just type stuff in the admin panel and it does the color change. I did not know this had been made before when i created this. The reason it was not more ummm better, is because i just started learning php and i dont know much about it or querys.


All times are GMT. The time now is 06: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.01040 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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