![]() |
Quote:
|
Quote:
I'll try and contact you, and help you out. |
Quote:
|
Nice hack
Klick install yours Markus |
Quote:
Contacted; Fixed problem Notice: Everyone use the new version, I was replacing tabs with '', which would cause some problems if in links; now its replaced with a single space ' '. |
Trigunflame is a gent and solved my problem :)
HOTM I say :) Laters |
Another problem.
Clicked edit and my page is twice its size? Not my day? |
Quote:
|
Had a nice problem relating to the footer template and the inline javascript.
It compressed to: <script type="text/javascript"><!-- // There was a vbulletin comment here vBulletin_init(); // Initialize 'Active' Table Cells //activecells_init();//--></script> The problem with that is that // is a line comment, and then there is no line break, so the whole javascript is commented out, and menu's do not get initialised, etc. The result is that those swishy JavaScript drop down menus break. You can fix this by updating your footer template to just have: <script type="text/javascript">vBulletin_init();/script> In place of the larger block. That does it for me :) Aside from that minor problem, this hack is wonderful. I'm going to go off and search for other places that might be impacted by this though... recommendation: Don't compress JavaScript at all... leave line breaks in. |
Quote:
ie. using the updated version, my footer looks like this (Compressed Template): http://narutotalk.org HTML Code:
<script type="text/javascript"> |
Nope, everything else is working fine... editors doing their job, popups where needed are working (attachments, i have a translate hack, buddy list, thread replies, etc).
So just that one very small adjustment... and frankly, for the benefit this hack gives I'd opt for the editing of the footer template over reducing the compression the hack does. |
Quote:
I'll upgrade now :) |
It works, but I had to add a line break.
I'm not sure what version of footer I customised (most likely the vb3 beta one that I've been dragging through each update), but it had the <script block directly following the DST correction block: </if><script For some reason that I don't want to look into ;), it would not recognise that as a JS block and was compressing it. If I moved the <script onto a new line like thus: </if> <script Then it worked perfectly. As I said though... the footer template is one I modified in vb a long time ago... so this is likely not an issue as viewing the original now shows that they are indeed on new lines already and thus work perfectly. If anyone has old templates that they've modified though, they hopefully will read this and add the linebreak :) |
Hi
And here is the german translation for all german users: |
Update:
Removed support for inline javascript, all javascript stays line-per-line. Removed support for inline styles, all style data stays line-per-line. |
Would you please tell me what to change in the code, so that I can change it in the translation too?
|
Hrm,
Here's a little problem with the latest version. |
Quote:
|
Update:
Im workin on the solution, ive identied the problem as a special template. |
Update;
Finished, everyone use the newest version of the code. Problem was a certain template that delt with fonts available from drop down menu, they were being compressed also, causing errors. |
Newest version 2.0 works a treat and congrats to Dusty for his hard work and great skills :)
Thanks M8 |
Working properly now =D.
Thanks for the update, good stuff. |
Quote:
|
Hi
I also tried it out, and everything works perfect Thank you Markus |
2.0 works here too.
|
Quote:
|
i've removed the old white space stripper and installed this one instead its given me greater speed gains works good and thumbs up
|
Quote:
|
Nice hack. My forums are so much faster.. GREAT JOB!
|
I installed it but when I have the option to compress templates selected, I get this error on top of my sub-forum pages:
PHP Code:
:ermm: |
Quote:
|
Installed, but this quick hack from vbulletin.com no longer works:
http://www.vbulletin.com/forum/showthread.php?t=101600 Without compress: 1000 new posts With compress: new posts The figure just vanishes! |
Quote:
IE. Copy what I have up there now, and uncompress/recompress. If you still have a problem, contact me on AIM: Trigunflame MSN: Trigunflame@msn.com |
Update:
Everyone should update to latest script if they use php_include, the new version adds php_include_start and php_include_end to the bad templates array. |
Works great now, thanks!
|
Works just fine, clicked install :)
|
Quote:
|
I made the switch from buro9's mod to yours (as per his advise!).
Everything seems to be working perfectly.. :) |
Update, Good News.
---------------------- Support for compressing phrases has been added; this will give additional page compression to certain pages that use multi-line phrases, such as user-cp/faq/ etc.. Also added support to both for removing the ascii \n that some templates/phrases have; give even more compression. Enjoy ! |
Bah Another Update:
Bug reported; Had to add editor_jsoptions_size to the Bad Templates array, it was causing problems selecting font size. |
All times are GMT. The time now is 08:26 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:
|