![]() |
Thanks a lot, great hack!
|
~ clicks install..... I have plans for this :)
|
installs
|
Erwin, is there any way to make $age = "Age: $userage<br>"; template controlled without the queries shooting up?
I did it like this: Code:
// Age in postbit - Erwin Many thanks, Oblivion Knight. |
Add
age to the $templatesused=" section in showthread.php under the POSTBIT section. :) |
Quote:
I tried this and the queries still stay much higher than they were before. It doesn't help that I'm not feeling well at the moment I guess.. :sleep: |
There are 2 templatesused="
in showthread.php Put that template "age" in both of them and see if it helps. Yes, you need to use your code for templates to be used. By caching the template, you should not incur any queries at all. It can be done. |
Well I'll be.. I could have sworn I tried that. :p
Until the new template is added, the queries stay higher than they should be (probably something I forgot last time). Then once it's added, the queries return to normal. |
Glad to know it works, and it does not add any queries. :)
|
Added this hack a while back. Works great and like someone said above, I too have plans for this. ^^;;
|
All times are GMT. The time now is 10:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|