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 08-02-2005 01:47 AM

Okay, everyone. I took some time and wrote version 1.2.0. Here is the changelog:

-Added OpenBSD, FreeBSD and NetBSD support
-Added Replacement variable setting in config.php
-Added Display only to Administrators Setting in config.php
-Fixed bug affecting Linux/Unix servers that have exec('uptime') support and not /proc/loadavg support.

The replacement variable setting basically allows you to have the stock modification place its data before something other than "</body>." Everything else should be shelf explanatory.

Edit: So much for having to edit microstats so it is displayed only to administrators. :laugh: :ninja:

InfiniteWebby 08-02-2005 03:00 AM

The server load averages aren't working for me. I put in some flags and it seems that the code is entering the is admin if statement but not entering any of the load average if statements.

I don't know about other people but I would appreciate it heaps if the variables were in the vbulletin options rather than the config file because as simple as it may be I still consider adding lines to your config a file edit and simply opening and ftp program is a pain in the bum.

ShiningArcanine 08-02-2005 10:48 AM

What do you mean by they aren't working for you? Are they not being displayed? If you're not running Linux/Unix/FreeBSD/OpenBSD/NetBSD that is to be expected.

InfiniteWebby 08-02-2005 10:52 AM

I am running on a linux server and the server loads are not showing at all...

ShiningArcanine 08-02-2005 10:55 AM

Did the previous version work? Does your server support exec('uptime') or /proc/loadavg?

InfiniteWebby 08-02-2005 10:57 AM

Didn't try the previous version and I don't know... probably not by the looks of it.

Boofo 08-02-2005 11:02 AM

Quote:

Originally Posted by AnimeWebby
I am running on a linux server and the server loads are not showing at all...

I'm running on a Linux server and they show fine for me. ;)

Blam Forumz 08-02-2005 11:19 AM

Same here

ShiningArcanine 08-02-2005 03:42 PM

Quote:

Originally Posted by AnimeWebby
Didn't try the previous version and I don't know... probably not by the looks of it.

Ask your web host if either method is supported. Chances are both aren't.

Snake 08-02-2005 05:13 PM

I have upgraded the plugin and members can still view the microstats. Any idea?


All times are GMT. The time now is 10:52 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.01490 seconds
  • Memory Usage 1,733KB
  • 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_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