The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
I dunno if this had been suggested yet coz I didn't find it when I did a search (dunno if anyone even wanted it).
I like the way phpBB2 shows the info at the bottom of the forum containing the number of queries executed, as well as the time it took to load the page. It's can be a nice debug tool! I was wondering if this was possible to do in vBulletin, wherein only administrators can see this info, while regular users and mods cannot ... Is this possible? Check the attachment to see what I mean ... anyone up to it? |
#2
|
||||
|
||||
Looks cool. Might be usefull if we could turn it on and off though.
Chris |
#3
|
||||
|
||||
~bump
|
#4
|
|||
|
|||
this feature existed also in the 1.x versions of phpbb
when php 4 came out.... it was used to measure the spead gain with and without compression..... the code is so easy there is no point in calling it a hack.... in the page header: include somewhere Code:
$mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; in the page footer: include at the end Code:
$mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; $endtime = $mtime; $totaltime = ($endtime - $starttime); printf("<center><font size=-2>Vbulletin Created this page in %f seconds.</font></center>", $totaltime); |
#5
|
|||
|
|||
include it how?
with what call? |
#6
|
||||
|
||||
<?php code here ?>
|
#7
|
|||
|
|||
Doesnt work
Breasts, Sarge |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|