Thanks guys, and I got it to work.
I inserted the code into the contruct_forum_bit() function in functions_forumdisplay.php, and I thought that the hook there appeared too late for it to work for me. I'll give it a shot though. All my code does is run a continue if the forum being constructed has a pageid that doesn't match the supplied variable, given it's present.
My next goal is to change the initial query made to populate the forumcache with only forum needed; but I still can't find where that first query is made. :?
|