vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbMicroStats: page load time, queries, GZIP and PHP version (https://vborg.vbsupport.ru/showthread.php?t=35811)

Bro_Joey_Gowdy 06-28-2002 04:47 AM

so what would be considered 'bad' ?

TECK 06-28-2002 04:49 AM

over 30 is getting heavy... at 40-45, your server is on the red line and if you have a really busy board it can crash it.

Bro_Joey_Gowdy 06-28-2002 04:56 AM

and theres nothing one can do to make the server quicker ?

(forgive me - im a newbie with databases)

TECK 06-28-2002 05:05 AM

no. think of this:
for every user, there are 22queries performed at that instance.
if you have 1000users on your board, that's 22,000queries performed on the same instance...

the best way is to keep as low as possible your queries.
is funny, since i released this hack, alot of people are concerned about the no. of queries... :)
with good reason. is healty for your server.

Bro_Joey_Gowdy 06-28-2002 05:08 AM

Awesome !!

Thanks !!

:)

Boofo 06-29-2002 07:12 PM

Where is that thread? :)

Quote:

Originally posted by Nakkid

is best to ask in that thread this question, is not related to vbMicroStats. i will post there.


Gary King 06-29-2002 08:46 PM

Referring to this post, is it possible to only make SOME of the stats only visible to admins, while the rest is visible by everyone else? [Just like in your screenshot.]

mashby 06-30-2002 06:06 AM

Well, I've enjoyed this hack so much, I've just installed it on a new forum I'm working on (2.2.6) and it installed like a piece of cake - as usual. Thanks nakkid! :D

TECK 06-30-2002 02:53 PM

Quote:

Originally posted by Blak n Wite
Referring to this post, is it possible to only make SOME of the stats only visible to admins, while the rest is visible by everyone else? [Just like in your screenshot.]
that's what the hack does. the second line is visible only for admins. sign in as a regular user just to see...

Gary King 06-30-2002 03:58 PM

Quote:

Originally posted by Nakkid
that's what the hack does. the second line is visible only for admins. sign in as a regular user just to see...
I get an error when I apply this hack. It is the following:

Fatal error: Call to undefined function: query_first() in /home/public_html/forum/global.php on line 151

Line 151 contains the following:

$optionstemp=$DB_site->query_first("SELECT template FROM template WHERE title='options'");

What's the problem here? :confused:


All times are GMT. The time now is 02:32 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.01826 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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