![]() |
damn, this works like a champ
my board is heavily modified and i dont have any experience in coding or anything i mod it and it works at the first time. my board load so fast now thanks a million for writting this code edit: i just check my board again, and somehow, my quickreply text box disappeared :nervous: anyone know wat happen ? |
above it, i did that and it works
HTML Code:
//############################################################################# |
Any chance for a 3.5 Version?
|
Quote:
|
Quote:
Just copy the block of code into the foot of admincp/template.php And then add this XML to includes/xml/cpnav_vbulletin.xml Code:
<navoption comment="HACK : COMPRESS TEMPLATES" displayorder="51"> Code:
</navgroup> The hack continues to work perfectly in vb3.5 :) |
Oh, and I added the 'comment' attribute as I like being able to search the whole code base and see instantly what modifications I need to migrate at update time by simply looking for the word HACK. :)
|
Quote:
if it's a select/read querie: from '$DB_site->query' to '$db->query_read' if it's a update/write querie: from '$DB_site->query' to '$db->query_write' You also need to add the phrases 'compressall' and 'uncompressall'. otherwise they won't show up in de navigation-menu of your adminCP. You can also remove the badtemplates 'phpinclude_start' and 'phpinclude_end'. They don't exist in vb3.5 gold Hidjra |
this mod rocks, i luv it so much, it speeds up the forum like crazy
but does anyone here have the same problem like me after you compress the template, your text message box disappears. Here is a pic of my quick reply after the template compression https://vborg.vbsupport.ru/ |
Quote:
Have you hacked that template though? Put anything in there that might make it less than rock solid (stacks of JavaScript and weird HTML for example?). You can just figure out what the template name for that is and add it to the array of templates to skip. However it shouldn't be an issue, figure out where you've broken it and fix that would be the better solution :) |
Oh... and an example of the before and after HTML would be appreciated... at least we'd be able to understand what went wrong then.
|
All times are GMT. The time now is 11:46 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:
|