vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Access other variables? (https://vborg.vbsupport.ru/showthread.php?t=122701)

Kaitlyn2004 08-01-2006 06:09 AM

Access other variables?
 
Okay, so I have created a left column for my forum home.

the template is forumhome_leftcol

how can I make it so that I would be able to move the "What's going on" section into this template? Because it just doesn't get any of the variable values...

Kirk Y 08-01-2006 07:56 AM

Like I was saying in the other thread, variables for the WGO section are for the forumhome template only, you'll need to global them for use elsewhere.

rogersnm 08-01-2006 08:00 AM

I released a global hack on vBH read the pm.

Kaitlyn2004 08-01-2006 04:35 PM

Quote:

Originally Posted by acidburn0520
Like I was saying in the other thread, variables for the WGO section are for the forumhome template only, you'll need to global them for use elsewhere.

Can this be done without modifying source code?

Quote:

Originally Posted by rogersnm
I released a global hack on vBH read the pm.

:(

Was hoping for birthdays too! lol

Kirk Y 08-01-2006 08:26 PM

No, I believe all you'd need would be a plugin or two. I never really looked into it, but I doubt it would be all that difficult.

Kaitlyn2004 08-01-2006 08:57 PM

Quote:

Originally Posted by acidburn0520
No, I believe all you'd need would be a plugin or two. I never really looked into it, but I doubt it would be all that difficult.

I'm still learning all this, so if you know how to implement a plugin to globalize the WGO section, that'd be great!

rogersnm 08-01-2006 08:59 PM

i'm working on adding birthdays ;)

Kaitlyn2004 08-01-2006 09:08 PM

Quote:

Originally Posted by rogersnm
i'm working on adding birthdays ;)

The only thing with your plugin is that you're doing the queries all over again... Adding unnecessary queries :(

rogersnm 08-01-2006 09:10 PM

your not technically doing it all over again you just doing it once because it doesn't exist. And thats the only way you can't get variables out of the db without using queries you can't just summon them out of thin air.

Kirk Y 08-01-2006 09:20 PM

That'd be pretty cool though... lol.

$air->userinfo['username'];

:p


All times are GMT. The time now is 10:33 PM.

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.00996 seconds
  • Memory Usage 1,726KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete