The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
problem with userfield
I have added a new userfield.
It has two options, "option-1" and "option-2". Option-1 is the default. I have added this code to several places of my forum: PHP Code:
The parts of the forum are not showing, which means, userfield 64 is always "option-2". I don't understand what's going on. Is this a problem with the template cache? --------------- Added [DATE]1240426589[/DATE] at [TIME]1240426589[/TIME] --------------- I tried it with bbuserinfo, but could not get it to work, either. --------------- Added [DATE]1240427457[/DATE] at [TIME]1240427457[/TIME] --------------- I try to use this in several templates, for example: header, navbar, forumhome. |
#2
|
||||
|
||||
Place this somewhere (it will display the output of the variable):
Code:
$bbuserinfo[field64] |
#3
|
|||
|
|||
Yes, I did that. And I am stupid, too, as I should have used != instead of ==.
It's working now as intended. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|