vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Board Optimization - CSS Compression - Improve Loading Time and Decrease Bandwidth! (https://vborg.vbsupport.ru/showthread.php?t=207200)

Zachery 05-11-2009 06:51 PM

Quote:

Originally Posted by 1Unreal (Post 1808797)
That was a problem with my code which has been fixed in the latest release.

Either way, gzip/mod_deflate is already doing this.

mikey1991 05-12-2009 12:46 AM

Good idea

nomoreturn 05-12-2009 11:07 PM

Installed But have question how to rebilud CSS my CSS after Installing look like this i did save after installing and its look same like before installing

First box
Code:

/* ***** styling for 'big' usernames on postbit etc. ***** */
.bigusername { font-size: 14pt; }

/* ***** small padding on 'thead' elements ***** */
td.thead, th.thead, div.thead { padding: 4px; }

/* ***** basic styles for multi-page nav elements */
.pagenav a { text-decoration: none; }
.pagenav td { padding: 2px 4px 2px 4px; }

/* ***** de-emphasized text */
.shade, a.shade:link, a.shade:visited { color: #777777; text-decoration: none; }
a.shade:active, a.shade:hover { color: #FF4400; text-decoration: underline; }
.tcat .shade, .thead .shade, .tfoot .shade { color: #DDDDDD; }

/* ***** define margin and font-size for elements inside panels ***** */
.fieldset { margin-bottom: 6px; }
.fieldset, .fieldset td, .fieldset p, .fieldset li { font-size: 11px; }
<!-- forum image -->
/* Forum Images next to the Description for every Forum */
.ForumImages {
float: left;
margin-right: 8px;
margin-top: 2px;
}
<!--navbar background start -->
.altbg {
    background: #FFFFFF url(http://www.m****.com/header.jpg) no-repeat top left;
    height: px;
    width: 100%;
    vertical-align: text-bottom;
}
<!--navbar background end -->

and 2nd box
Code:

.colorchooser {
float:right;
margin-right:10px;
margin-top:10px;
}
.colorchooser span {
  font-family:arial;
  color:#green;
  font-size:12px;
  text-decoration:none;
  float:left;
  display:block;
}
.colorchooser a {
  width:12px;
  height:12px;
  display:block;
  float:left;
  margin-left:5px
}

is that ok or i'm doing wrong if so then please let me know how to fix i'm using 3.8.2

1Unreal 05-12-2009 11:16 PM

Open up the style manager and click from the drop down menu Main CSS. Then scroll to the bottom and click save.

Should then be rebuilt

nomoreturn 05-12-2009 11:22 PM

Thanks for reply i did this but still same thing nothing changed in CSS box

1Unreal 05-13-2009 05:37 PM

Quote:

Originally Posted by nomoreturn@hotm (Post 1809736)
Thanks for reply i did this but still same thing nothing changed in CSS box

I just looked on your site and its working fine :)

Look on line 25 :rolleyes:

nomoreturn 05-20-2009 09:14 AM

Thanks

MadK 05-27-2009 09:16 PM

What if my site points to a .CSS file and it's not included directly in the source code? Will this still work?

1Unreal 05-27-2009 09:26 PM

Quote:

Originally Posted by MadK (Post 1818395)
What if my site points to a .CSS file and it's not included directly in the source code? Will this still work?

This will compress the CSS generated by vBulletin.

saadessa 06-18-2009 04:13 PM

installed ......realy i need this hack thank you


All times are GMT. The time now is 03:15 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
  • Page Generation 0.02895 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete