Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Detailed stats showing wrong
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

i011877
Junior Member

Denmark
169 Posts

Posted - 24 July 2006 :  06:41:09  Show Profile  Visit i011877's Homepage
When going to the statistics-page I can press 'detailed statistics'(Detaljeret information) to get a more accurate day-by-day overview.

This page shows wrong!
If you notice the first stats, it says 'posts pr day' but only goes to day 7. Naha! if I change it to June instead it shows to day 6 etc.

This means that instead of counting the days it's counting months:
June=6
July=7
August=8
etc...

Only December is showing the full 31 days for some reason.
I have tried to check the code, but it just doesn't make sense to me

Anyone cares to have a look?
http://www.myforum.dk/forum_stats.txt

Use these credentials to log in for a live demo:
http://www.myforum.dk
U: testuser
P: testuser


modifichicci
Average Member

Italy
787 Posts

Posted - 24 July 2006 :  12:44:41  Show Profile  Visit modifichicci's Homepage
What LCID has set in your config?
Try changing it to your LCID

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 24 July 2006 :  15:19:47  Show Profile  Visit i011877's Homepage
The first session.lcid is 1030 and the lcid for the languagemod is 1030
Both DK!

All possible variations gives the same result. Bugger!


Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 24 July 2006 :  15:45:31  Show Profile  Visit modifichicci's Homepage
THis is the solution I have post last year in Image forum, try it and see if it solve.


in forum_stats2
search
dNextStart = CDate(intMonthNum + 1 & "/01/" & intYearNum)


change with
if strComp(Month("04/05/2002"),"4") = 0 then
		    dNextStart = CDate(intMonthNum + 1 & "/01/" & intYearNum)
	    else
	        dNextStart = CDate("01/" & intMonthNum + 1 & "/" & intYearNum)
	    end if


it works in italian and english, I don't know for others language.

And try using 1033 and 1030

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

Edited by - modifichicci on 24 July 2006 15:47:10
Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 24 July 2006 :  17:13:19  Show Profile  Visit i011877's Homepage
WORKED!

Only did the code change.
I'm still 1030/1030

Thanks a million mate


Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07