Davey-UK
12-18-2013, 05:57 PM
I recently had a mod made to show my latest paid subscriptions in my forum home page. Now i know about registering templates, using hooks etc, but how do i get it to show in the forum sidebar?
The question is, what template hook is used?
The code in the plugin ends with $templater = vB_Template::create('latest_paidsubs_wgo');
$templater->register('latest_paidsubs_html', $latest_paidsubs_html);
$template_hook['forumhome_wgo_pos2'] .= $templater->render();
$template_hook['forumhome_above_forums'] .= $templater->render();
What would i need to change? If anyone can have a go at making this work, it would be appreciated. I can send the xml file to you if required.
Thankyou in advance.
The question is, what template hook is used?
The code in the plugin ends with $templater = vB_Template::create('latest_paidsubs_wgo');
$templater->register('latest_paidsubs_html', $latest_paidsubs_html);
$template_hook['forumhome_wgo_pos2'] .= $templater->render();
$template_hook['forumhome_above_forums'] .= $templater->render();
What would i need to change? If anyone can have a go at making this work, it would be appreciated. I can send the xml file to you if required.
Thankyou in advance.