vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - vBMicroStats (https://vborg.vbsupport.ru/showthread.php?t=140449)

dj_melayu 04-04-2007 07:59 PM

I got this things works fine on 3.6.2 through this post https://vborg.vbsupport.ru/showpost....2&postcount=78

And the result is
Quote:

Page generated in 2.48392510 seconds (53.68% PHP - 46.32% MySQL) with 72 queries 0KB Used | Uncached Templates: None
What do you think guys? :)

dbirosel 04-04-2007 08:02 PM

omg that is horrible!!! 72 queries!!! almost 3 seconds to load... oh my..

dj_melayu 04-04-2007 08:37 PM

I didn't get it. What you meant? :)

cashpath 04-04-2007 10:35 PM

Quote:

Can I suggest a small change?

Change '{microstats}' to '<!--{microstats}-->' in the template and in the str_replace in the plugin.

This way, on pages where the vb footer is used but it's not designed 'for' vbulletin (for example photopost, mediawiki) it doesn't leave the text {microstats} breaking your table, as it sees it as a comment.

Ollie
I have custom pages that this does not show up on.. how would I get it to work with the custom pages? What does designed 'for' vbulletin mean?

cashpath 04-05-2007 03:28 PM

Anyone?

Xplorer4x4 04-05-2007 03:52 PM

Quote:

Originally Posted by dj_melayu (Post 1219954)
I didn't get it. What you meant? :)

He means 72 queries is likley to kill your site and your hogging server resources from the other people sharing your server since you are probably on shared hosting. You should consider removing some hacks ASAP!

Quote:

Originally Posted by cashpath (Post 1220005)
I have custom pages that this does not show up on.. how would I get it to work with the custom pages? What does designed 'for' vbulletin mean?

designed for vbulletin means it is designed for vBulletin, not IPB, phpbb, and not a portal page.

As for getting it work on custom pages, that depends, what kind of custom pages are you referring to? A php or HTML web page or a hack for vbulletin like vBAdvanced or Web Templates? If your referring to vBAdvanced or Web Templates try putting the template edit for this hack into the bottom of there hack. If your trying this on a non vb page like a php or html web page then wait for TECK to see if he can help.

Xplorer4x4 04-05-2007 03:55 PM

Quote:

Originally Posted by TECK (Post 1217310)
Try to isolate the problem. Install Microstats into a clean board.
It will work perfectly, then add one hack at the time, until you see what hack create the problem.

Once you identify the hack, ask the kacker why it breaks vBulletin.

If vBMicrostats is not working properly, chances are that other vBulletin code segments are broken also by that hack. As I said already to you, feel free to ask in the Programming forum about a hack, if it's well written, etc. Hackers will be honest and tell you stright up to install it or not.

Do not run high and install anything you like, just because it's cool for your board.
Unfortunatelly, many hacks are written with a very low code quality/performance and they are not checked to see how they perform into a real live/busy environment.

I know it's a pesky job on finding what hack is breaking your board.
If I can help, I will reply to your threads into Programming forum.

Cheers.

Well I installed vBAdvanced the other day and decided to move the forums out of public_html(being the vb root) to the public_html/vbroot folder and now the server loads seem to run fine.

cashpath 04-05-2007 04:42 PM

They are custom PHP pages wrapped in the Vbulletin header navbar and footer.

I call the $footer template to be displayed on those pages and the edit is in there.. it shows up in the source like this <!-- {microstats} -->

cashpath 04-06-2007 09:24 PM

Is there something specific that a page has that activates this?

Xplorer4x4 04-07-2007 12:29 AM

I realize you have been waiting about 2 days cashpath but stop double posting all the time and give the author a chance to reply. It may be possible he has been to busy to reply.


All times are GMT. The time now is 05:00 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.01531 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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