![]() |
How can I make the thead gradient different for my premium usergroup?
I'm trying to find out how I can set it so that on any premium members posts, the "thead" gradient is different from normal members posts. Thanks in advance to anyone who can help. Basically that entire top bar where the time / date stamp, post #, etc are displayed. I want to have a different bg gradient there on premium members posts.
|
Lets say that you have a tablecell that says:
Code:
<td class="thead"> </td> Code:
<if condition="is_member_of($bbuserinfo,6,)"> But if you only have one usergroup you would want to change this for, then it works. |
Cool. Sounds simple enough. Only where exactly would I go to add the css class? I think that's something I've yet to ever edit in vb. Thanks a million for the help.
|
styles and templates in the AdminCP -> pick your style -> press OK -> scroll down allmost all the way to the bottom and you'll find it ;)
|
that wont display the different color to everyone. It will only display it to users in usergroup 6.
|
^Well darn. How can I make it so everyone see's the different color gradient for premiums?
|
Anyone?
|
Code:
<if condition="is_member_of($post, 6)">stuff for admin posts<else />stuff for non-admin posts</if> |
Oh, you ment that you wanted the thead to be permanent a sertain color and that everyone sees it?
I thought you just wanted all the thead's to be like red if you're logged in as admin, and green if you're logged in as a regular user and so on (: |
Yeah basically Im just doing it as an extra perk for my premium members. I need everyone to see that premium members have a different color gradient on their posbits than everyone else.
|
All times are GMT. The time now is 10:47 PM. |
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:
|