The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I've whipped up a very simple script that outputs the names of users in a specified forum. However, I can't figure out how to pass this info on so that it's parsed as a variable in the forumhome template. Any help would be greatly appreciated.
|
#2
|
|||
|
|||
![]()
as long as the variable has a value before you evalute a template containing the variable it shoud work.
$test="This is a test"; eval("\$stuff = \"".gettemplate('some_template')."\";"); eval("dooutput(\"".gettemplate('another_template') ."\");"); You need to make sure that the variable is declared and has a value before evaluating the template with the variable within it. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|