vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Moving the location of a mod within forumhome template (https://vborg.vbsupport.ru/showthread.php?t=256156)

way2xtreme 12-29-2010 11:35 PM

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

way2xtreme 12-31-2010 04:08 AM

Any takers on this one?

Thanks.


All times are GMT. The time now is 06:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01166 seconds
  • Memory Usage 1,706KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete