The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Background Color when Admin or Mod posts?
I was wondering if there was a way (or a mod for 3.7) to give a sort of "fade-away" background color when an Administrator, or Moderator posts. I've seen it on a 3.6 forum a while back, but have not seen it yet on 3.7.
I'll include an image of what I mean. |
#2
|
||||
|
||||
In postbit(_legacy), find:
HTML Code:
<if condition="$show['moderated']"> <td class="alt2" id="td_post_$post[postid]"> <else /> <td class="alt1" id="td_post_$post[postid]"> </if> HTML Code:
<if condition="$show['moderated']"> <td class="alt2" id="td_post_$post[postid]"> <else /> <if condition="is_member_of($post, X)"> <td class="YOUR_CLASS" id="td_post_$post[postid]"> <else /> <td class="alt1" id="td_post_$post[postid]"> </if> </if> Replace YOUR_CLASS with your own CSS class. |
#3
|
|||
|
|||
That works perfectly, thanks Dismounted.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|