The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'd like to wrap a bit of code in an <if> statement so that it does not display in sticky threads. The code is in the postbit_legacy template, so I'm not sure if I'd use $post or $thread. Something like this is what I had in mind:
HTML Code:
<if condition="!$threadinfo['sticky'] == 1"> CODE </if> Edit: Sorted! Here's how I accomplished it, if anyone is curious: HTML Code:
<if condition="!$threadinfo['sticky']"> CODE </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|