vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   "WGO" in sub forums (https://vborg.vbsupport.ru/showthread.php?t=242729)

osayidan 05-17-2010 09:02 PM

"WGO" in sub forums
 
Hello,

I'm trying to figure out how to include the "what's going on" area into sub forums. I have my forum set up similar to vbulletin.org, with different categories acting as sections to the site, and I would like to offer the site stats to people who hang around in one section rather than going to the home page.

I managed to get it to display on the forums I wanted using conditionals, so only the category forums have it. However it only shows in plain text, for example:

Quote:

What's Going On?
Currently Active Users
Most users ever online was
With no CSS or data, just the above text. I'm guessing I need to somehow tell VB that I want those templates and that data included in the forumdisplay template, but I get totally lost at this point.

I read an article on how to bring in variables, but I have no idea -which- variables to even begin with.

Is there any documentation on this somewhere? or an existing mod that either does this or comes close to it that I can study it? Or if it's just a matter of a few simple steps if someone can post that and get it all over with it would be nice too.

Thanks.


All times are GMT. The time now is 09:23 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.01014 seconds
  • Memory Usage 1,709KB
  • 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_quote_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