The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 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? |
#2
|
|||
|
|||
![]()
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. |
#3
|
||||
|
||||
![]()
in the hack find:
Code:
} else if (($loggedin['usergroupid'] == 5) and $highlightadmin) { $username = "<b><font color=darkred>$loggedin[username]</font></b>"; // Color for Supermod Code:
} else if (($loggedin['usergroupid'] == X) and $highlightadmin) { $username = "<font color=Orange>$loggedin[username]</font>"; // Color for Asst admin Code:
} else if (($loggedin['usergroupid'] == 5) and $highlightadmin) { $username = "<b><font color=darkred>$loggedin[username]</font></b>"; // Color for Supermod Code:
} else if (($loggedin['usergroupid'] == X) and $highlightadmin) { $username = "<font color=Orange>$loggedin[username]</font>"; // Color for Asst admin Code:
<font color="red" size="2">? Administrator</font> * Code:
<font color="Orange" size="2">? Asst Administrator</font> * |
#4
|
|||
|
|||
![]() Quote:
![]() Thanks Sebastian. Ill give that a go ![]() |
#5
|
|||
|
|||
![]()
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? |
#6
|
||||
|
||||
![]()
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. |
#7
|
|||
|
|||
![]()
nice work Sebastian. I got it squared away.
![]() |
#8
|
|||
|
|||
![]()
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?
|
#9
|
||||
|
||||
![]()
replace the dot with:
Code:
<b><big>& middot;</big></b> |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|