The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Colored Backgrounds(Like Runescape Forums)
Alright. Not sure if any of you have ever seen the runescape forums. If a Jagex Mod(admin) posts their background is gold. If a forum mod posts their background is a nice green.
How can I do this for VB? On all skins. Basically I need a script I can place into the Vbulletin filles(or if I must, a template based script) that makes this happen. I want Admin = Gold Mod = Dark green |
#2
|
|||
|
|||
Have you managed to find an answer, because I'm interested in this too.
|
#3
|
||||
|
||||
You would do this with a template conditional in your postbit or postbit_legacy template. It doesn't specify if this is for vBulletin 3.x or 4.x but the code is a little different.
In VB 3.x you find $post[message] in the template... Look for a <div> or <td> tag above it, find which one you want to use (some HTML knowledge is required here) Inside the tag you'd add something like: Code:
<if condition="is_member_of($bbuserinfo, 6)">style="background:gold;"</if><if condition="is_member_of($bbuserinfo, 5,7)">style="background:green;"</if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|