![]() |
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.
|
Piecing together instructions of both buro9 and hidjra, I was able to install this for 3.5.
I hope it's not wrong of me to do this but I went ahead and updated the text file instructions for 3.5. This is a great hack, again many thanks. Edit: Text file removed, as I discovered what I did is frowned upon here. |
Quote:
The only real difference is adding the elements to the admincp. I'm sure most of us simply upgraded manually ;) Though I'm also sure that your file will be very appreciated by those who would prefer a fuller set of instructions :) |
Quote:
But it won't work for 3.5, so I just thought it may help a few people to outline the process of making this work in 3.5. It's not a big deal, but like you said, many prefer a full set of instructions, and are not always confident in manipulating code, nor able to solve a problem when an error occurs. So I just combined yours and hidjra's instructions. Cheers and thank you again for this wonderful hack :) |
Quote:
|
thanks a lot , buro9
i have template mod like background picture in the quick reply text message area https://vborg.vbsupport.ru/showthrea...und+quickreply i dont know if this would make it disappear |
Quote:
I can't see the source code of the template to be able to see what it might do. The hack you linked to is very old and the original zip file attached to that thread is no longer there. I would suggest that you either add this template to the array of bad_templates so that it doesn't get compressed (everything else still will), or that you uninstall that hack or revert the template. |
thanks again for a fast reply, buro9
i added too many hacks and now i have no idea how to uninstall that so would you please show me how to add that template to array of bad_templates ? |
Quote:
PHP Code:
PHP Code:
Oh, one more thing... if you have already applied the hack and it is still broken, uncompress the templates, apply this change, and the re-compress the templates :) |
omg, u r so fast, man
you rock thanks a ton let me go try that now |
yeah, it works like a champ
it skips that template, now my forum going way faster thanks a million for all your help, buro9 |
Quote:
vBulletin ships valid XHTML Transitional code... so it's just up to you to make sure when you hack it that things are still cool. Examples: Close your tags: <p> should always have an end </p>, <img> should always have a self-closing slash <img />. Include required attributes: <script> has to have a type: <script type="text/javascript"> Comment out your JavaScript for non-capable browsers: <script type="text/javascript"><!-- function boo() {alert('boo');} // --></script> Lots of TR tags are missing. Etc, etc. If your HTML is clean, it will render much faster as the browsers job is much easier. |
i didn't know that i got that many errors on my page. i keep wondering why my homepage load so damn slow
thanks a lot for showing me all of those stuffs, buro9 that will be my next project :up: buro9 |
Awesome, optimized my forums, no errors, very smooth and efficient as always but with a noticable loading speed increase.
Thanks / *INSTALLED* |
can anyone convert this into a xml plugin for 3.5?
Anyway just to add to the others who posted instructions to install on vb3.5 1.) https://vborg.vbsupport.ru/showpost....&postcount=165 2.) https://vborg.vbsupport.ru/showpost....&postcount=167 3.) add the code above Code:
// ############################################################################# That should do it, works like a charm :) |
Quote:
I offered to either release it or give it to the original author to release, but got no response. |
Quote:
|
Hi all,
I have 3.5.2 but the area thats requires this edit: PHP Code:
PHP Code:
PHP Code:
|
wow this really really works. Nice. Real nice.
|
Quote:
Ill try to wokr on whatever I can today and tomorrow; im working on the backup system right now. |
Quote:
|
All times are GMT. The time now is 12:18 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:
|