View Single Post
  #12  
Old 29 Jul 2015, 01:51
basketmen's Avatar
basketmen basketmen is offline
 
Join Date: Nov 2006
Originally Posted by kh99 View Post
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
__________________
I am SEO specialist and forum coordinator
Reply With Quote