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)

Zia 02-14-2006 02:19 PM

Can we hope an Update of this that will show Gzip stats too??

ShiningArcanine 02-23-2006 05:19 PM

Quote:

Originally Posted by crepo
Installed.

I use it with the configsetting:
Code:

$config['Microstats']['adminonly'] = true;
But can I use this also for 2 groups? I want give it to admin and supermoderators group.

Thanks for helping.
peter

You will have to modify the plugin. I thought of having mutiusergroup support but I never implemented it in the last major revision I did.

Quote:

Originally Posted by David_R
thanks works fine,
but i want to display all the information only to administrators and another group ID = 23
how can i acheive same ?

i want to remove/hide guests from viewing the page generated and queries executed line.

You will have to modify the plugin.

Quote:

Originally Posted by Zia
Can we hope an Update of this that will show Gzip stats too??

I have considered this in the past. Gzip can be set in Apache's configuration and in .htaccess, and I do not know if a way to detect this kind of stuff in PHP exists, so if gzip detection was ever added, it would be misleading and inaccurate. That is why I have decided not to include it in microstatus; at least the one that I maintain anyway.

djwins 03-01-2006 06:49 AM

/clicks install
I tried both the original version and the product version but even as admin (usergroup 6), i can't see the server load and uncached templates.

I'm on 3.5.4

Any ideas?

Also, is there supposed to be an Admin CP for the product version? If so, I can't find it.

ShiningArcanine 03-01-2006 09:46 PM

djwins, uncached templates only appear if there are uncached templates. Also, microstats can only display server loads on non-Windows servers. If you are on a Windows server, you will not see server loads.

By the way, microstats does not add anything to the AdminCP.

djwins 03-01-2006 10:40 PM

I am using FreeBSD, not windows. Is the load supposed to display with that? Thanks!

ShiningArcanine 03-02-2006 09:18 PM

FreeBSD is supposed to show load averages. They might not be enabled on your server though. File a support ticket with your host and ask them if your server supports the following:

PHP Code:

$loadavg = @`sysctl vm.loadavg|cut -d" " -f3-5`) 

There is a chance they have it disabled at their end.

djwins 03-03-2006 06:33 AM

It is enabled as the above command works from SSH.
I'm running in PHP safe mode, so thats probably the reason it's not working.

ShiningArcanine 03-03-2006 05:44 PM

Quote:

Originally Posted by djwins
It is enabled as the above command works from SSH.
I'm running in PHP safe mode, so thats probably the reason it's not working.

File a support ticket with your host asking them why this does not work in PHP.

Edit: If you are on a dedicated server or virtual private server, you could try running PHP in normal mode and see if that is the problem.

SaN-DeeP 03-13-2006 04:41 AM

I am not sure what mistake i am doing, but I need to display page generated and queries executed message only to administrator group..

confused... can some provide some insight since new to vb 3.5.4 and need to get some forums up and running with required addons asap ?

just let me know the appropriate code to modify with ?

SaN-DeeP 03-13-2006 04:42 AM

thanks in advance for this handy addon :)


All times are GMT. The time now is 02: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.01591 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (1)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
  • (2)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