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)

ShiningArcanine 06-13-2005 11:54 PM

Quote:

Originally Posted by Dan
Is it possible to move where the stats show up?

Yes, just modify the plugin to place its code next to something other than </body>. I might make it possible to write this into config.php in a future version so it isn't necessary to have custom versions of the plugin.

jancarlo 06-14-2005 12:35 PM

Warning: xml_get_error_code(): 31 is not a valid XML Parser resource in /includes/class_xml.php on line 235

Warning: xml_get_current_line_number(): 31 is not a valid XML Parser resource in /includes/class_xml.php on line 225

:surprised: :surprised: :surprised:

ShiningArcanine 06-16-2005 09:45 PM

Quote:

Originally Posted by jancarlo
Warning: xml_get_error_code(): 31 is not a valid XML Parser resource in /includes/class_xml.php on line 235

Warning: xml_get_current_line_number(): 31 is not a valid XML Parser resource in /includes/class_xml.php on line 225

:surprised: :surprised: :surprised:

What version of vBulletin are you running, can you tell me how to reproduce that and are you sure that it was caused by the microstats plugin?

Tomek 06-16-2005 10:31 PM

It doesn't display the load average, when you have activated and not correct the PHP settings open_basedir and/or safe_mode. Please take a look at the PHP manuals.

The old microstats hack for vBulletin 3.0 has used the command uptime to read the load average, but the new microstats plugin for vBulletin 3.5 uses cat /proc/loadavg like vBulletin itself does.

dreck 06-18-2005 07:07 AM

Quote:

Originally Posted by jancarlo
Warning: xml_get_error_code(): 31 is not a valid XML Parser resource in /includes/class_xml.php on line 235

Warning: xml_get_current_line_number(): 31 is not a valid XML Parser resource in /includes/class_xml.php on line 225

:surprised: :surprised: :surprised:

I got the same error when I copy & paste.
Try just saving the file from IE.

Nice plugin!

ShiningArcanine 06-18-2005 12:25 PM

Quote:

Originally Posted by WiBu
I don't like the way the public see the stats, even if it is only queries and page load. Oh well, edited it to my liking.

I've released version 1.1.0. This should display uncached template names, load averages on Linux systems when /proc is not available and makes the code look a little nicer.

Tomek 06-18-2005 12:41 PM

Nice. :)

But I would do a little cosmetic change.

Find:
PHP Code:

$serverload ' [Server Loads: <b>' $regs[0] .'</b> ' $regs[1] . ' : ' $regs[2] . ']'

Replace with:
PHP Code:

$serverload ' [Server Loads: <b>' $regs[0] .'</b> : ' $regs[1] . ' : ' $regs[2] . ']'

You have to change this two times.

sHORTYWZ 06-18-2005 01:04 PM

Getting this now on one of my boards..

Page generated in 0.14820 seconds with 9 queries [Server Loads: average: 0.04, 0.20, 0.25 0.04 : 0.20]

However, the other board is showing it just fine.

Snake 06-19-2005 01:18 PM

Screenshot! Screenshot! Where is it?! :D lol

dreck 06-20-2005 05:16 AM

screen shot! :banana:


All times are GMT. The time now is 12:04 PM.

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.01754 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (4)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