PDA

View Full Version : quick question so i can convert my products =)


Dr.CustUmz
03-22-2022, 01:12 AM
I was just wondering if I had this stuff right so I can upgrade some of my products.

$templater = vB_Template::create('template');
$templater->register('var', $vbulletin->GPC['text']);
$template_hook['hook_location'] .= $templater->render();

$cache[] = 'template';


is the same as saying

$var = $vbulletin->GPC['text'];
eval('$template .= "' . fetch_template('template') . '";');
$template_hook['hook_location'] .= $template;

$globaltemplates = array_merge($globaltemplates, array('template'));

is this correct when comparing vb3 to vb4?