The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
RealTime Template Compressor: Reduces page sizes, loads pages faster, saves Bandwidth Details »» | |||||||||||||||||||||||||||
RealTime Template Compressor: Reduces page sizes, loads pages faster, saves Bandwidth
Developer Last Online: Nov 2023
As you know all vbulletin pages consists of templates and templates consists of HTML (+sometimes javascript) tags.
Nearly in all sites and HTML pages, HTML tags are written in a readable format so that developer can read the source code easily. VB templates abide by this rule too. However when this "nicely readable" code is called by a visitor, page size unnecessarily increases because of the redundant "spaces" and "line breaks" in the source code which have no useful purpose regarding the page output but is there just for making the source code more readable to the developer. This hack removes these unnecessary spaces and line breaks from your vbulletin templates AT THE MOMENT they are displayed (in realtime). It does NOT touch your original source code so it is still readable to you when you want to edit it in your admin CP. But it compress the output when they are sent to user's browser. Removal of these unnecessary characters makes sure: a) Page output shrinks in all vb pages b) Thus page loads faster by all visitors c) You save bandwidth. Since the removed characters are unnecessary characters, display of your page does NOT change. Please see FAQ below for more info. This hack is 100% compatible with Teck's Microstat Hack and my Advanced Templates: Dynamic Templates Changing according to different conditions hack and WebTemplates 2.x: VB Integrated Content Management System . It is a very easy to install add (just a few lines in 1 step) yet effective. I appreciate if you can click INSTALL button, if you use the hack. Thank you. :glasses: Show Your Support
|
Comments |
#62
|
|||
|
|||
Thx a lot, il will save bandwith
|
#63
|
|||
|
|||
thanks logician
i always look forward to your releases |
#64
|
||||
|
||||
Quote:
|
#65
|
||||
|
||||
There are a lot more "spacing" issues then the ones mentioned above ... the "down arrow" button marking new posts also loses its spacing in forumdisplay ... the postbit buttons all become cramped together in some areas ... forum text links separated by white space all get smashed together, etc ...
I am giving this hack a chance, I really am, by hunting all templates in my test forum that contain visible white space and grumpily replacing them with ... just incorporating the hack isn't enough if you like your page to not look amateurish with all the lost white space... Even the slightest misalignment makes me cringe, what more for squished links |
#66
|
||||
|
||||
faster load time/less bandwidth usage > a couple spacing issues
Very nice! This will definitely be helpful. |
#67
|
||||
|
||||
Quote:
|
#68
|
||||
|
||||
I have this code, in a PHP include file called from global.php
PHP Code:
Code:
<td align="center" > $home_but $forums_but $cal_but $links_but $faq_but $contact_but $searchhead $memberhead $reg_ucp ... But using the compressor. they just stay in one long line and push the cell way off to the right. Is there anything I can do to fix this so that the compressor doesn't mess this up? |
#69
|
||||
|
||||
@Matthew: First try to add to your buttons like:
PHP Code:
|
#70
|
|||
|
|||
PHP Code:
|
#71
|
||||
|
||||
Nope
I did try that, what it does is just put spaces between the buttons, and they stay in a horizontal line rather than wrapping at the table border. without compression: <body bgcolor="#9E93C1" text="#000000" id="all" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10" link="#000020" vlink="#000020" alink="#000020"> <!-- BEGIN TEMPLATE: home_header --> <!-- logo and buttons --> <div class="txtcenter"> <table border="0" width="100%" cellspacing="0" cellpadding="0" > <tr> <td> </td> <td> </td> <td align="right"><bold><font face="verdana, arial, helvetica" size="2" >ASE is sponsored by:      </font></bold></td> </tr> <!-- logo --> <tr> <td valign="top" align="left" > <a href="index.php?s="><img src="http://www.screeneditors.com/images/aselogocol-230x76.gif" border="0" alt="Australian Screen Editors Guild" align="left" ></a> </td> <!-- buttons --> <td align="center" > <!-- buttons defined in ./forums/buttons.php --> <a href="../index.php?s="><img src="../forums/images/top_home.gif" alt="Home" border="0"></a> <a href="../forums/index.php?s="><img border="0" src="../forums/images/top_forums.gif" alt="Discussion Forums and Archives"></a> <a href="../forums/calendar.php?s="><img src="../forums/images/top_calendar.gif" alt="Events Calendar" border="0"></a> <a href="../forums/links.php?s="><img border="0" src="../forums/images/top_links.gif" alt="Useful Links"></a> <a href="../forums/misc.php?s=&action=faq"><img src="../forums/images/top_faq.gif" alt="Frequently Asked Questions" border="0"></a> <a href="../forums/showthread.php?s=&threadid=125"><img src="../forums/images/top_contact.gif" alt="Contact ASE" border="0"></a> <a href="../forums/search.php?s="><img border="0" src="../forums/images/top_search.gif" alt="Search"></a> <a href="../forums/memberlist.php?s="><img border="0" src="../forums/images/top_members.gif" alt="Find other users"></a> <a href="../forums/usercp.php?s="><img border="0" src="../forums/images/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences"></a> <a href="../forums/member.php?s=&action=logout"><img border="0" src="../forums/images/top_logout.gif" alt="Logout"></a> <a href="../forums/admin/index.php?s="><img border="0" src="../forums/images/top_admincp.gif" alt="Admincp"></a> <a href="../forums/mod/index.php?s="><img border="0" src="../forums/images/top_mods.gif" alt="Moderators"></a> <br/> </td> <!-- sponsors --> <td valign="top" align="right"><a href="../sponsors.htm"><img src="forums/logos/Atlab_230x76_1.gif" border="0" alt="Sponsors"></a></td> </table> with compression: <body bgcolor="#9E93C1" text="#000000" id="all" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10" link="#000020" vlink="#000020" alink="#000020"><!-- BEGIN TEMPLATE: home_header --><!-- logo and buttons --><div class="txtcenter"><table border="0" width="100%" cellspacing="0" cellpadding="0" ><tr><td></td><td></td><td align="right"><bold><font face="verdana, arial, helvetica" size="2" >ASE is sponsored by:      </font></bold></td></tr><!-- logo --><tr><td valign="top" align="left" ><a href="index.php?s="><img src="http://www.screeneditors.com/images/aselogocol-230x76.gif" border="0" alt="Australian Screen Editors Guild" align="left" ></a></td><!-- buttons --><td align="center" ><!-- buttons defined in ./forums/buttons.php --><a href="../index.php?s="><img src="../forums/images/top_home.gif" alt="Home" border="0"></a><a href="../forums/index.php?s="><img border="0" src="../forums/images/top_forums.gif" alt="Discussion Forums and Archives"></a><a href="../forums/calendar.php?s="><img src="../forums/images/top_calendar.gif" alt="Events Calendar" border="0"></a><a href="../forums/links.php?s="><img border="0" src="../forums/images/top_links.gif" alt="Useful Links"></a><a href="../forums/misc.php?s=&action=faq"><img src="../forums/images/top_faq.gif" alt="Frequently Asked Questions" border="0"></a><a href="../forums/showthread.php?s=&threadid=125"><img src="../forums/images/top_contact.gif" alt="Contact ASE" border="0"></a><a href="../forums/search.php?s="><img border="0" src="../forums/images/top_search.gif" alt="Search"></a><a href="../forums/memberlist.php?s="><img border="0" src="../forums/images/top_members.gif" alt="Find other users"></a><a href="../forums/usercp.php?s="><img border="0" src="../forums/images/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences"></a><a href="../forums/member.php?s=&action=logout"><img border="0" src="../forums/images/top_logout.gif" alt="Logout"></a><a href="../forums/admin/index.php?s="><img border="0" src="../forums/images/top_admincp.gif" alt="Admincp"></a><a href="../forums/mod/index.php?s="><img border="0" src="../forums/images/top_mods.gif" alt="Moderators"></a><br/></td><!-- sponsors --><td valign="top" align="right"><a href="../sponsors.htm"><img src="forums/logos/AAV_Australia_230x76_1.jpg" border="0" alt="Sponsors"></a></td></table> with compress ion and spaces <body bgcolor="#9E93C1" text="#000000" id="all" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10" link="#000020" vlink="#000020" alink="#000020"><!-- BEGIN TEMPLATE: home_header --><!-- logo and buttons --><div class="txtcenter"><table border="0" width="100%" cellspacing="0" cellpadding="0" ><tr><td></td><td></td><td align="right"><bold><font face="verdana, arial, helvetica" size="2" >ASE is sponsored by:      </font></bold></td></tr><!-- logo --><tr><td valign="top" align="left" ><a href="index.php?s="><img src="http://www.screeneditors.com/images/aselogocol-230x76.gif" border="0" alt="Australian Screen Editors Guild" align="left" ></a></td><!-- buttons --><td align="center" ><!-- buttons defined in ./forums/buttons.php --><a href="../index.php?s="><img src="../forums/images/top_home.gif" alt="Home" border="0"></a> <a href="../forums/index.php?s="><img border="0" src="../forums/images/top_forums.gif" alt="Discussion Forums and Archives"></a> <a href="../forums/calendar.php?s="><img src="../forums/images/top_calendar.gif" alt="Events Calendar" border="0"></a> <a href="../forums/links.php?s="><img border="0" src="../forums/images/top_links.gif" alt="Useful Links"></a> <a href="../forums/misc.php?s=&action=faq"><img src="../forums/images/top_faq.gif" alt="Frequently Asked Questions" border="0"></a> <a href="../forums/showthread.php?s=&threadid=125"><img src="../forums/images/top_contact.gif" alt="Contact ASE" border="0"></a> <a href="../forums/search.php?s="><img border="0" src="../forums/images/top_search.gif" alt="Search"></a> <a href="../forums/memberlist.php?s="><img border="0" src="../forums/images/top_members.gif" alt="Find other users"></a> <a href="../forums/usercp.php?s="><img border="0" src="../forums/images/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences"></a> <a href="../forums/member.php?s=&action=logout"><img border="0" src="../forums/images/top_logout.gif" alt="Logout"></a> <a href="../forums/admin/index.php?s="><img border="0" src="../forums/images/top_admincp.gif" alt="Admincp"></a> <a href="../forums/mod/index.php?s="><img border="0" src="../forums/images/top_mods.gif" alt="Moderators"></a> <br/></td><!-- sponsors --><td valign="top" align="right"><a href="../sponsors.htm"><img src="forums/logos/Quantel_230x76_2.gif" border="0" alt="Sponsors"></a></td></table> |
#72
|
||||
|
||||
put nowrap in the <td> area and drop the nbsp;'s
|
#73
|
||||
|
||||
No that's the OPPOSITE of what I want to do. I WANT the buttons to always wrap ... <td nowrap> forces no wrapping for the cell.
|
#74
|
||||
|
||||
sorry didn't read you post completely
and this is a wild guess but maybe try adding hspace="#" in your image tags. |
#75
|
||||
|
||||
Quote:
Maybe you can point me to the page where you are experiencing the problem so that I can see it myself. |
#76
|
|||
|
|||
i got a problem...
please see my forum : http://forums.keeptouch.net/forumdis...?s=&forumid=19 Those page numbers are joining together... how to leave this alone? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|