PDA

View Full Version : Miscellaneous Hacks - Page generation stats


Seven Skins
03-25-2010, 10:00 PM
Page generation stats

This product will display page generation stats in the footer.
Page generation time and number of queries are shown.


Features:
You have to option to enable/disable the hack.
Auto and manual template edits.

Installation:
Import the XML file via Plugins & Products > Manage Products > Add/Import Products.
If you choose to do manual template edit add <!-- page_gen_stats --> to footer template.


Live Demo (http://www.sevenskins.com/forum/forum.php?styleid=26)



_________________________________ _________________________________

Please:
Nominate this modification for the MOTM.
Support me by donating ... click the link on the right. (Support Developer)
Remember to click Mark as Installed if you use this hack.
_________________________________ _________________________________


26 March 2010
Version: 1.0 Released


.

ProFifaLeagues
03-26-2010, 03:08 PM
Nice and easy working well thanks!!!

Kolbi
03-26-2010, 03:12 PM
Thank you :)

Is this an updated version of Microstats?

Seven Skins
03-26-2010, 03:13 PM
^ No. That code does not work with VB4.0.

Bergler
03-26-2010, 03:16 PM
Nice, Thanks!!

Robru
03-26-2010, 03:26 PM
Pretty nice addon, thanks !

-=Leb=-
03-26-2010, 03:49 PM
thank you!

Juggernaut
03-26-2010, 04:14 PM
Nice, tagged for later. :D

Kolbi
03-26-2010, 04:15 PM
^ No. That code does not work with VB4.0.
With a little modification it does :)

gsmlover4u
03-26-2010, 04:16 PM
wow nice hack

gsmlover4u
03-26-2010, 04:17 PM
what about for 3.8.2 it will work ?

tafreeh
03-27-2010, 12:18 AM
Can we limit this to admin only ?

archet1337
03-27-2010, 04:31 AM
Can we limit this to admin only ?

Set option to manual and add this in the footer template:

<div class="footer_copyright" style="padding: 0px; margin-top: 5px; margin-bottom: 10px;">
<vb:if condition="is_member_of($bbuserinfo, 6)"><!-- page_gen_stats --></vb:if>
</div>

If your admin usergrp isn't 6, you need to change that, obviously :)

I added mine below {vb:raw template_hook.footer_javascript}

http://www.digi-tech.org/images/diverse/loadingtime.png

KURTZ
03-27-2010, 11:31 AM
just tagged for future use,anyway need a couple of improvements like the server loads values ... it's possible?

Dr.osamA
03-27-2010, 11:41 AM
thanxxx

it is a good useful mod

installed + 5 stars

i add her translation to Arabic
if you agree plzz add it to original first post

VonDoom
03-27-2010, 01:43 PM
Installed and rated 5 stars, Thanks a ton.

gsmlover4u
03-27-2010, 08:03 PM
need this for vb 3.8.2

Kolbi
03-27-2010, 08:24 PM
need this for vb 3.8.2
Try this: https://vborg.vbsupport.ru/showthread.php?p=2005515#post2005515

ChopSuey
05-21-2010, 01:46 AM
Always what i wanted! Thanks Installed & Nominated.

underESTIMATED
06-23-2010, 05:57 PM
Thanks!

Boofo
06-23-2010, 06:02 PM
just tagged for future use,anyway need a couple of improvements like the server loads values ... it's possible?
There's one for vb 4 that already does what you are wanting.

https://vborg.vbsupport.ru/showthread.php?t=240905

insidedesign
01-08-2011, 07:35 PM
Excellent, does exactly what it describes. On 4.1.0 PL2

vivoperdio
04-19-2011, 03:50 PM
how we can increase the number of decimals to show for microtime (ex: 0.15227890) ?

Seven Skins
04-19-2011, 05:31 PM
Edit SevenSkins: Page Generation Stats plugin

and bit of the code, change 4 to desired number:

$totaltime = round($totaltime, 4);

vivoperdio
04-23-2011, 12:10 AM
okay, I will try.. thanks for your help.. :D

CaptCom
06-23-2011, 02:55 PM
Thanks for that! Works #1 with 4.1.4

synseal
06-23-2011, 08:19 PM
Nice - installed - rated :up:

Thank you!.

The Rocketeer
11-18-2011, 08:51 AM
Still working on 4.1.8? :)

John Lester
03-07-2012, 08:05 AM
Still working on 4.1.8? :)

Works fine on 4.1.10 so I don't see why it wouldn't work on .8 :D

megabink
03-08-2012, 06:29 AM
Thanks mate i was searching for a mod like this.