The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]()
Still not sure what file to put it in for a stock template since I am not exactly writing a plugin or anything but I was pretty tired and will look into it later.
I have an issue related to the former global variable seemingly caused by a plugin registering another variable though. Was hoping maybe there was some insight into it though I informed the developer. Code:
$date = date('Y'); $templater = vB_Template::create('dbtech_vbdonate_adv_portal_donate'); $templater->register('output', $output); $templater->register('date', $date); $show['dbtech_vbdonate_adv_portal_donate'] = $templater->render(); This was why I was hoping on trying to properly register the variable to the stock template and I am sure when I get up in the morning I will figure out what file to edit but it might not do anything anyways so i figured id ask why this other template registering variables not related all of a sudden screws this up. This plugin that is causing this the specific file with that specific code which when removed stops the problem is hooking at global_start if it matters. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|