Upgrade your
vbMicroStats to
Version 1.5:
forum/admin/functions.php
1. in [high]function dooutput()[/high], find the code:
PHP Code:
global $pagestarttime,$query_count,$showqueries,$querytime,$DB_site,$microstats,$HTTP_ACCEPT_ENCODING;
replace it with:
PHP Code:
global $pagestarttime,$query_count,$showqueries,$querytime,$DB_site,$gzipoutput,$gziplevel,$microstats;
2. find the code:
PHP Code:
if (strpos(" ".$HTTP_ACCEPT_ENCODING,"gzip")) {
$gziptext="enabled";
} else {
$gziptext="disabled";
}
replace it with:
PHP Code:
if ($gzipoutput==1) {
$gziptext="enabled (level $gziplevel)";
} else {
$gziptext="disabled";
}
[high]
NOTE:[/high] The GZIP compression will show as
enabled only if you enabled your board to use GZIP compression.
To do this, do yo your [high]VBulletin Options > HTTP Headers and output > GZIP Output[/high] and select Yes.
Otherwise, it will show as
disabled.