vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Microstats - load times, server loads, queries, uncached templates (https://vborg.vbsupport.ru/showthread.php?t=82900)

Speysider 02-13-2010 04:42 PM

Worked out the answer to my question about moving the microstats working.

What code do I use to show how much of the page generation was PHP and MySQL, like on http://forums.relicnews.com ?

testbot 02-15-2010 05:13 AM

Quote:

Originally Posted by Lynne (Post 1934255)
No. You have to change one line to get the time to render a page to work.

what's the secret? :D

BRotondi 03-17-2010 01:31 PM

Quote:

Originally Posted by Lynne (Post 1934255)
No. You have to change one line to get the time to render a page to work.

Same here... why no one says what to change? If someone wrote it allready ... where? Thanks!

KURTZ 03-17-2010 05:08 PM

interested too :)

Kolbi 03-17-2010 05:14 PM

me, too :D

A very needed mod...

testbot 03-17-2010 06:40 PM

*sigh* i'm getting tired of no support these days. i guess in mods it's up to the developers but i've been fixing bugs myself in vb4 since it's been released. any threads i create for assistance get ignored on vb.org and vb.com.

anyway, for everyone looking for the fix here it is...

Find:
Code:

$starttime = explode(' ', $pagestarttime);
Replace:
Code:

$starttime = explode(' ', TIMESTART);

Kolbi 03-17-2010 07:23 PM

I´m getting this issue:

Warnung: ksort() expects parameter 1 to be array, null given in [path]\includes\functions.php(6783) : eval()'d code (Zeile 30)

Warnung: Invalid argument supplied for foreach() in [path]\includes\functions.php(6783) : eval()'d code (Zeile 32)

KURTZ 03-18-2010 09:56 AM

Quote:

Originally Posted by testbot (Post 2005715)
*sigh* i'm getting tired of no support these days. i guess in mods it's up to the developers but i've been fixing bugs myself in vb4 since it's been released. any threads i create for assistance get ignored on vb.org and vb.com.

anyway, for everyone looking for the fix here it is...

Find:
Code:

$starttime = explode(' ', $pagestarttime);
Replace:
Code:

$starttime = explode(' ', TIMESTART);


if this fix works, release a new version for the suite ... :)

BRotondi 03-18-2010 07:30 PM

Thanks testbot for the fix! This gives me the correct time.
Quote:

Originally Posted by Kolbi (Post 2005725)
Warnung: ksort() expects parameter 1 to be array, null given in [path]\includes\functions.php(6783) : eval()'d code (Zeile 30)Warnung: Invalid argument supplied for foreach() in [path]\includes\functions.php(6783) : eval()'d code (Zeile 32)

I have this 2nd issue too, but not so important. Needed only the time for debugging :).
If you have a working version on your Server, can you please poste the code from Plugin “Microstats”? This is all, this AddOn is about.

btw: Use Firebug's "Network" for the best survey!

Thanks!
Bruno

testbot 03-18-2010 07:34 PM

Quote:

Originally Posted by KURTZ (Post 2005878)
if this fix works, release a new version for the suite ... :)

i don't think it would be ethical to reuse someone's code and release their product under my name. :(


All times are GMT. The time now is 09:43 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.01862 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete