Asterix_ita
06-29-2010, 02:00 PM
Hello
I can not understand what has changed during the transition from VB 4.0.3 to VB 4.0.4
I created a plugin that inserted a new template at the end of postbit, all worked in 4.0.3 to 4.0.4 does not work
variables are recorded through this code
if ($ctads['ok'] && $ctads['template'] == 0)
{
$templater = vB_Template::create('postbit_ads_ct_2th');
$templater->register('post', $post);
$templater->register('ctads', $ctads);
$template_hook['postbit_end'] .= $templater->render();
}
if ($ctads['ok'] && $ctads['template'] == 1)
{
$templater = vB_Template::create('postbit_legacy_ads_ct_2th');
$templater->register('post', $post);
$templater->register('ctads', $ctads);
$template_hook['postbit_end'] .= $templater->render();
}
mi potete dare un aiutino, vedo che altri plugin non funzionano bene
I can not understand what has changed during the transition from VB 4.0.3 to VB 4.0.4
I created a plugin that inserted a new template at the end of postbit, all worked in 4.0.3 to 4.0.4 does not work
variables are recorded through this code
if ($ctads['ok'] && $ctads['template'] == 0)
{
$templater = vB_Template::create('postbit_ads_ct_2th');
$templater->register('post', $post);
$templater->register('ctads', $ctads);
$template_hook['postbit_end'] .= $templater->render();
}
if ($ctads['ok'] && $ctads['template'] == 1)
{
$templater = vB_Template::create('postbit_legacy_ads_ct_2th');
$templater->register('post', $post);
$templater->register('ctads', $ctads);
$template_hook['postbit_end'] .= $templater->render();
}
mi potete dare un aiutino, vedo che altri plugin non funzionano bene