![]() |
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. |
it is, but why asking before trying?
|
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. |
$foruminfo isn't available in global_start, it isn't defined yet.
|
All times are GMT. The time now is 03:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|