vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Caching phrasegroups (https://vborg.vbsupport.ru/showthread.php?t=101971)

The Geek 12-02-2005 05:11 PM

I think you misunderstood me,

What I mean is that there IS code in vanilla global.php between those hooks adding to the phrasegroup. My point was that it was obviously a mistake.

Furthermore I was begging in a rather distasteful fashion for someone to contemplate putting a hook between $forumid setting and language construction :)

Thanks!

Andreas 12-02-2005 05:32 PM

Yes, there is code - but it actually does ... nothing :)

Quote:

putting a hook between $forumid setting and language construction
As I've been trying to explain in the last few posts, this is not possible.

init_language() ... if (postid) if (threadid) if (forumid) if (pollid) => forumid found

The Geek 12-02-2005 09:24 PM

gotacha. Surely the forumid discovery code could go before language initialization. Forumid discovery doesnt require language initialization.

Or maybe im up in the night, Im just speaking off the cuff :)

Andreas 12-03-2005 01:45 AM

That would be a possiblility, but as said: With the current code structure it is not possible to have a Hook between forumid detection and langage initialization ;)

mostof 05-20-2006 05:48 PM

OK Forumid are not available during language initialization...
what about styleid?

can i play around with the language being initialized depending on teh style chosen? If so, can someone please give me an example on how to go about this?

Thanks and best regards....


All times are GMT. The time now is 07:15 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.01136 seconds
  • Memory Usage 1,717KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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