The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I had no problem doing it in 3.8. I just updated to 4.1.1 and I'm trying to update everything. but I keep getting a parse/eval error "%1$s"
what am I doing wrong? Code:
<vb:if condition="{vb:raw post.field10} == 'yes'">
<vb:if condition="{vb:raw post.field11}">
<br /><a href="{vb:raw post.field11}" target="_blank" ><img border="0" src="{vb:raw options.homeurl}/images/custom/poty.png" /></a>
<vb:else />
<br /><img src="{vb:raw options.homeurl}/images/custom/poty.png" />
</vb:if>
</vb:if>
|
| Благодарность от: | ||
| Chris8 | ||
|
#2
|
||||
|
||||
|
In conditions, you use the 'old' style to call the variable:
HTML Code:
<vb:if condition="$post['field10'] == 'yes'">
|
|
#3
|
|||
|
|||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|