The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Could someone please refresh my memory...
On one of my old websites, I had the following template set up: global_start hook: Code:
eval('$regbar = "' . fetch_template('$regbar') . '";'); And a template named regbar And was then able to use $regbar inside of almost any standard vbulletin template and grab the contents of $regbar Now I'm trying to do the same thing on a different board but can't remember what else needs to be done. Is there also a PHP code edit I'm forgetting about? |
#2
|
|||
|
|||
![]()
I think you just want to remove the $ from the template name, like:
Code:
eval('$regbar = "' . fetch_template('regbar') . '";'); |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|