The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using custom field value in the header template
Hi, I'm having some problems with displaying a custom field in the header.
If i.eg field5 is a name field, and I want to print out: Hello "name" in the header, why won't the following code work: Code:
<if condition="$post[field5]"> Hello $post[field5] </if> Thank you |
#2
|
||||
|
||||
The $post array is only available in the postbit templates. You need to use $bbuserinfo in its place.
|
#3
|
|||
|
|||
Was thinking it might have been something like that. Just confirmed that it worked.
Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|