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)

NeRilkA 06-04-2006 08:50 PM

hi,

i installed the hack on my test forum, and it works but i have errors at the top on the page :

Quote:

Warning: Division by zero in /includes/functions.php(4367) : eval()'d code on line 63

Warning: Division by zero in /includes/functions.php(4367) : eval()'d code on line 64
i attached a capture of my screen

thanks for your help

apn3a 06-05-2006 05:47 AM

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

Boofo 06-05-2006 08:56 AM

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

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

Boofo 06-05-2006 09:01 AM

Quote:

Originally Posted by TECK
PhotoPost does not use the vBulletin $output, then?
This code line (in vBMicroStats Global Hook) should help you:
Code:

$output = str_replace('{microstats}', $ms_output, $output);
$output is the vBulletin html code output and $ms_output is the MicroStats one.
The code line listed above with search in the $output for the {microstats} string and replace it with the actual $ms_output html code.
Probably you have a mod installed that merges PhotoPost with vBulletin?
I'm not familiar with this software, so unfortunatelly I could not support it.
I wish I could help you more.

Maybe other members who have experience with PhotoPost could help you better.
I would post this question in the vB3.5 Modification Questions forum.
It shouldn't be hard to fix your problem.

If you have an answer, please post it here so I can link it in the first post.
Thanks. :)

BTW, 27 installs in 12 hours? Thank you! It really means a lot to me.

Mine isn't working in Photopost either. It just shows the {microstats} instead of the infornation. I have my Photopost directory set up in the same dirctory as the forums, not underneath it, though, so could that be it?

TECK 06-05-2006 07:43 PM

Quote:

Originally Posted by NeRilkA
hi,

i installed the hack on my test forum, and it works but i have errors at the top on the page :
... Division by zero ...
i attached a capture of my screen

thanks for your help

Try this. Open the vBMicroStats Global Hook and find this code:
Code:

$total_time = vb_number_format($end_time[0]
Replace it with:
Code:

$total_time = number_format($end_time[0]
Let me know if that fixed the problem.

TECK 06-05-2006 07:51 PM

Quote:

Originally Posted by Boofo
Mine isn't working in Photopost either. It just shows the {microstats} instead of the infornation...

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...

NeRilkA 06-05-2006 07:53 PM

yes it works ! thanks a lot !

TECK 06-05-2006 08:12 PM

Excellent, alors... clique sur le piton pour montrer aux gens que tu utilise ce mod. :)

CP, 06-06-2006 12:41 AM

Quote:

Originally Posted by CP,
Hi its ive installed it without any errors or anything but for me nothing is showing, ive enabled it also :(

Id be greatfull if somebody can help me with my query..., the hack installed without any errors or anything..., but i dont see anything...., no footer page stats or anything, not even topic stats on the category bar as show... :confused:

Tulsa 06-06-2006 01:32 AM

vbulletin options > bbmicrostats > Enable the vBMicroStats plugin > yes


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


All times are GMT. The time now is 01:49 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.01354 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (6)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