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)
-   -   Statistics Modifications - Dream's Forum Statistics (https://vborg.vbsupport.ru/showthread.php?t=140812)

rwoscott 12-11-2007 05:24 PM

Quote:

Originally Posted by TomasDR (Post 1398987)
I will look into it, BTW did you try 24 or 36 when it was November?

Possibly, but I don't remember. Sorry.

SuperD 12-13-2007 12:10 AM

Thanks for the mod but where exactly to upload the statistics.php and statsmod/ folder ?

rwoscott 12-13-2007 06:12 PM

Quote:

Originally Posted by SuperD (Post 1400199)
Thanks for the mod but where exactly to upload the statistics.php and statsmod/ folder ?

statistics.php => forum/statistics.php
statsmod/ folder => forum/statsmod/

Ie. upload both to your forum directory.

SuperD 12-14-2007 03:35 AM

Thanks

WhatChaMissin 12-15-2007 12:43 PM

Works great
*clicks install

TomasDR 12-15-2007 04:56 PM

Quote:

Originally Posted by rwoscott (Post 1399324)
Possibly, but I don't remember. Sorry.

I took a look at the functions and did the math but it all looks good. I will continue looking but it might be next month, so I can see if a different month does the same.

rwoscott 12-16-2007 05:47 AM

Quote:

Originally Posted by TomasDR (Post 1401655)
I took a look at the functions and did the math but it all looks good. I will continue looking but it might be next month, so I can see if a different month does the same.

Cool, thanks mate.

rwoscott 12-17-2007 12:43 AM

Quote:

Originally Posted by rwoscott (Post 1398719)
I found another issue with the registration stats. Not a major drama.

If you select Results = 23 , you get 23 months.

If you select Results = 25 , you get 25 months.

Correct so far.

However, if you select 24 months, you get 36 months,
If you select 36 months you get 48 months.
If you select 48 months you get 60 months. I see a pattern here
The additional 12 months have a date of 01/01/1970.
(see attached).

I assume this is related to December being the 12th month.

Any ideas?

I'm no php expert, but I did the following to fix this error.

In statistics.php replace
PHP Code:

        $year $year intval(($howmany $today['month']) / 12); 

With
PHP Code:

        $year $year intval(($howmany $today['month'] - 1) / 12); 

I've tested it for this month and it seems fine.

I've run through it on paper and I think it should work for other months. (fingers crossed) :up:

rokked 12-17-2007 05:39 AM

great addon, thanks a lot for this
have it running over at
http://forums.rokked.com/statistics....osters&show=10

blastup 12-25-2007 10:54 PM

i saw the http://www.s10planet.com/forum/statistics.php in your demo

but your mod is different from that? is there a way to change into that? with all the things displayed? let me know asap thanks


All times are GMT. The time now is 05:06 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.01406 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (5)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