The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Is $foruminfo or some equivalent available in global_start?
Is $foruminfo or some equivalent available in global_start?
I'm defining some common functions there and I need to use $foruminfo or equivalent inside those functions. |
#2
|
|||
|
|||
it is, but why asking before trying?
|
#3
|
||||
|
||||
Maybe, I tried it and it isn't working. So given the lack of documentation I thought I would ask.
The answer is that it depends. In some cases $foruminfo is populated and in other cases it isn't. Generally, when a threadid or forumid is provided in the url, $foruminfo is populated. In my case, I needed the information in the index.php script. My solution was to pass the non-global $forum within my forumbit_display function calls to the functions I defined in global_start. |
#4
|
||||
|
||||
$foruminfo isn't available in global_start, it isn't defined yet.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|