![]() |
Ok, here it is an example:
Code:
$ms_output = '<span class="smallfont">'; If you want the $ms_output template code even simplier, use this: Code:
$ms_output = 'Page generated in ' . $total_time . ' seconds (' . $php_percent . ' - ' . $sql_percent . ') with ' . $query_count . ' queries<br />'; Code:
<if condition="$show['microstats']">{microstats}</if> For example, to make your two new lines centered, use this: Code:
<if condition="$show['microstats']"> If you have any other questions, go ahead and post them. :) |
is there a way to track down which hacks are the troublesome ones using this?
|
much easier thank you
|
Bob, I looked at your site, it looks fine?
If you want to place the microstats after the vBulletin copyright (for example), use my second $ms_output template, listed above. |
Quote:
And a screenshot. :) |
one sec im just moving around the text lol tryin to see where it looks best
|
Quote:
However, there is a tricky way to see what's the "bad" mod in your source. You need to enable only one mod at the time. Then simply view your pages with the specific mod enabled/disabled. Compare your stats between the original vBulletin unmodded page and the one with the mod enabled. You will notice rightaway and erratic number of extra queries or abnormal percentages.... and complain to the mod creator. :) That's why the users loved so much vBMicroStats, it was the first mod that told you what's really going on with your PHP code... If you find a better way, please share it with the users here. |
ok quick question here is what i have so far...
Code:
if ($vbulletin->options['vb_mstats_active']) ok now when i remove the bottom table it all groups in one line... im tryin to keep it 2 lines like you have it but when i remove the admins alt1 Code:
$ms_output .= ' <td class="alt1"' . iif($show['quickchooser'] OR $show['languagechooser'], ' colspan="' . $colspan . '"') . '>' . "\n"; |
Quote:
EDIT: Ok, I now see what you mean. Am working on it now. Thank you, sir. ;) |
here is my screen shot so far of what i have going on... just tryin to figure out the admin table now
|
All times are GMT. The time now is 02:08 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|