PDA

View Full Version : Style thread entry based on usergroup for admins.


Greg-J
07-31-2006, 06:21 AM
I would be interested, and would pay if need be, in a way to style my thread posts as a Site Admin differently than other threadposts. Adding or changing a classname to the <td>.

Does anyone know of a conditional I can add to the template to do this? I'm still not up to speed on all the variables of vbulletin as I've only had it about a week or so - but I am willing to get my hands dirty if someone could give me some direction.

Thank you.

Kirk Y
07-31-2006, 10:41 AM
Just a basic Admin only condition:
<if condition="$bbuserinfo[usergroupid] == 6">
You can see this because you're an Admin!
<else />
You can see this because you're something other than an Admin!
</if>

Greg-J
07-31-2006, 06:27 PM
Thanks! I'll toss that in when I get a chance,

Cheers.