The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Im working on a skin and im trying to make it so the background to others post is blue and the background to your post is yellow however I cant seem to get the conditional statement to work.
Any suggestions on how to execute a code if its only your post This is what ive been using but it doesn't work ![]() Code:
<if condition="$bbuserinfo[username] == $post[musername]">yellow<else />blue</if> |
|
#2
|
|||
|
|||
|
Quote:
Code:
<if condition="$bbuserinfo[userid] == $post[userid]"> |
|
#3
|
|||
|
|||
|
Thanks that worked
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|