vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Page generation stats (https://vborg.vbsupport.ru/showthread.php?t=239146)

Seven Skins 03-25-2010 10:00 PM

Page generation stats
 
1 Attachment(s)
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



_________________________________ _________________________________

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

Quote:

Originally Posted by Seven Skins (Post 2010584)
^ 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

Quote:

Originally Posted by tafreeh (Post 2010870)
Can we limit this to admin only ?

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

Code:

<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

1 Attachment(s)
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

Quote:

Originally Posted by gsmlover4u (Post 2011228)
need this for vb 3.8.2

Try this: https://vborg.vbsupport.ru/showthrea...15#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

Quote:

Originally Posted by KURTZ (Post 2011037)
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:

Code:

$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

Quote:

Originally Posted by The Rocketeer (Post 2269148)
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.


All times are GMT. The time now is 09:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01260 seconds
  • Memory Usage 1,767KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete