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
Details »»

Version: , by Afterburner Afterburner is offline
Developer Last Online: Oct 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-04-2001 Last Update: Never Installs: 124
 
No support by the author.

Code:
With this hack you have colored usernames of: - Administratoren (ID:6) 
                                              - Supermoderatoren (ID:5) 
                                              - Moderatoren (ID:7) und
                                              - registred Members (ID:2) 
in your Onlinelist on the mainpage.
You have to enable "Highlight Admin" in your CP, if not all is shown like the registrated members (blue)

Orginal settings of this hack:

Administrator:   "red"  
Supermoderator:  "darkred"
Moderator:       "green"
Member:          "blue"

You can change the color in the Index.php(3) (there is a remark)

Show Your Support

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

Comments
  #52  
Old 02-08-2002, 06:41 PM
mondaynightmike's Avatar
mondaynightmike mondaynightmike is offline
 
Join Date: Jan 2002
Location: Northamptonshire
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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???
Reply With Quote
  #53  
Old 02-09-2002, 11:26 AM
mondaynightmike's Avatar
mondaynightmike mondaynightmike is offline
 
Join Date: Jan 2002
Location: Northamptonshire
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its ok i have got it working now. Thanks great hack
Reply With Quote
  #54  
Old 02-26-2002, 11:44 AM
datatec datatec is offline
 
Join Date: Jan 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #55  
Old 02-26-2002, 04:15 PM
streamzone streamzone is offline
 
Join Date: Nov 2001
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #56  
Old 02-26-2002, 11:12 PM
streamzone streamzone is offline
 
Join Date: Nov 2001
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i solved the problem. real dumb mistake on my part too!
Reply With Quote
  #57  
Old 03-05-2002, 04:30 AM
Lucky Lucky is offline
 
Join Date: Dec 2001
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 
Reply With Quote
  #58  
Old 03-05-2002, 04:35 AM
Lucky Lucky is offline
 
Join Date: Dec 2001
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #59  
Old 03-23-2002, 08:31 PM
datatec datatec is offline
 
Join Date: Jan 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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....
Reply With Quote
  #60  
Old 03-23-2002, 10:15 PM
datatec datatec is offline
 
Join Date: Jan 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #61  
Old 03-24-2002, 12:42 AM
Lucky Lucky is offline
 
Join Date: Dec 2001
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 01:09 PM.


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.04486 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
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_code
  • (4)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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