View Full Version : Colored Online Users
Roody
12-25-2002, 11:52 PM
I'm running the hack installed from this site on my forum boards. Currently I am working on my test forums to fix an issue I am having. Here is the situation, I want to have 5 lists of people on my boards:
1. Administrator - Red
2. Asst. Administrator - Orange
3. Super Moderator - Dark Red
4. Moderator - Green
5. Member - Blue
Here is my situation. I cant seem to figure out how to make the Asst. Admin's name actually turn Orange. I installed the Colored Online Users hack (https://vborg.vbsupport.ru/showthread.php?s=&threadid=32149&highlight=colored+online+users) and have 5 different colors listed and showing under "Current Active Users", but when I test the Asst. Admin color by signing into the Asst. Admin account its color is one of the other 4 colors.
No matter how much tweaking I have done I cant seem to figure out how to make this work. Can anyone help me?
Thanks
oh and btw, I added a 5th line of code from that hack in order to compensate for 5 different groups, but this hasnt fixed the problem. All it has done is list 5 different groups with 5 different colors, but the account that is the Asst. Admin account doesnt reflect the Orange color. Is this a problem with my settings and not my code? and if so how do i resolve this?
Auero
12-26-2002, 12:18 AM
Uhm, someone correct me if I'm wrong... But since when could there be Asst. Admin's.
It's just Admins, Super Mods, Mods, Members.
Sebastian
12-26-2002, 01:17 AM
in the hack find:
} else if (($loggedin['usergroupid'] == 5) and $highlightadmin) {
$username = "<b><font color=darkred>$loggedin[username]</font></b>"; // Color for Supermod
directly below that add:
} else if (($loggedin['usergroupid'] == X) and $highlightadmin) {
$username = "<font color=Orange>$loggedin[username]</font>"; // Color for Asst admin
in the hack find:
} else if (($loggedin['usergroupid'] == 5) and $highlightadmin) {
$username = "<b><font color=darkred>$loggedin[username]</font></b>"; // Color for Supermod
directly below that add:
} else if (($loggedin['usergroupid'] == X) and $highlightadmin) {
$username = "<font color=Orange>$loggedin[username]</font>"; // Color for Asst admin
in the hack find:
<font color="red" size="2">? Administrator</font> *
directly below that add:
<font color="Orange" size="2">? Asst Administrator</font> *
Change the X with the user group of your Asst Admins.
Roody
12-26-2002, 03:41 AM
Originally posted by Auero
Uhm, someone correct me if I'm wrong... But since when could there be Asst. Admin's.
It's just Admins, Super Mods, Mods, Members.
hence the reason im trying to set them up :)
Thanks Sebastian. Ill give that a go :)
Roody
12-26-2002, 03:54 AM
hmmm okay i just realized Sebastian that you repeated the code i already did. I have no problems adding the Asst. Admin field. The problems lies in getting the person who is setup under the created Asst. Admin field to have their name show up in Orange.
Any ideas?
Sebastian
12-26-2002, 05:38 PM
you have to get the GROUP ID of your "asst admins" did you do that? changed the X to that user group?
I know it works, i took that code from my hack, been using it for many months.
Roody
12-26-2002, 07:08 PM
nice work Sebastian. I got it squared away. :)
Roody
12-26-2002, 07:33 PM
one quick question. you put a dot in front of each title. when I attempt to apply that in my template, it doesnt stay when I choose to save it as an option. any ideas on how I can fix that?
Sebastian
12-26-2002, 08:17 PM
replace the dot with:
<b><big>& middot;</big></b>
remove the space between & middot;
Roody
12-26-2002, 09:24 PM
Im looking to make it more like a circle like the Current Active User section at the bottom of these forums (http://www.gamegeneration.net/forums) instead of a little dot.
ideas?
Sebastian
12-26-2002, 11:10 PM
<font color="Orange" size="2"><li>Asst. Administrator</li></font>
Roody
12-27-2002, 12:49 AM
that will put a circle in front of each user group name in Current Active Users?
Sebastian
12-27-2002, 01:20 AM
yup, just as i posted above. you have to do it for each group.
so:
<font color="COLOR" size="2"><li>Administrator</li></font>
<font color="COLOR" size="2"><li>Asst. Administrator</li></font>
etc...
Roody
12-27-2002, 02:14 AM
eek. it made them go downwards. i need them to go across from left to right not top to bottom. ideas?
Sebastian
12-27-2002, 03:42 AM
hrrm okay, i knew that. didn't know how you wanted them.. you should be able to put this dot in a template and save it.. it will appear: ?
so: <font color="Orange" size="2">? TEXT HERE</font>
orange:? red:? blue:? green:? :)
I have the same dot in my forums and it appears fine once i save the template.
Roody
12-27-2002, 04:15 AM
yeah you know i agree man, but for some reason it's not staying saved in one of my templates. not sure why :(
ideas?
Sebastian
12-27-2002, 06:42 AM
no idea why... it should. i have two boards; one running 228 and the other 229, both them show the dot. perhaps someone else might have an idea why.
spick
01-08-2004, 03:43 AM
Ok...Could Someone Give Me A Basic Breakdown Of Wat Codes I Should Or Shouldnt Use
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.