![]() |
fetch_template issue
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? |
I think you just want to remove the $ from the template name, like:
Code:
eval('$regbar = "' . fetch_template('regbar') . '";'); |
All times are GMT. The time now is 06:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|