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)

Xplorer4x4 03-07-2007 09:31 PM

Quote:

Originally Posted by TECK (Post 1198354)
Xplorer4x4, I think is best you start a new thread in the support area here at vBulletin.org, or even better, open a ticket to vb.com to have them restore everything default.
My hack has nothing to do with your current problems. :)

However, I will help you if you want, but into a new thread. In this way we don"t highjack the current thread. PM me the link.

I strongly recommend you to cantact VB Team, they have a set of toold to clean your board of all hacks in no time. Then, once everything works fine, start installing the hacks one by one and see what causes problems.

Also, make sure you always ask in the forums if you are not sure of something.
Look at the mess you are into. :)
Still, you have to relax, it's just code, you will not lose any data. It's just few annoyng steps you have to go through, that's all. See you on the other side of the thread. :)

I already started a new thread since i already had hijacked this one. Yes your help would be much appreciated here: https://vborg.vbsupport.ru/showthrea...10#post1198310.

dbirosel 03-12-2007 04:55 PM

Installed perfectly! Questions:

Unchached Templates
Display all used templates and identify any unchached ones.


What's so important for this one?

&

On forum home i have 19 queries, is that bad?

TECK 03-14-2007 12:50 AM

If you add any mods and you forget a template to cache it, it will add an extra query for each.
In other words, you can endup with a bunch of queries performed for no reason.
19 queries on your forumhome... considering that you should have max 10, ya is bad. :)

dbirosel 03-14-2007 01:18 AM

So how do i find out if i need a template to cache? I don't really get caching. lol.

I just know having too many queries is bad. Sorry im a noob. Can someone help me out here?

Xplorer4x4 03-14-2007 03:55 AM

Quote:

Originally Posted by TECK (Post 1202962)
If you add any mods and you forget a template to cache it, it will add an extra query for each.

Some hacks add queries with templates cached though.

Xplorer4x4 03-14-2007 03:57 AM

Quote:

Originally Posted by dbirosel (Post 1202971)
So how do i find out if i need a template to cache? I don't really get caching. lol.

I just know having too many queries is bad. Sorry im a noob. Can someone help me out here?

Install this hack, and look at the bottom right corner it will tell you if you have uncached templates.

fn9mm 03-14-2007 06:52 AM

This worked fine at the beginning, suddenly i'm getting this
http://img185.imageshack.us/img185/3089/ab2fc4.png
100 % PHP en 0 % Mysql
I'm getting this on every page, any idea why??

TECK 03-14-2007 02:47 PM

Check your code edits. :)

curriertech 03-17-2007 11:06 PM

Thanks for porting this over to 3.6 Teck, I've been waiting for your version of this hack! :D How can I separate the parts of the admin template so that it is on multiple lines instead of all on one line? I like this format:

gentime
server load
users/templates/mem/etc...

Can this be accomplished easily?

TECK 03-17-2007 11:14 PM

Yes, it can. Look into the XML file at the bottom, where you have the template listed.
Edit it the way you like it.
Then, uninstall the current hack and reinstall it again, using your new XML file with applied modifications.

meissenation 03-18-2007 01:36 PM

I've got MicroStats enabled but it just doesn't show up for me. Any ideas?

TheMilkCarton 03-18-2007 02:42 PM

Try editing the footer template?? There shouldn't be any other reason it doesn't show up.

stwilson 03-18-2007 03:39 PM

Love the mod! I have a question. My stats are consistently showing:

Page generated in X.X seconds (2.24% PHP - 97.76% MySQL) with X queries

My configuration is one where I have the web server (dedicated) and a separate MySQL server (shared). With most of my page loads coming in at just above 5 seconds and hovering around 98% MySQL...is it safe for me to assume I need to get on a faster MySQL server to balance this out some or am I reading the stats wrong? Thatnk you for your hard work.

TECK 03-18-2007 11:03 PM

I would get another server, then do a balanced load proxy on them.
Personally, I would buy the servers and look near my house for a colocation center. You will save a ton of money every month.
How big is your site?

stwilson 03-19-2007 12:39 AM

My site is about 12K+ members, with concurrent users hovering about 50-75 at any given time and daily uniques at about 1,200.

curriertech 03-19-2007 12:50 AM

Quote:

Originally Posted by TECK (Post 1205921)
Yes, it can. Look into the XML file at the bottom, where you have the template listed.
Edit it the way you like it.
Then, uninstall the current hack and reinstall it again, using your new XML file with applied modifications.

Awesome, thanks!

TECK 03-19-2007 07:08 AM

Quote:

Originally Posted by stwilson (Post 1206958)
My site is about 12K+ members, with concurrent users hovering about 50-75 at any given time and daily uniques at about 1,200.

Use your dedicated server for both web and mysql server.

fn9mm 03-19-2007 07:29 AM

Quote:

Originally Posted by TECK (Post 1203342)
Check your code edits. :)

got it,
all the changes i made to class_core.php and init.php file were somehow undone,
don't get it how or why, i implemented all the required changes a week ago,
thx anyway
great mod !!

TECK 03-20-2007 02:16 AM

Good job. :)
As I said before, the hack is very safe for vBulletin. If you do something bad, it will not break your site.
The worst it will happen is not to show the right info.

Xplorer4x4 03-24-2007 05:03 AM

TECK, I found a slight conflict with another mod. I am using the "Show Users using Style in Style Chooser" which I believe was developed by Kirby/Andreas along with this hack, and noticed the following:

If I install Microstats over the other hack, the other hack fails to function. I have to install Andreas' hack over this one.

I was wondering if it would be possible for you to develope something similar in to this hack since this is a stats hack and all. ;)

Get Shorty 03-25-2007 04:35 AM

Is there any way I can display the server loads to regular users and guests?

Thanks for the hack. :)

TECK 03-25-2007 07:42 AM

Quote:

Originally Posted by Xplorer4x4 (Post 1210846)
TECK, I found a slight conflict with another mod. I am using the "Show Users using Style in Style Chooser" which I believe was developed by Kirby/Andreas along with this hack, and noticed the following:

If I install Microstats over the other hack, the other hack fails to function. I have to install Andreas' hack over this one.

I was wondering if it would be possible for you to develope something similar in to this hack since this is a stats hack and all. ;)

Link to Kirby's hack? I did not get what you are actually want... to modify my hack in order to make it work with Kirby's?
Thanks for explaining again.

Quote:

Originally Posted by Get Shorty (Post 1211592)
Is there any way I can display the server loads to regular users and guests?

Thanks for the hack. :)

Yes, it can be done, but I strongly recommend you not to do it.
If you have a very busy site, it will put unwanted stress into server. Is not for fun that I made it to show only to admins. :)
Leave it like that, is best.

Xplorer4x4 03-25-2007 08:53 AM

https://vborg.vbsupport.ru/showthread.php?t=95637
Andreas hack is there. It would be nice for it to work with his hack flawless. OR it would be nice to see the function of his hack integrated into this one.

Also I noticed his is now calling one query per style. :(

And I no longer see my server loads. I really need to see them.:(

Get Shorty 03-25-2007 10:13 PM

Quote:

Originally Posted by TECK (Post 1211652)
Yes, it can be done, but I strongly recommend you not to do it.
If you have a very busy site, it will put unwanted stress into server. Is not for fun that I made it to show only to admins. :)
Leave it like that, is best.

Ah, I see. I figured the server load was calculated anyway, so it'd be a freebie. How else does vBulletin know to deny members if the load reaches a certain level (vb option)?

DementedMindz 03-27-2007 08:32 PM

TECK have a question for you when you use this mod along with vB Ad Management you get the uncached templates postbit_advertisement now he says its this mod cause the default vbulletin does not show any uncached templates you can take a look at the post on the thread on this page https://vborg.vbsupport.ru/showthrea...131150&page=49 any word on how to fix this?

TECK 03-30-2007 05:45 AM

Quote:

Originally Posted by Get Shorty (Post 1212199)
Ah, I see. I figured the server load was calculated anyway, so it'd be a freebie. How else does vBulletin know to deny members if the load reaches a certain level (vb option)?

Nah, is not calculated by default. :)
Some extra operations are performed to pull the data and format it. No need to load the server for regular users, especially that most of them would not care at all about this info.
They like to read your forum, not to see if it's up and running dandy. :)

Quote:

Originally Posted by DementedMindz (Post 1213927)
TECK have a question for you when you use this mod along with vB Ad Management you get the uncached templates postbit_advertisement now he says its this mod cause the default vbulletin does not show any uncached templates you can take a look at the post on the thread on this page https://vborg.vbsupport.ru/showthrea...131150&page=49 any word on how to fix this?

After reading that page (if I understand correctly) with a previous version, you did not have this problem, right? Once you updated his hack it showed an uncached template.
So tell him to check his code, my hack is OK. :)
Just to give you more details, tell him that my hack outputs all uncached templates at the global_complete hook. At this point, you should not perform any type of caching anymore (at least that's how all vBulletin files work).

Just curious, why you don't use MMM? All huge sites with thousands of users online use it because it's extremly stable and way better then PAN. It integrates with other major advertiser systems, like Atlas and Mediaplex and it's free:
Openads 2.3 (aka Max Media Manager)
http://www.openads.org/downloads.html

TECK 03-30-2007 05:55 AM

Quote:

Originally Posted by Xplorer4x4 (Post 1211674)
https://vborg.vbsupport.ru/showthread.php?t=95637
Andreas hack is there. It would be nice for it to work with his hack flawless. OR it would be nice to see the function of his hack integrated into this one.

Also I noticed his is now calling one query per style. :(

And I no longer see my server loads. I really need to see them.:(

This hack is pretty old, there are many changes to the core in vb 3.6, compared to 3.5 version. DO NOT install 3.5 hacks into a 3.6 board. I'm not sure if Kirby is still active on those forums.
Plus, if it ads one query per style for each post, you could endup with 100 extra queries on your page.

Sorry, but I will not create or edit other's hacks. :)
They can fix them, is their code. vbMicrostats will never break another hack, if it's the right vB version and if the hack is written properly. In fact, the hack can break vbMicrostats, not viceversa.

Xplorer4x4 03-30-2007 01:07 PM

Quote:

Originally Posted by TECK (Post 1215906)
This hack is pretty old, there are many changes to the core in vb 3.6, compared to 3.5 version. DO NOT install 3.5 hacks into a 3.6 board. I'm not sure if Kirby is still active on those forums.
Plus, if it ads one query per style for each post, you could endup with 100 extra queries on your page.

Sorry, but I will not create or edit other's hacks. :)
They can fix them, is their code. vbMicrostats will never break another hack, if it's the right vB version and if the hack is written properly. In fact, the hack can break vbMicrostats, not viceversa.

Kirby is still around on rare occasions. Not like the old days.

As for the hack it has been updated to 3.6. I was simply asking if you would implement the same feature in this hack, but I am using the PSIStats hack so that calculates style usage, and thats what i need.

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?:(

DementedMindz 03-30-2007 06:06 PM

Quote:

Originally Posted by TECK (Post 1215899)
Just curious, why you don't use MMM? All huge sites with thousands of users online use it because it's extremly stable and way better then PAN. It integrates with other major advertiser systems, like Atlas and Mediaplex and it's free:
Openads 2.3 (aka Max Media Manager)
http://www.openads.org/downloads.html

thank you for the heads up im going to look at that now :)

TECK 04-01-2007 07:20 AM

Quote:

Originally Posted by Xplorer4x4 (Post 1216089)
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?:(

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.

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 08:34 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.02380 seconds
  • Memory Usage 1,853KB
  • 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
  • (20)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