vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - What's Going On for any page (https://vborg.vbsupport.ru/showthread.php?t=316726)

nerbert 01-16-2015 10:00 PM

What's Going On for any page
 
1 Attachment(s)
This is not a polished up product; it's just the stuff you need to put the What's Going On (WGO) box on whatever page you want.

To put WGO on the forum display page all you need to do is find {vb:raw ad_location.forum_below_threadlist} on line 311 of FORUMDISPLAY and edit in as shown below

Code:

{vb:raw ad_location.forum_below_threadlist}
{vb:raw whatsgoingon}

For other pages you will have to edit in THIS_SCRIPT and page template names into the three active plugins. You can move the "WGO: Render Whatsgoingon Template" plugin to either the start or complete hook location for the desired page or put it in global_start or global_complete

I've provided an inactive plugin for testing template hooks inside the WGO template. You can delete it if you want.

Installation:

Upload the product XML file in the product manager and do the edit described above


All times are GMT. The time now is 09:12 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.01003 seconds
  • Memory Usage 1,702KB
  • 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
  • (1)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