![]() |
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 |
Have you managed to find an answer, because I'm interested in this too.
|
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> |
All times are GMT. The time now is 02:11 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|