|
gzip your CSS
This modification is in the archives.
Step 1
Create a new file, call it 'gzip-css.php' copy the following snippet and upload to the 'vbulletin_css' folder: PHP Code:
<?php
create a .htaccess file, put this in the same directory as above, put in the following snippet: PHP Code:
php_value auto_prepend_file gzip-css.php
Open the adminfunctions_template.php file located in the 'includes' directory. Look for the following: PHP Code:
$cssfilename = 'clientscript/vbulletin_css/style-' . substr(md5(microtime()), 8, 8) . '-' . str_pad($styleid, 5, '0', STR_PAD_LEFT) . '.php';
PHP Code:
$cssfilename = 'clientscript/vbulletin_css/style-' . substr(md5(microtime()), 8, 8) . '-' . str_pad($styleid, 5, '0', STR_PAD_LEFT) . '.css';
![]() Download No files for download. |
|||||||||