vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Microstats - load times, server loads, queries, uncached templates (https://vborg.vbsupport.ru/showthread.php?t=82900)

Eagle Creek 05-29-2006 04:25 PM

Quote:

Originally Posted by ShiningArcanine
You are probably on a Windows server. That would be normal behavior as server load averages do not exist under Windows.

No, it isn't Windows..

It used to display the server load averages when I first installed the hack. But it doesn't show them anymore :(.

Sidewindr 05-29-2006 11:59 PM

Quote:

Originally Posted by BeaLzeBuB
fixed.

thanks for Lizard King and ShiningArcanine

How did you fix it?? .. I am having the same report for anotehr mod.

ShiningArcanine 05-30-2006 07:07 AM

Quote:

Originally Posted by Eagle Creek
No, it isn't Windows..

It used to display the server load averages when I first installed the hack. But it doesn't show them anymore :(.

File a support ticket with your host.

Hornstar 06-02-2006 05:46 AM

Question. What does all these stats mean?

Page generated in 0,71435 seconds with 34 queries [Server Loads: 0.65 0.50 : 0.58]

Those stats are not mine, only an example.

What are good stats? What should we be really looking for? and when is it time to think about getting rid of hacks, or upgrading server.

Thanks

KOKS@LN 06-06-2006 06:05 PM

Hi,
Thanks for this great plugin. Installed on a vB 3.5.4 forum.
I've a problem. The stats are shown twice, one under the other on the forumhome page. The other pages are not affected by this issue.

I found out what causes this problem. In FORUMHOME template, I use a popup code for a FlatCast Radio Server. The code is as following.

Code:

<!-- FlatCast Code --->
<body LANGUAGE=javascript onload="window.open ('http://www.********.com/Player.aspx?sid=******','_blank','scrollbars=yes,menubar=no,width=900,height=600,left=0,top=0');return;"></body>
<!-- FlatCast Code --->

Even though I've changed the place of the code in the same template, the stats are still shown twice (one is shown in where FlatCast code resides).
It seems to me that the </body> tag in the FlatCast code causes the problem.

Does anybody know how to sort this out?

Thanks.

Eagle Creek 06-06-2006 06:21 PM

Quote:

Originally Posted by hornstar1337
Question. What does all these stats mean?

Page generated in 0,71435 seconds with 34 queries [Server Loads: 0.65 0.50 : 0.58]

Those stats are not mine, only an example.


What are good stats? What should we be really looking for? and when is it time to think about getting rid of hacks, or upgrading server.

Thanks

A normal indexpage should be loaded before 1 second and should not have 'too many' query's. But that depens on the amound of hacks installed.

Server loads should not be higer then 3.0 at all time. (except when you are asking extreme things like making MYSQL dumps, etc..).
If your serverload is very high and the page load is slow this isn't immediate a problem. Only is this problem occurs every day you should consider talking to your webhost for processess going crazy, or maybe upgrading.

ShiningArcanine 06-06-2006 11:15 PM

Quote:

Originally Posted by KOKS@LN
Hi,
Thanks for this great plugin. Installed on a vB 3.5.4 forum.
I've a problem. The stats are shown twice, one under the other on the forumhome page. The other pages are not affected by this issue.

I found out what causes this problem. In FORUMHOME template, I use a popup code for a FlatCast Radio Server. The code is as following.

Code:

<!-- FlatCast Code --->
<body LANGUAGE=javascript onload="window.open ('http://www.********.com/Player.aspx?sid=******','_blank','scrollbars=yes,menubar=no,width=900,height=600,left=0,top=0');return;"></body>
<!-- FlatCast Code --->

Even though I've changed the place of the code in the same template, the stats are still shown twice (one is shown in where FlatCast code resides).
It seems to me that the </body> tag in the FlatCast code causes the problem.

Does anybody know how to sort this out?

Thanks.

Try removing the extra body tag. You could also try using the "Optional config.php Variable" I outlined above.

eclectica 06-07-2006 11:55 PM

For some of you who are not seeing the server loads, check that you are in the usergroupid 6, which is the admin usergroup by default. But if you had made another group with a different id number as admin, the hack won't show server loads for that group. To fix that you can then edit the xml file to change the 6 to whatever your admin useridgroupid is.

Also see this post where I figured out a way to show the server loads to all usergroups:
https://vborg.vbsupport.ru/showpost.php?p=841699

Has anyone tested this hack on vBulletin 3.6? Please post here.

havefun 06-11-2006 04:00 PM

THX 4 it.

helped me out to find 1 plugin that made my board more
than one sec. slower :D

eclectica 06-11-2006 10:47 PM

Today is the one year anniversary of the modification.

This hack was updated June 9th according to the first post. Also I received an email June 9th that said the following:

Quote:

ShiningArcanine has updated their hack:

Microstats - load times, server loads, queries, uncached templates
https://vborg.vbsupport.ru/showthrea...threadid=82900

This is the update that the user gave:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I uploaded a product file of microstats today that supercedes the plugin file.

If you have the plugin installed, there is no need to upgrade as there are no changes other than the usage of the product manager.

In the event of a future release, you will want to remove the old plugin from the plugin manager and upload the new product in the product manager.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Yours,
vBulletin.org Forum team

rmxs 06-13-2006 04:01 PM

i install the plugin before one month i try to unustall it now and install the product and its not on the plugin list...

i try to istall it 2 more times and still doesnt no appeard on plugin list ( i install the PLUGIN)byt on forum home the stats displayed 3 times now

SOS SOME ONE HELP ME??

eclectica 06-13-2006 07:01 PM

This works fine with vBulletin 3.6 beta 2.

nymyth 06-13-2006 07:07 PM

Page generated in 3.88997 seconds with 8 queries [Server Loads: 18.30 13.06 : 10.40]

Thats what I see, is this correct, or am i missing some items???

Also.....homepage takes around 4 seconds to load...could anyone provide me with some insight into this. Is this something I may have done to the board to make it move slow, is it server side, can i optimize etc..... cheers

Peace

ShiningArcanine 06-13-2006 10:35 PM

Quote:

Originally Posted by rmxs
i install the plugin before one month i try to unustall it now and install the product and its not on the plugin list...

i try to istall it 2 more times and still doesnt no appeard on plugin list ( i install the PLUGIN)byt on forum home the stats displayed 3 times now

SOS SOME ONE HELP ME??

It is really not necessary to install the new product file if you are using the old plugin. Are you using the plugin manager to uninstall the old plugin and the product manager to install the new product?

rmxs 06-14-2006 07:00 PM

Yes i fixed now i dont remember how byt i fixed..

buzzel 06-19-2006 09:38 AM

Hi,

i like the Microstats and it works very well at my page...

i have one question: i have photopost integrated with vb3... is it possible that the Microstats work on photopost pages, too? and if, how can i made this?

thanks
Peter

ShiningArcanine 06-19-2006 04:20 PM

I would not know about that but if you wanted to make it work with external scripts, you would have to integrate vBulletin's hooks systems with it, in particular the global_complete hook.

buzzel 06-19-2006 04:49 PM

Quote:

Originally Posted by ShiningArcanine
I would not know about that but if you wanted to make it work with external scripts, you would have to integrate vBulletin's hooks systems with it, in particular the global_complete hook.

thanks...

Mudvayne 06-19-2006 05:30 PM

Hello ShiningArcanine I hav got a prob with this.. Previously I edit your plugin to giv the same access as Admin to another usergroup.. Both is given bellow..
I hav changed in plugin from:
PHP Code:

if ($vbulletin->userinfo['usergroupid'] == 6) { 

To:
PHP Code:

if ($vbulletin->userinfo['usergroupid'] == or $vbulletin->userinfo['usergroupid'] == 9) { 

And from:
PHP Code:

if (($vbulletin->config['Microstats']['adminonly'] and $vbulletin->userinfo['usergroupid'] == 6) or !$vbulletin->config['Microstats']['adminonly']){ 

To:
PHP Code:

if (($vbulletin->config['Microstats']['adminonly'] and ($vbulletin->userinfo['usergroupid'] == or $vbulletin->userinfo['usergroupid'] == 9)) or !$vbulletin->config['Microstats']['adminonly']){ 

After tht the plugin was workin like charm.. But whn I hav reedit the product.xml then I got that error..
Quote:

Parse error: syntax error, unexpected T_LOGICAL_OR in /hermes/web07/******/***.golponet/htdocs/forum/includes/functions.php(4367) : eval()'d code on line 9
Any help? I need to another usergroup to giv admin access.. Thnx in advance..

ShiningArcanine 06-19-2006 09:58 PM

That is an error from the PHP Parser. It generally means that you made a mistake somewhere. Looking at the first big of code you wrote, where the error occurred, everything looks okay. Have you tried re-editing the XML file to rule out the possibility of a typographical error? Also, have you tried editing the product's plugin directly in the AdminCP?

Mudvayne 06-19-2006 10:20 PM

I figured it out.. Edit the plugin via Admin CP.. Now its workin.. But in plugin ($vbulletin->userinfo['usergroupid'] == 6 or $vbulletin->userinfo['usergroupid'] == 9)) was worked fine.. But in priduct ($vbulletin->userinfo['usergroupid'] == 6 or $vbulletin->userinfo['usergroupid'] == 9)) gives error so I remove 1 brace n its start workin..
PHP Code:

($vbulletin->userinfo['usergroupid'] == or $vbulletin->userinfo['usergroupid'] == 9


TheBlackPoet 06-21-2006 04:58 AM

i never had a need for this type of information nor has my members.. but i installed it anyway... and found that I DID have a need for this... and it works great! thanks

ssslippy 06-28-2006 09:59 PM

Ok I was able to get it to show 2x by using the <!-- display microstats here --> in the footer. How can I get it to only show once?

kofoid 07-11-2006 03:58 PM

Are you all ready for a dumb question? How to I get my uncached templates cached??

Mudvayne 07-11-2006 04:08 PM

Quote:

Originally Posted by kofoid
Are you all ready for a dumb question? How to I get my uncached templates cached??

U can modify ur php file.. Don forget to change the Template_Name..
PHP Code:

// pre-cache templates used by all actions
$globaltemplates = array('Template_Name');

// pre-cache templates used by specific actions
$actiontemplates = array(); 

Or u can try this plugin.. But don forget to edit this line in plugin.. U just hav to put the uncached Template_Name..
PHP Code:

        <phpcode><![CDATA[$customtemplates = array('Template_Name'); $globaltemplates array_merge($globaltemplates$customtemplates);]]></phpcode

Sorry my english :confused:

kofoid 07-11-2006 05:05 PM

THANK YOU SHUVO!!!!!!!!!! One other dumb question - which php file should I edit? global?

Mudvayne 07-11-2006 05:13 PM

Quote:

Originally Posted by kofoid
THANK YOU SHUVO!!!!!!!!!! One other dumb question - which php file should I edit? global?

Depend which php file its using n which template is uncached.. Suppose SHOWTHREAD template is uncached thn u shud edit showthread.php.. But its allready hav done by vB dev ;).. Newayz u better use tht plugin I provide.. Or u can tell me which template u hav found uncached! I 'll provide a plugin tht u don hav to edit..

kofoid 07-11-2006 05:50 PM

OK I tried the plug in for "navbar2" and it didn't work.... here's what it's still showing me:
Powered by vBulletin Version 3.5.4
Copyright ?2000 - 2006, Jelsoft Enterprises Ltd.
Copyright 2005, Yada Yada Yada Copyright 2005, Let's Yada Yada Yada
Page generated in 0.79214 seconds with 19 queries (2 queries for uncached templates) [Server Loads: 1.92 2.59 : 2.89]
Uncached templates: gallery_top5 (4)
Uncached templates: navbar2 (1)

But THANK YOU for your help, sir!!!!!!!!!!!

kofoid 07-11-2006 05:52 PM

wait wait - It DID work - You are the KING I bow to you LOL thank you

Mudvayne 07-11-2006 06:00 PM

Quote:

Originally Posted by kofoid
wait wait - It DID work - You are the KING I bow to you LOL thank you

U r most welcome :).. BTW u shud edit ur signature.. Shud edit the link from http://www-lets-yada-yada-yada.com/ to http://www.lets-yada-yada-yada.com/ ;)..

Polo 07-28-2006 06:35 PM

Quote:

Originally Posted by eoc_Jason
Here's one that I made based on the 3.0.x MS hack. I liked how it used the drop-down box style for the cached / uncached templates. Just thought I would share incase someone wanted the older style too. I hard-coded it to use {ms} as the replacement variable, but you can set it to whatever you want quite easily.

I want to use your version Jason, but I havent been able to make it work...

is there any extra steps I need to take, or how do I make the stats appear in my website???

any help would be appreciated....

Bulent Tekcan 08-04-2006 11:37 AM

Is it work 3.6.0 ?

Mudvayne 08-04-2006 12:58 PM

Using it with 3.6 & got no error yet.. Seems working fine for me :D.. But it would be better if the coder confirm himself about it..

Tomek 08-04-2006 01:04 PM

This plugin breaks uploading attachments (i.e. pdf-files) in vBulletin 3.6.0.

aciurczak 08-05-2006 04:26 PM

Didn't break uploading attachments for me. I'm on 3.6.0, and just re-tested loading and saving an attachment (pdf file).

Muellmann 08-27-2006 06:26 PM

Quote:

Originally Posted by Tomek
This plugin breaks uploading attachments (i.e. pdf-files) in vBulletin 3.6.0.

I can't confirm that. Maybe your Uploadspeed lacks, but for me works all fine
on 3.60 Gold.

eclectica 08-30-2006 01:17 AM

You should list this under 3.6 since that is now the main vBulletin software.

curriertech 09-09-2006 07:15 PM

Installed and working fine on 3.6, but I'd love to get the replacement variable part to work (I tried it, and it simply doesn't show on the page - I have to leave it as the default)...because I'd like it under my copyright info and not at the very bottom of the page because it messes with some of my custom styles.

ShiningArcanine 09-15-2006 10:06 PM

Quote:

Originally Posted by Tomek
This plugin breaks uploading attachments (i.e. pdf-files) in vBulletin 3.6.0.

I cannot verify that.

Quote:

Originally Posted by eclectica
You should list this under 3.6 since that is now the main vBulletin software.

I would rather not have to maintain two threads though. I will update the main post though, to specify that.

Quote:

Originally Posted by curriertech
Installed and working fine on 3.6, but I'd love to get the replacement variable part to work (I tried it, and it simply doesn't show on the page - I have to leave it as the default)...because I'd like it under my copyright info and not at the very bottom of the page because it messes with some of my custom styles.

Are you sure that you edited config.php appropriately and you edited the templates to add the appropriate comment?

curriertech 09-15-2006 10:53 PM

Quote:

Originally Posted by ShiningArcanine


Are you sure that you edited config.php appropriately and you edited the templates to add the appropriate comment?

Yep, if I do it that way it simply doesn't show up at all.


All times are GMT. The time now is 03:59 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.01764 seconds
  • Memory Usage 1,858KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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