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)

TCE Killa 12-25-2007 11:39 PM

Great hack, only thing is everytime I click Statistics now, a 404 error comes up, so I move the statistics.php to my actual rout directory and an even bigger error comes up saying error on line 46 statistics.php.... Atleast with the other error, the page isn't found until I get assistance, thanks. I have uploaded the forum folder and all of its contents to my rout directory and imported the product and changed the optional settings, just an error - page not found when I actually click the statistics link. Any help would be highly appreciated, thanks.

TCE Killa 12-25-2007 11:56 PM

Lol nevermind, I managed it, great hack.

rwoscott 01-06-2008 08:24 AM

Quote:

Originally Posted by rwoscott (Post 1402497)
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:

I've checked this month and all seems to be OK with the above fix.

Elenna 01-09-2008 02:52 PM

I'm not sure that the Exclude Usergroup ID thing is working for me.

We have 115 registered users. I have excluded 6 usergroup IDs from Statistics.

In the User listing (General Statistics) removes the users properly; however, other statistics (user profiles, age) is not taking the excluded groups into account, and is displaying statistics for all of my 115 members.

Dream 01-20-2008 08:50 PM

In some places I believe the exclude usergroup is not taken into account because of design decisions, but I can't remember now (it's been 1 year).

Anyone test this on 3.7?

Nynaeve 01-28-2008 12:38 AM

Love the hack, but I ran into this problem after installing it. Here's the error message I get from the statistics.php page:

Quote:

Warning: main(statsmod/statistics_general_stats.php) [function.main]: failed to open stream: No such file or directory in /statistics.php on line 206

Warning: main() [function.include]: Failed opening 'statsmod/statistics_general_stats.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /statistics.php on line 206
And I can't figure out what I did wrong. Any ideas/clues/suggestions?

Dream 01-28-2008 12:10 PM

Did you upload the statsmod directory?

Yuuko_Kitaiko 01-28-2008 08:54 PM

I'm a second admin on the same forum, so I'm doing most of the uploading. The statsmod directory...all the files in the statsmod folder are uploaded to our server, as well as the statistics.php file. Was there anything else in there, becuase I didn't see anything.

I'm thinking it might be a problem with how they were uploaded, but if it's the lack of this file, then that would make it worlds easier, I suppose.

Dream 01-28-2008 09:32 PM

The error is that statistics.php is not finding the files in statsmod/

Where did you upload both?

Yuuko_Kitaiko 01-29-2008 12:22 AM

Edited all that because it's not worth looking at now. Yeah, the directory was the problem, and I got that all sorted out. Thank you so much for your help. This is a whole first time thing with working on vBulletin for me, so I'm a bit out of sorts with it.

Anyway, thanks again.


All times are GMT. The time now is 05:04 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.01304 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)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