Quote:
Today at 07:54 PM Sonikku said this in Post #810
You have to place the variable into your footer. Preferably towards the bottom. Read the instructions, it tells you what variable to put.
|
To call your vbMicroStats, simply place the string {getmicrostats}
| anywhere you want in your templates (for example in footer).
|
| NOTE: The higher you place the string in your templates,
| the more inacurate your data will be.
|
| The variables you can use are:
|
| $digits - number of digits for microtime
| $trimmedtime - the time your page is loaded
| $query_count - number of queries executed
| $debugmode - tells if VB is in debug mode
| $versionphp - PHP version
| $percentphp - PHP percent page usage
| $percentsql - MySQL percent page usage
| $gziptext - GZIP compression library
| $gziplevel - GZIP compression level
| $serverload - your average server load
those are the final steps but which variable are you talking about?
maybe you mean the string?
have a look here the site is still not in production
http://www.depfacy.com/forums/showth...=12&forumid=39
well i have tried both by parsing the string and using the template and by inputing the whole thing in the footer template.
here is my footer just to tell me what is wrong.
PHP Code:
</td>
</tr>
</table>
<!-- /content area table -->
</center>
<TABLE WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD><a href="#top"><IMG SRC="{imagesfolder}/footer_01.gif" WIDTH=168 HEIGHT=69 border="0"></a></TD>
<TD background="{imagesfolder}/footer_02.gif" width="100%" height="69"></TD>
<TD><a href="http://www.vbforumskins.com" target="_blank"><IMG SRC="{imagesfolder}/footer_03.gif" WIDTH=530 HEIGHT=69 border="0"></a></TD>
</TR>
<br><center>Page generated in $trimmedtime seconds ($percentphp - $percentsql) with $query_count queries.$adminstats<center>
</TABLE>
</td></tr>
</table>
</center>
is there any possibility that the page loads very fast that no time of % php and sql are recorded?
This is a dedicated machine of 800MHz and 768MB RAM and 10K rpm SCSI drivers and doesnt do anything else but hosting this board which is currently not used.
Also why can i not see the adminstats ?