![]() |
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]"> Thank you |
The $post array is only available in the postbit templates. You need to use $bbuserinfo in its place.
|
Was thinking it might have been something like that. Just confirmed that it worked.
Thanks! |
All times are GMT. The time now is 06:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|