Back to vBulletin 3 Articles

Tip: Locate Uncached Templates in your hack codes
by Logician 12 Jul 2003

This small hack shows uncached templates to admins while you are browsing the board.

I find it handy when coding a large hack where you use a lot of new templates. Instead of going through the entire code and find out which templates you have, I just run the hack page and at the top I get all uncached templates names with this hack while I'm browsing it.

The hack is designed to work in test boards where you develop the project but I don't think it is a big deal if you install in a real board.

For newbies: Uncached templates add additional queries to your hack code so the best practise is to add their names in the $templatesused variable at the top of your code to make your hack more performance friendly.
Attached Files
File Type: txt show uncached template to admins.txt (1.4 KB, 70 views)

vblts.ru supports vBulletin®, 2022-2024