The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Moving the location of a mod within forumhome template
Hello,
I have been playing around with Show Poll in Forum Home mod, it seems to work. Except it's showing right after breadcrumb... Although it is in the mod graveyard, my question here is not really about how it works but how to move it to a different area in Forumhome. Ideally {vb:raw ad_location.board_after_forums} or {vb:raw ad_location.board_below_whats_going_on}. Basically just somewhere below the forums. The current Hook Location is forumhome_complete for the mod to show, here is the end of the show poll PHP code Code:
$templater = vB_Template::create('polloptions_table'); $templater->register('pollbits', $pollbits); $templater->register('pollenddate', $pollenddate); $templater->register('pollendtime', $pollendtime); $templater->register('pollinfo', $pollinfo); $poll = $templater->render(); } $dt_poll['dt_poll'] = $poll; vB_Template::preRegister('FORUMHOME', $dt_poll); } Thank you very much! W |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|