The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Admin default post color
Hello I was wondering if anyone new the code for default post color for admin or any group of your choice. This is what I had with vB 3.8.4
Code:
<!-- message --> <div id="post_message_$post[postid]"> $ad_location[ad_showthread_firstpost_start] <!--message--> <if condition="$post['usergroupid'] == '5'"> <div style="color: red"> </if> <if condition="$post['usergroupid'] == '6'"> <div style="color: purple"> </if> <if condition="$post['usergroupid'] == '7'"> <div style="color: red"> </if> <if condition="$post['usergroupid'] == '27'"> <div style="color: orange"> </if> $post[message] <if condition="$post['usergroupid'] == '5'"> </div> </if> <if condition="$post['usergroupid'] == '6'"> </div> </if> <if condition="$post['usergroupid'] == '7'"> </div> </if> <if condition="$post['usergroupid'] == '25'"> </div> </if> <!--message--> |
#2
|
||||
|
||||
It should work. Let's see exactly what you tried in the vB4 template. A link to see this in action would also help.
|
#3
|
|||
|
|||
It gave me an error when I tried to save it. That's probably because I don't know where it goes on vB4 I tried searching for the same variable like in the prior vbulletin.
|
#4
|
||||
|
||||
You did change the if's, right? Instead of <if , you write <vb:if and instead of </if , you write </vb:if
|
#5
|
|||
|
|||
No I didn't . I will try it but where would I place it?
NM got it thanks for the help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|