Quote:
Originally Posted by kh99
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).
|
$GLOBALS['forumid'] with global_complete hook is works
global_setup_complete hook not works
thank you kh99, MarkFL & Easy5s.net