Quote:
Originally posted by JakeC
Erwin, Is this what the code you posted does? I'm not a programer but it didn't seem like it. Let me know.
|
Yes.
Also, remember to add
forumhome_welcometext, forumhome_logoutcode, forumhome_newposts, forumhome_logincode
to the end of this line in global.php in your forum folder if you want to add that code above to the phpinclude template.
PHP Code:
$templatesused.='
If you do this, you will have NO additional queries to your pages. If you don't do this, my fix could give every page an additional 3 queries if you're logged in, or 1 extra query if you're logged out.