vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   VB3 MicroStats (https://vborg.vbsupport.ru/showthread.php?t=62173)

RaceJunkies 07-05-2005 09:30 PM

Got it working now.... :devious:

NxTek 07-15-2005 09:17 PM

Quote:

REGULAR USERS
- load time of specified page in microseconds
- number of queries executed
- PHP percent page usage
- MySQL percent page usage
How can I display MicroStats only to Administrators? Call me crazy but do you really think members in Registered Users really care about this? :)

Pseudomizer 07-15-2005 10:01 PM

Quote:

Originally Posted by NxTek
How can I display MicroStats only to Administrators? Call me crazy but do you really think members in Registered Users really care about this? :)

In your template: if bbusergroupid = 6 bla bla before the {ms} entry and an endif after and all set all done.

Cheers,

NxTek 07-16-2005 04:25 PM

I'll give that a try. Thanks.

I'm using vB, vBadvanced, and a custom PHP/MySQL application within vBadvanced. Will MicroStats report ALL the stats?

ManagerJosh 07-19-2005 07:06 AM

Hey Teck:

Any ETA on the 3.5 Version :p? :)

csidlernet 07-20-2005 07:28 AM

/me installed this hack in 0.1seconds

NxTek 07-24-2005 08:59 PM

Quote:

Originally Posted by NxTek
I'll give that a try. Thanks.

I'm using vB, vBadvanced, and a custom PHP/MySQL application within vBadvanced. Will MicroStats report ALL the stats?

Anyone? :)

Wrestling-Freek 08-02-2005 02:40 AM

Awesome hack!!

Just what I've been looking for!

Thanks. :cool: :cool: :cool:

bjs144 08-24-2005 04:21 PM

Top mod.

Thanks alot

Mikecp421 09-12-2005 05:08 AM

I have been having a slowdown on my site all day. I installed this hack to get info on it and could someone tell me what this means.

Page generated in 28.27157903 seconds (0.86% PHP - 99.14% MySQL) with 12 queries

THat was the result of posting a message.

and this was the loading of my index

Page generated in 2.80730700 seconds (9.32% PHP - 90.68% MySQL) with 10 queries

although it was fast this time would those numbers point towards a potential bad code somewhere? I did some editing, thats why I ask, Thanks.

Mikecp421 09-12-2005 05:14 AM

here was a recent stat, more like what I have been getting

Page generated in 24.62768698 seconds (1.19% PHP - 98.81% MySQL) with 14 queries

I just want to know if its my code or server, thanks!

MRGTB 09-14-2005 12:57 AM

Quote:

Originally Posted by Mikecp421
here was a recent stat, more like what I have been getting

Page generated in 24.62768698 seconds (1.19% PHP - 98.81% MySQL) with 14 queries


I just want to know if its my code or server, thanks!

That's really odd. I get these results on my cmps page with 33 queries.

Page generated in 0.23145199 seconds (90.92% PHP - 9.08% MySQL) with 33 queries

------------------------------------

So lets say I have two un-cached templates being detected. Which has just happened after installing a new "Who Was Online Today" module on my cmps page to link to the same mod on the forum so it's displayed on both pages.

What does this mean. Does this mean I now have a problem that needs fixing? Because the two un-cached templates both belong to this new module.

ManagerJosh 09-16-2005 08:49 AM

Quote:

Originally Posted by Gary Bolton
That's really odd. I get these results on my cmps page with 33 queries.

Page generated in 0.23145199 seconds (90.92% PHP - 9.08% MySQL) with 33 queries

------------------------------------

So lets say I have two un-cached templates being detected. Which has just happened after installing a new "Who Was Online Today" module on my cmps page to link to the same mod on the forum so it's displayed on both pages.

What does this mean. Does this mean I now have a problem that needs fixing? Because the two un-cached templates both belong to this new module.

Hey Teck.... where's ur 3.5 version :p

derekivey 10-10-2005 01:52 PM

Yeah :(. Are you going to release one for 3.5?

lamur 11-10-2005 11:41 PM

I did this in a 3.0.8 board. Looked fine from administration point of view, but one of my users reported this just seconds after updating all the code:

Warning: main(./includes/db_mysql.php): failed to open stream: No such file or directory in /includes/init.php on line 485

Fatal error: main(): Failed opening required './includes/db_mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gunloads/public_html/castboolits/includes/init.php on line 485

ChrisLM2001 11-14-2005 05:20 AM

Teck,

[begging]
Please, please, please make this mod as a plugin for 3.5.x. With sugar on top!
[/begging]

Chris

venomx 02-13-2006 06:49 PM

Yeah please? :)

phreebsd 05-01-2006 04:50 AM

BUMP!
I'd like a 3.5.x ver.

TECK 05-02-2006 11:12 AM

I started a new forum. I will have a 3.5 version released soon. :)
I'm pretty sure it will not be a plugin version, due to the way the hack is made previously...

derekivey 05-02-2006 06:34 PM

Sweet, definitely good news! Keep up the good work!

TECK 05-11-2006 07:15 PM

It might be easier then we think... there is a hook placed at the right place...
So we will not need to edit anything in the php files... at least from the first look.

I will get back to you guys soon with the plugin.
It should be based on a custom template that you need to create (copy/paste), plus the plugin .xml file.

derekivey 05-11-2006 07:29 PM

Why not just use the product system so you don't have to have everyone add a custom template? The product system would add it automatically as well was the plugin.

Derek

TECK 05-12-2006 11:45 PM

Good idea. I'm working on it as we speak... it should published this evening.
I really have to get used to the new VB3.5 features. :)

Please give me more details about the product system...
Used to the old school way, editing the php code. Thanks.

derekivey 05-13-2006 12:02 AM

Just create a new product in the product system. Then turn on debug mode and in the style manager, go to the MASTER STYLE, and click Add Template in the drop down menu. When you add the template there, select the product you added in the drop down menu on the page it takes you to. When you export the product it will automatically include the template with the xml file and any plugins, settings, or phrases. When the user installs the product it automatically adds all of those.

Keep up the nice work :).

Derek

TECK 05-14-2006 02:46 AM

Thanks for the info Derek. :) One question: How do you generate the product ID's? If I enter an ID, what will hapen if someone have already this ID in use? It should be generated automatically...

About Microstats, I will not use a template... after all, since it will use the ones built in VB aready, simplier this way.
I'm having trouble with the $querytime... the rest is working perfectly.
I started a thread here:
https://vborg.vbsupport.ru/showthread.php?t=115523

I try to avoid creating a bunch of functions to emulate the debug mode...
Any solutions are apreciated.

derekivey 05-14-2006 11:24 AM

Not sure, sorry :(.

TECK 05-19-2006 03:01 AM

Mod released for vBulletin 3.5.4.
https://vborg.vbsupport.ru/showthread.php?t=116027

Enjoy. :)

derekivey 05-19-2006 09:56 AM

Thanks TECK, will install when I get home from school :).


All times are GMT. The time now is 04:21 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.01348 seconds
  • Memory Usage 1,772KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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