The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi
I used this in postbit template but did not show anything: Code:
<if condition="$post['field5']"> AAAAA: $post[field5] </if> |
#2
|
|||
|
|||
![]()
What is the content of this field?
|
#3
|
|||
|
|||
![]()
text
|
#4
|
|||
|
|||
![]()
try
Code:
<if condition="$post['field5']"> AAAAA: $user[field5] </if> |
#5
|
|||
|
|||
![]()
That code is incorrect Spank. $post is the variable that should be used in the template.
Make sure the field actually contains some data too! Else it won't show up at all. |
#6
|
|||
|
|||
![]()
I usually use the $post variable, but I noticed one of the mods I'm using it uses $user['field#'] and works fine.
|
#7
|
|||
|
|||
![]()
Possibly but $post contains all the data associated with a post and therefore will work unless you're doing something wrong.
|
#8
|
|||
|
|||
![]()
That was a problem on changing template .. the first code works correctly.
thanks anyway |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|