Quote:
Originally Posted by TECK
JD, look at the html code and tell me if you see a colspan in the microstats template.
It has to be there, it's working fine for all boards, so far.
Is this an original board, unhacked?
This is the code it needs to be examined:
Code:
// regular users template
$users_template = '<tr align="' . $stylevar['right'] . '">' . "\n";
$users_template .= ' <td class="tcat"' . iif($show['colspan'], ' colspan="' . $colspan . '"') . '>' . "\n";
$users_template .= ' <span class="smallfont">Page generated in ' . $total_time . ' seconds (' . $php_percent . ' - ' . $sql_percent . ') with ' . $query_count . ' queries</span>' . "\n";
$users_template .= ' </td>' . "\n";
$users_template .= '</tr>' . "\n";
// administrator template
$admin_template = '<tr align="' . $stylevar['right'] . '">' . "\n";
$admin_template .= ' <td class="alt1"' . iif($show['colspan'], ' colspan="' . $colspan . '"') . '>' . "\n";
$admin_template .= ' <span class="smallfont">' . $memory_status . $debug_status . $gzip_status . $server_status . $templates_status . '</span>' . "\n";
$admin_template .= ' </td>' . "\n";
$admin_template .= '</tr>' . "\n";
Let me know what you see in your page source.
Thanks.
|
The code you posted above is exactly the same as in the vBMicroStats Global Hook.
OK, not logged in I see this:
Code:
<tr align="right">
<td class="tcat">
<span class="smallfont">Page generated in x.xxxx seconds (xx.xx% PHP - xx.xx% MySQL) with xx queries</span>
</td>
</tr>
Logged in I see:
Code:
<tr align="right">
<td class="tcat">
<span class="smallfont">Page generated in X.XXXX seconds (XX.XX% PHP - XX.XX% MySQL) with XX queries</span>
</td>
</tr>
<tr align="right">
<td class="alt1">
<span class="smallfont">DEBUG Mode OFF | GZIP ON (level 1) | <strong>X.XX</strong> : X.XX : X.XX | NO Uncached Templates</span>
</td>
</tr>
But the code is aligned on the left side, like the pic I posted in my original post, it's width is the width of the style chooser.
Guests do not have access to choosing style, and only certain senior groups have access to choose a style, normal members can not choose style either.
That is what the situation is, hope you can help.