The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
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! |
#12
|
||||
|
||||
Yes, there is code - but it actually does ... nothing
Quote:
init_language() ... if (postid) if (threadid) if (forumid) if (pollid) => forumid found |
#13
|
||||
|
||||
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 |
#14
|
||||
|
||||
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
|
#15
|
|||
|
|||
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.... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|