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();
With this code present and the file enabled all of a sudden {vb:raw GLOBALS.permissions.pmquota} in the header stops working on pages this part of the plugin works on which would be any vbAdvanced pages, the index and i added one other page. But all other pages the variable still displays fine.
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.