![]() |
|
|
Mod Options |
VB3 MicroStats Details »»
|
|||||||||
|
This modification is in the archives.
You asked for... but it was available for VB2 only? There you go, you have it now.
![]() Looking for 3.5.4 version? Get it here. VERSION 1.2 RELEASED Basically the only difference you will notice is a dropdown menu that will display the unchached templates. In this way, you can add it to the cache and save one or more queries. THIS HACK WAS TESTED IN A DEFAULT, CODE UNMODIFIED BOARD. This hack will add at the bottom of each vBulletin(powered) page the following stats: REGULAR USERS STATS - load time of specified page in microseconds (with custom no. of digits to show) - percentages of PHP/MySQL usage - number of queries executed ADMINISTRATOR STATS - number/name of uncached templates (name highlighted in blue, for uncached template) - vBulletin DEBUG mode status - server GZIP library compression status - average Server Loads This is not only estethic, it will also help you troubleshoot any wierd queries that you have in your scripts. IMPORTANT If you get results like: Page generated in 3.35731196 seconds (9.05% PHP - 90.95% MySQL) with 17 queries You probably use a bad piece of code, because vBulletin will never generate those extreme results. Imagine this: the code uses only 10% the resources to read the actual PHP code and the rest of 90% is used only to scan the tables... WOW! That means the code forces to read into the database for each user who visits the site at this percentage... if you have 1000 users viewing the page in the same time.. you can get a picture of it... If you compare this with vBulletin, the software does the opposite, 90% PHP and 10% MySQL... the right way. DIVISION BY ZERO ERROR? Read this. INVALID STATS IF MYSQL COMPILED IN A NON-ENGLISH LANGUAGE? Read this. NOTE: The blue highlighting is not working in Opera 7.23 version. (Thanks Christine) Have fun. ![]() Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
|||||||||
|
#256
|
|||
|
|||
|
Teck,
[begging] Please, please, please make this mod as a plugin for 3.5.x. With sugar on top! [/begging] Chris No members have liked this post.
|
|
#257
|
||||
|
||||
|
Yeah please?
![]()
__________________
TopDollarMall No members have liked this post.
|
|
#258
|
|||
|
|||
|
BUMP!
I'd like a 3.5.x ver. No members have liked this post.
|
|
#259
|
||||
|
||||
|
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... No members have liked this post.
|
|
#260
|
|||
|
|||
|
Sweet, definitely good news! Keep up the good work!
__________________
Please do not PM or IM me for support or my hacks, or vBulletin questions. Use my hack threads for support instead, please. All PM, or IM requests will be ignored. No members have liked this post.
|
|
#261
|
||||
|
||||
|
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. No members have liked this post.
|
|
#262
|
|||
|
|||
|
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
__________________
Please do not PM or IM me for support or my hacks, or vBulletin questions. Use my hack threads for support instead, please. All PM, or IM requests will be ignored. No members have liked this post.
|
|
#263
|
||||
|
||||
|
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. No members have liked this post.
Last edited by TECK : 13 May 2006 at 00:49. |
|
#264
|
|||
|
|||
|
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
__________________
Please do not PM or IM me for support or my hacks, or vBulletin questions. Use my hack threads for support instead, please. All PM, or IM requests will be ignored. No members have liked this post.
|
|
#265
|
||||
|
||||
|
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: http://www.vbulletin.org/forum/showthread.php?t=115523 I try to avoid creating a bunch of functions to emulate the debug mode... Any solutions are apreciated. No members have liked this post.
Last edited by TECK : 14 May 2006 at 03:50. |
|
#266
|
|||
|
|||
|
Not sure, sorry
.
__________________
Please do not PM or IM me for support or my hacks, or vBulletin questions. Use my hack threads for support instead, please. All PM, or IM requests will be ignored. No members have liked this post.
|
|
#267
|
||||
|
||||
|
No members have liked this post.
|
|
#268
|
|||
|
|||
|
Thanks TECK, will install when I get home from school
.
__________________
Please do not PM or IM me for support or my hacks, or vBulletin questions. Use my hack threads for support instead, please. All PM, or IM requests will be ignored. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 05:51.






.
