The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi everyone. I want to change the background color of the userinfo container for postbit legacy. I wrote the following conditional statement:
Code:
<vb:if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] != $post['postid']"> <div class ="userinfo" style = "background:white"> <else /> <div class="userinfo" style = "#F2F6F8"> </vb:if> Code:
<div class ="userinfo" style = "background:white"> Help! Any ideas? --------------- Added [DATE]1382856881[/DATE] at [TIME]1382856881[/TIME] --------------- Got it. Code:
<vb:if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] != $post['postid']"> <div class ="userinfo" style = "background:white"> <vb:else /> <div class="userinfo" style = "#F2F6F8"> </vb:if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|