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)
-   -   vBMicrostats (https://vborg.vbsupport.ru/showthread.php?t=116027)

TECK 06-06-2006 09:23 AM

No, there is another BB there (Bulletin Board)... I wanted to look good. :)

Boofo 06-06-2006 09:28 AM

Quote:

Originally Posted by TECK
Bobby and others, the problem we are dealing with is the following:
Code:

$output = str_replace('{microstats}', $microstats_output, $output);
There is no $output processed by PhotoPost, in order to find {microstats} and replace it with the $microstats_output.
Since I don't have PhotoPost, the best way is to ask other PhotoPost coders how the output is processed.
All you have to do is add there the replacement line listed above, adapted to their code...

Wouldn't replacing {microstats} with $microstats_output in the footer solve the problem?

Oblivion Knight 06-06-2006 08:05 PM

Hmm.. 1.0.5 is showing my memory usage as 0KB on every page, 1.0.4 didn't.

Boofo 06-06-2006 09:37 PM

Quote:

Originally Posted by TECK
Bobby and others, the problem we are dealing with is the following:
Code:

$output = str_replace('{microstats}', $microstats_output, $output);
There is no $output processed by PhotoPost, in order to find {microstats} and replace it with the $microstats_output.
Since I don't have PhotoPost, the best way is to ask other PhotoPost coders how the output is processed.
All you have to do is add there the replacement line listed above, adapted to their code...

Floren, if you would like Admin CP access to help figure this out, please PM me and I will set it up for you, sir. ;)

CP, 06-06-2006 10:41 PM

Quote:

Originally Posted by Tulsa
vbulletin options > bbmicrostats > Enable the vBMicroStats plugin > yes


Now I do believe we have a typo in the vbulletin options title. ;)

Yes its enabled i did all that, but i dont see anything...., no footer page stats or anything, not even topic stats on the category bar as show... ?

Snake 06-07-2006 11:37 AM

Quote:

Originally Posted by Oblivion Knight
Hmm.. 1.0.5 is showing my memory usage as 0KB on every page, 1.0.4 didn't.

Same here!

TECK 06-07-2006 03:20 PM

Quote:

Originally Posted by Oblivion Knight
Hmm.. 1.0.5 is showing my memory usage as 0KB on every page, 1.0.4 didn't.

You are right, I was cheating using a tricky way to calculate the memory, without get_memory_usage() compiled in PHP.
It was showing the right values, except it was divided to much.... the right results are 2,985KB not 0.20KB.

Since I did not wanted to get into extra calculations, I simply removed the process to ease the server and stop piping through grep the hole activity log.
Trust me, it's better this way now.

If you guys really want it, I could post the mod here, but I will not insert it into the original code. Performance wise is not recommended.
Quote:

Originally Posted by Boofo
Floren, if you would like Admin CP access to help figure this out, please PM me and I will set it up for you, sir.

In a bit, Bobby. I will look into it next week, I promise.
Send me by email: webmaster AT adolympics DOT com
the php files that give you trouble.

Oblivion Knight 06-07-2006 04:17 PM

Quote:

Originally Posted by TECK
You are right, I was cheating using a tricky way to calculate the memory, without get_memory_usage() compiled in PHP.
It was showing the right values, except it was divided to much.... the right results are 2,985KB not 0.20KB.

Since I did not wanted to get into extra calculations, I simply removed the process to ease the server and stop piping through grep the hole activity log.
Trust me, it's better this way now.

If you guys really want it, I could post the mod here, but I will not insert it into the original code. Performance wise is not recommended.

I guess I'd have had my answer sooner if I actually looked at the Admin CP setting description for the memory usage display, huh? ;)

Display the server memory usage, per page.
If you display results like 0KB Used, you need to compile PHP with enable-memory-limit option.

apn3a 06-07-2006 06:15 PM

Quote:

Originally Posted by apn3a
hi, i've installed vBMircostats, excellent work TECK.


I'm getting a high number regarding queries. i see everyone is getting 5-15 but i'm getting 30+ most of the times, especially when i browse my forum's threads.

Page generated in 1,14650702 seconds (46,75% PHP - 53,25% MySQL) with 32 queries

does anyone know how to fix this?

thank you in advance

Quote:

Originally Posted by Boofo
The only way to fix that is un-install some of the hacks you have installed.


well, i only have 7 hacks installed.. is that really the case that i'm getting so many queries or it could be something else too?

thank you :)

Boofo 06-07-2006 06:21 PM

Quote:

Originally Posted by apn3a
well, i only have 7 hacks installed.. is that really the case that i'm getting so many queries or it could be something else too?

thank you :)

Depends on the hacks you have installed.


All times are GMT. The time now is 08:12 AM.

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.01301 seconds
  • Memory Usage 1,749KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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