I'm trying to get a variable in to an html block in ESB, using the plugin / template variable system. This works fine using a plugin for the sidebar on forumhome and forumdisplay, but it doesn't work on showthread. My plugin for showthread is identical to those that work fine for the other forum pages:
hook: showthread_start
Code:
vB_Template::preRegister('SHOWTHREAD',array('admanager_id_banner' => $foruminfo['admanager_id_banner']));
vB_Template::preRegister('navbar',array('admanager_id_banner' => $foruminfo['admanager_id_banner']));
vB_Template::preRegister('block_html_noborder_forum_mpu',array('admanager_id_banner' => $foruminfo['admanager_id_banner']));
(admanager_id_banner is a google DFP adslot id for each forum)
I have tried sending the variable to sidebar_ext too but no difference. Is there anything different I should do for showthread to make this work?