The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Variables disappear in template
I have a custom template that worked with vB 3, but now with vB 4, the variables are not being displayed. I noticed that they were still in the old syntax ($variable), so I put them into the new syntax ({vb:var variable}). With the old syntax, I saw the text of the variable name, but not the contents. With the new syntax, I see nothing.
I didn't write this template, but I am now the one to maintain it. What needs to happen between assigning the variable in profile.php and $templater->register('HTML', $page_templater->render());? PHP Code:
--------------- Added [DATE]1305760928[/DATE] at [TIME]1305760928[/TIME] --------------- It took me a bit of time, but the solution was to make the first part like this. PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|