PDA

View Full Version : VB3 MicroStats


Pages : 1 [2]

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
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
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,


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


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 :).