The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$post[fieldx] question
Hi all,
does $post[fieldx] works in de header template?, anyone who can help me? PHP Code:
|
#2
|
|||
|
|||
yea it should work.
dont forget to change the x |
#3
|
|||
|
|||
Hi EnIgMa1234,
Nope not working for me, i have made 2 radio buttons with the User Profile Field Manager with the text Yes and No (just for testing) but when i add this in my header PHP Code:
Thanks.... |
#4
|
|||
|
|||
In the header template?
I think you should be using $vbulletin->userinfo[field5] instead of $post[field5] That will return what you have input for your own profile. |
#5
|
|||
|
|||
nope, all i get is this Array[field5]
Thanks |
#6
|
|||
|
|||
Try $bbuserinfo[field5]
That reminds me I need to find out what the difference is between them. |
#7
|
|||
|
|||
Oh i love you, thats the one..
thank you |
#8
|
|||
|
|||
|
#9
|
||||
|
||||
Quote:
$bbuserinfo is its template equivalent. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|