PDA

View Full Version : Board Optimization - vBMicroStats


Pages : 1 [2]

KURTZ
02-04-2008, 04:04 PM
edit: OK installed on Beta 4 ...

so now i've a question:

Page generated in 0.99168205 seconds (-42.68% PHP - 142.68% MySQL) with 15 queries

i've a really slow forum ... what means this result? TIA

KURTZ
02-07-2008, 12:58 PM
someone can help me? it's normal that the loading of my forum goes all on the mysql?

another Q: when i turn on the debug mode i don't see anything new ...

SEOvB
02-11-2008, 02:56 PM
No, its some other modification you've got installed causing that problem

I just installed on 3.7b4 with a few other modifications and i've only go 9-10 queries on all pages.

mark|3
02-12-2008, 01:01 PM
This product is not compatible with version 3.6.8 of vBulletin. (Compatible starting with 3.6.4 / Incompatible with 3.6.8 and greater)

I keep getting this error message. anyway to resolve this error?

thank

haytham
02-12-2008, 07:20 PM
I am getting between 49 to 57 queries on my forum and I have 3.6.8..although it's loading fine.

TECK
02-13-2008, 05:34 AM
This product is not compatible with version 3.6.8 of vBulletin. (Compatible starting with 3.6.4 / Incompatible with 3.6.8 and greater)

I keep getting this error message. anyway to resolve this error?

thank

When I released the code, it was for vBulletin 3.6.5 version.
Now, go read the product description. It is marked in bold what to do. :)

TECK
02-13-2008, 05:39 AM
I am getting between 49 to 57 queries on my forum and I have 3.6.8..although it's loading fine.

Basically, you are KILLING your server. Uninstall ASAP all the hacks you added to your board.

mark|3
02-13-2008, 09:09 AM
hi i managed to installed and activate the product after changing the max variable to 3.6.9
but somehow its not displaying the relevant details on my forum. any idea why?

TECK
02-14-2008, 01:41 AM
Hi Mark,

Did you enabled the plugin? Please read the product instructions, listed above the screenshots.

Boofo
02-14-2008, 02:48 AM
I had this happen to me today but it turned out I was working on a hack and I added something to a plugin that it vb didn't like. Once I disabled that plugin the microstats showed back up.

mark|3
02-14-2008, 04:40 AM
hi teck i did the instructions but i can seem to get it working

thanks

Hi Mark,

Did you enabled the plugin? Please read the product instructions, listed above the screenshots.

TECK
02-15-2008, 03:34 PM
There is something missing, very little. :)
Most likelly, the microstats are not enabled...
Check your code, then read carefully the product description listed above the screenshots.

mark|3
02-16-2008, 10:33 AM
Thanks Teck.

I've yet to edit the html. :p

thanks

nyunyu
02-16-2008, 06:30 PM
Teck,

I want to know. Are this normal?
Page generated in 0.18921304 seconds (63.00% PHP - 37.00% MySQL) with 22 queries

Sometimes I got a high percentage of both..how this affect the forum and the server?
Thanks.

TECK
03-07-2008, 04:26 PM
Spikes are normal to display, only if the server is not tuned properly. That should be a warning for you, so you look at your logs for possible errors. Where do you run 22 queries, on the forumhome? There is definitely something bad installed. By default vBulletin uses 9 queries on the home page. Personally, I run the forum frontpage on 3 queries and I complain that is to high, I expect to lower it to 2 soon. :)

Edit: WOW you run 25 queries on forumhome:
http://www.animeheist.com/forum/
Page generated in 0.79363608 seconds (71.49% PHP - 28.51% MySQL) with 25 queries
The percentage looks great, 75% PHP and 25% MySQL is the right balance. However, you have to remove the armada of queries you currently perform on the forumhome, really important for your server performance.

nyunyu
03-07-2008, 04:43 PM
So, what can you suggest for me to lessen the queries?
I would very much have any help.

TECK
03-07-2008, 04:53 PM
Feel free to open a new thread in the general vb.org forum (https://vborg.vbsupport.ru/forumdisplay.php?f=111) and you will get your answer in no time. In this way we avoid to hijack the discussion here. Many users are familiar with my mod and they will tell you straightaway where the extra queries are coming from. A hint: The stats them selfs generate a huge number of queries.

See you in General Forum. :)

nyunyu
03-07-2008, 05:13 PM
Sorry for that.
I will open a thread regarding this.
Thank you.

useful mod btw, ;)

Captain Kirk76
03-13-2008, 09:31 AM
Is there any chance of this being updated to vB 3.7? I tried it on vB3.7 Beta 2 (now using Beta 5) it didn't display the MySql/PHP usage (it was stuck at 0%)

TECK
03-13-2008, 07:23 PM
It should work, did you enabled the product?
I will check the code.
If it needs changes, I will release a new version once we reach RC1 or 2. :)

Nikke
03-19-2008, 06:52 AM
Can anyone confirm this works on vB 3.7?

unitedpunjab
03-19-2008, 06:57 AM
Can anyone confirm this works on vB 3.7?

Yes :)

atlambros83
03-19-2008, 07:25 AM
The following dependencies were not met:
1. This product is not compatible with version 3.6.8 of vBulletin. (Compatible starting with 3.6.4 / Incompatible with 3.6.6 and greater)


that's what happened to me when trying to install on my forums...

unitedpunjab
03-19-2008, 07:32 AM
that's what happened to me when trying to install on my forums...
Should read the first post carefully,The work around is right there.

https://vborg.vbsupport.ru/showpost.php?p=1249437&postcount=176

atlambros83
03-19-2008, 09:13 AM
thank you. :)

atlambros83
03-19-2008, 09:38 AM
well damn...i guess this doesn't work for 3.6.8 just installed and enabled.....nothing's showing.

apn3a
03-19-2008, 04:01 PM
mine is not working with vb 3.7 beta 6. i get:

Page generated in 0,06 seconds (100,00% PHP - 0% MySQL) with 10 queries

no matter what, php is always 100%.

it was working fine with beta 5.

chrissmith
03-27-2008, 07:27 PM
mine is not working with vb 3.7 beta 6. i get:

Page generated in 0,06 seconds (100,00% PHP - 0% MySQL) with 10 queries

no matter what, php is always 100%.

it was working fine with beta 5.

check the file edits in cass_core.php & init.php in includes dir.

VK3MTR
03-30-2008, 04:16 AM
Thanks very much for this cool little hack.:up:

It works perfectly in 3.7 beta #4.:p

I sent the 10th line of the hack to 3.7.1;)

I then made a bobo with 'else' written twice when I did a copy and paste in the init.php file.:erm:
However, I kept the old files so I could revert whilst I worked out the problem (a good safety precaution).:cool:

There is no problem whatsoever with the hack, you just have to follow all the advices, like enabling it in CP and making the right coding changes to the files. One does need to concentrate to avoid silly mistakes, but apart from that the hack works perfectly in the 3.7 environment.

Thank you very much Teck! :):D

Dorign
03-30-2008, 04:02 PM
I went over the code for this with a fine tooth three times, I've uploaded the plugin, enabled it in the manager, and turned it on in the vB Options. I've tried the template code in several places, and no matter what I do.. I've done everything I could.. and it JUST DOESN'T SHOW UP. T_T

3.6.8

PBFILMS
03-30-2008, 07:31 PM
in the read me file its says

Load the product-vbmicrostats.xml file, the usual way. The product is disabled by default.

I am new to this how do I load the product-vbmicrostats.xml file

thanks
Billy

VK3MTR
03-31-2008, 03:50 AM
Dorigan did you change the range of vB in line 10 of product-vbmicrostats.xml file to read "3.6.9"

Billy to upload, you need to go to the click down of 'plugins and products' then click on 'manage products' at the bottom of the screen you will see 'add/import product'. Click on that and then upload the xml file from your computer. :)

wd4x4
03-31-2008, 12:57 PM
Works great 3.6.8 pl2 :up: Followed install w/all notes "post links" and I'm on about day 40 of my crash coarse in VB. lol

Dorign
03-31-2008, 08:46 PM
Yes I did change the max version to 3.6.9, and yes it was disabled by default and yes I enabled it and no it doesn't work. :P

SEOvB
04-01-2008, 12:16 AM
Works perfectly on 3.7RC1 thanks!

TECK
04-03-2008, 03:20 AM
Thanks for the feedback, FRDS. :)
If it's working in RC1, it will work in all versions below that one also.

Boofo
04-03-2008, 03:48 AM
I can second it working on RC1. This has worked the same for me since a fresh install of beta 3. Great hack, sir. ;)

artvs
04-04-2008, 02:54 PM
Hi, TECK. Please explain me how is it possible?
Page generated in 1.2525 seconds (-40.42% PHP - 140.42% MySQL) with 10 queries

haytham
04-12-2008, 01:50 PM
Hi,
How can this be or what does it mean:
Page generated in 0.530 seconds (100.00% PHP - 0% MySQL) with 41 queries Users: 10 (5 members and 5 guests) | 0KB Used | 1.95 : 2.56 : 2.44 | Uncached Templates: None

curriertech
04-12-2008, 02:16 PM
You missed some of the file edits.

haytham
04-12-2008, 02:23 PM
Ok. I'll recheck. Thanks.

VK3MTR
05-04-2008, 11:26 AM
I just upgraded from VB 3.7 Beta4 to 3.7 Gold.
I did the coding again. But I seem to be getting a database error for:
/includes/class_core.php on line 424

Any ideas would be appreciated.
Is it advisable to reinstall the product file .xml again when upgrading VB?

SORRY GUYS I think it was a false alarm, something else unrelated.
So the good news is this nifty little program works perfect with 3.7.0 Gold

Axel Foley
05-20-2008, 11:22 PM
Works perfectly on 3.7 Gold. ;)

TRABZONLUKAPLAN
05-24-2008, 06:16 PM
Works on 3.6.8 well.

avsunforum
05-29-2008, 10:09 AM
Thank You Very Much

Alfa1
05-30-2008, 12:36 AM
Looking good on vb 3.7.1

Adam21
05-30-2008, 10:14 AM
Works great on 3.7.1 :)

karnevil
06-17-2008, 08:56 AM
1. This product is not compatible with version 3.7.0 of vBulletin. (Compatible starting with 3.6.4 / Incompatible with 3.6.6 and greater)

How do I import the product bypassing the dependencies ?

karnevil
06-17-2008, 08:57 AM
oh lol - I'll try this bit

https://vborg.vbsupport.ru/showpost.php?p=1249437&postcount=176

karnevil
06-17-2008, 09:29 AM
Works perfectly in 3.7.0 Thank you x

ALil'Hope
06-27-2008, 02:21 AM
Does this work on 3.7.2?

Raptor
06-28-2008, 06:59 PM
works fine in vb 3.7.2

however not showing server loads (its enabled in admin cp)

Page generated in 0.19396996 seconds
(81.23% PHP - 18.77% MySQL) with 10 queries
Users: 254 (141 members and 113 guests) | 4,340.76KB Used | GZIP ON (level 1) | Uncached Templates: None

Boofo
06-28-2008, 07:05 PM
Did you edit the footer template?

Raptor
06-28-2008, 08:07 PM
However as I said some where above, Microstats is no longer out putting my server loads. The options is selected in vboptions but it is not processing. Any ideas?:(

my board is the same - vb3.7.2

I installed another microstats hack (3.5 version) and it shows server loads fine - so it must be a function within this code

Delphiprogrammi
08-30-2008, 06:13 PM
working fine on 3.7.3 you just need to be carefull on the class_core.php edits the two functions are not the same ...

VK3MTR
09-30-2008, 07:51 AM
I have tried every which way I can to get this bunch of words to spread out evenly across the table horizontally like this:
Contact Us - The Rolex Forums - Admin - Mod - Archive - Top
Instead it looks like this:
87516
Any help would be much appreciated

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="tfoot" align="center">
<if condition="$show['microstats']"><!-- {microstats} --><align="center">
</if>
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> -</if>
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>$template_hook[footer_links]
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

Delphiprogrammi
09-30-2008, 08:11 AM
hi,

what is this code


<align="center">


doing there right after {MICROSTATS} it doesn't belong there and that's most likely the cause of your problem remove it

VK3MTR
09-30-2008, 09:13 AM
I removed the <align="center"> after microstats and the result is the same, I still get all these words bunched up along the right hand side of the table.

O it has to be something else.

|Jordan|
10-08-2008, 01:47 AM
I just upgraded my vb to 3.7.3 PL1 and reinstalled this modification and now it shows this:

Page generated in 0.5590 seconds (-218,857,625,522.77% PHP - 218,857,625,622.77% MySQL) with 30 queries

What went wrong?

AiRDawG
10-14-2008, 01:41 AM
Works flawlessly on 3.7.3..... Great hack!

appsfinder
10-20-2008, 05:06 PM
Works flawlessly on 3.7.3..... Great hack!
how do i get this to work with 3.7.3 pl1

Delphiprogrammi
10-20-2008, 05:22 PM
edit /includes/class_core.php
edit init.php
import product
enable product
edit template footer
all done !

appsfinder
10-20-2008, 07:06 PM
edit /includes/class_core.php
edit init.php
import product
enable product
edit template footer
all done !


hi i can not get this to import product i get this message The following dependencies were not met:
This product is not compatible with version 3.7.3 of vBulletin. (Compatible starting with 3.7.2 / Incompatible with 3.7.3 and greater)

Delphiprogrammi
10-20-2008, 07:23 PM
hi i can not get this to import product i get this message The following dependencies were not met:
This product is not compatible with version 3.7.3 of vBulletin. (Compatible starting with 3.7.2 / Incompatible with 3.7.3 and greater)

open the product XML and remove this lines


<dependencies>
<dependency dependencytype="vbulletin" minversion="3.6.4" maxversion="3.6.6" />
</dependencies>

appsfinder
10-20-2008, 09:44 PM
open the product XML and remove this lines


<dependencies>
<dependency dependencytype="vbulletin" minversion="3.6.4" maxversion="3.6.6" />
</dependencies>

thanks that worked
Page generated in 0.09723592 seconds (55.14% PHP - 44.86% MySQL) with 15 queries
Users: 1 (1 members and 0 guests) | 5,745.12KB Used | GZIP OFF | Uncached Templates: None
is this right?

|Jordan|
12-15-2008, 07:00 PM
I just upgraded my vb to 3.7.3 PL1 and reinstalled this modification and now it shows this:

Page generated in 0.5590 seconds (-218,857,625,522.77% PHP - 218,857,625,622.77% MySQL) with 30 queries

What went wrong?

I finally figured out how to fix this when i upgraded my forum again.

In init.php put:
$db->mstimer_start();
Below
$db->timer_start('Including Functions.php');

Birched
01-21-2009, 07:00 PM
Has anyone had any luck running this product with 3.8?

thanks,
B.

KevinL
01-21-2009, 07:02 PM
yes

Don Z.
02-11-2009, 02:45 PM
I'd LOVE to use this hack but I HATE when the hacks are overwritten when I upgrade.

Is that the case with this hack? Will I lose it every time I upgrade? :(

Taragon
02-11-2009, 11:14 PM
I'd LOVE to use this hack but I HATE when the hacks are overwritten when I upgrade.

Is that the case with this hack? Will I lose it every time I upgrade? :(
It'll stay installed, and the settings will stay the same.
However you still 'll need to redo your file/template edits.

Welcome to the world of being a webmaster :p
Make yourself a manual of things needed to do, files you've changed, etc. It'll save you loads of time whenever you need to upgrade.

Dimoks
03-05-2009, 08:12 PM
soory

all ok on 3.7.5 PL 1 ! :)

curriertech
03-30-2009, 02:04 PM
Installed and working flawlessly (so far) on 3.8.1 PL1.

testbot
04-17-2009, 01:50 PM
working on 3.8.2 after overwriting the xml maxversion

|Jordan|
06-14-2009, 04:56 PM
My fix no longer works for vb 3.8.3 (see near top of page). Anyone else have it displaying something like: (-1,631,206,356,100.76% PHP - 1,631,206,356,200.76% MySQL) ?

Oblivion Knight
06-18-2009, 07:32 AM
My fix no longer works for vb 3.8.3 (see near top of page). Anyone else have it displaying something like: (-1,631,206,356,100.76% PHP - 1,631,206,356,200.76% MySQL) ?I had some weird stats when running PHP4.. Not quite as bizarre as those though.

Now that I'm running PHP5, all seems fine.

unp
06-18-2009, 07:49 AM
This works fine on 3.8.3 and no file edits :)
https://vborg.vbsupport.ru/showthread.php?t=82900

testbot
08-13-2009, 11:28 AM
is there any plan to have something that doesn't require core hacks for 3.8.x or 4?

Big-Pete
08-13-2009, 06:46 PM
This works fine on 3.8.3 and no file edits :)
https://vborg.vbsupport.ru/showthread.php?t=82900

How did you get this to work with no edits, When i tried to install just now I received this error msg:-

The following dependencies were not met:
This product is not compatible with version 3.8.4 of vBulletin. (Compatible starting with 3.6.4 / Incompatible with 3.6.6 and greater)

mikey1991
08-23-2009, 05:04 PM
Make yourself a manual of things needed to do, files you've changed, etc. It'll save you loads of time whenever you need to upgrade.

I make plugins which apply the template edits for me, it's faster.

mikey1991
08-23-2009, 05:06 PM
How did you get this to work with no edits, When i tried to install just now I received this error msg:-

The following dependencies were not met:
This product is not compatible with version 3.8.4 of vBulletin. (Compatible starting with 3.6.4 / Incompatible with 3.6.6 and greater)

See this (https://vborg.vbsupport.ru/showpost.php?p=1249437&postcount=176) post. :)

Cybershaolin
11-02-2009, 01:57 PM
Nice hack. I wish we could choose which usergroup can see what... why? Because I don't want regular members see that kind of stats.

Michael_Jim
01-10-2010, 07:07 PM
I hope there will be a new hack for vB 4 :)

the_bolo
02-27-2010, 10:47 AM
Any news on a VB4 version ?

Jaxel
04-21-2010, 12:32 AM
The original author of this mod appears to be "BANNED"... but I just finished a rewrite for microstats for VB4 here:

https://vborg.vbsupport.ru/showthread.php?t=240905

TECK
03-20-2011, 05:23 AM
Who is banned?

Boofo
03-20-2011, 05:42 AM
About time you showed up.

testbot
03-20-2011, 03:07 PM
lol

galerio
04-04-2011, 04:24 PM
I would like to see a VB4 version too

appsfinder
09-10-2011, 08:09 AM
Page generated in 0.10 seconds (100.00% PHP - 0% MySQL) with 14 queries Users: 6 (1 members and 5 guests) | 16,006.04KB Used | GZIP OFF | 0.95 : 0.73 : 0.83 | Uncached Templates: None

is there something i need to do?:confused: