Again, all credit goes to Chen for the original hack.
I’ve merely modified it, so that two extra queries are saved on forumhome – there’s no point running the queries again since index.php has already calculated it.
This hack modifies 1 php file and 2 templates. It’s easy.
Using my method, you save yourself 2 queries on forumhome. We use this at vB.org too.
Instructions in the HTML file zipped below.