The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
global_complete is one of the last things called. I think what you want is something like global_setup_complete.
I was looking at code a little, and while I'm sure in th past I've suggested that people use $forumid or $GLOBALS['forumid'] (it has an 'S' at the end), it looks like that's a bad one to use unless you're using a hook that's only called on forum.php. It looks like most of the time, $foruminfo['forumid'] is what you'd want (unless you know you're interested in $threadinfo or $post). |
#12
|
||||
|
||||
Quote:
global_setup_complete hook not works thank you kh99, MarkFL & Easy5s.net |
Благодарность от: | ||
MarkFL |
#13
|
|||
|
|||
Oh, right, I see now that you're doing str_replace() on $output. That would have to be done at the end using global_complete. I'm still kind of surprised that $GLOBALS['forumid'] works, but I can't argue with success.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|