FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » 2.6.6 Admin Statistics Out of Order
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
2.6.6 Admin Statistics Out of Order [message #20435] Thu, 14 October 2004 00:53 Go to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
I apologize if this is a duplicate post. I searched but didn't find any relevant bug reports under "statistics".

We've been using 2.5.2 happily for almost a year, and just upgraded to 2.6.6 and are very pleased with the improvements.

One thing we're noticing, however, is a discrepancy in the way the forum statistics (posted messages) are displayed on the admin screen. If I enter in the applicable dates from November 2003 to October 2004, it returns the results in an inconsistent order:

November 13, 2003
December 14, 2003
January 6, 2004
February 4, 2004
March 22, 2004
April 29, 2004
July 10, 2004
June 24, 2004
August 22, 2004
September 11, 2004
October 2, 2004
May 29, 2004

This problem is drastically made worse if I ask for a daily report.


"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
Re: 2.6.6 Admin Statistics Out of Order [message #20440 is a reply to message #20435] Thu, 14 October 2004 14:42 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The date you are seeing is based on the 1st entry for that month. Meaning that if in the month of March, the 1st message was posted on the 22nd then the label for march would show March 22, 2004.

FUDforum Core Developer
Re: 2.6.6 Admin Statistics Out of Order [message #20454 is a reply to message #20440] Fri, 15 October 2004 00:18 Go to previous messageGo to next message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
Understood. That's not the issue I have, though.

You'll note that the bolded entries are out of order, month-wise: June doesn't come after July, and May certainly doesn't come after October.

This is even more noticeable when you look at a daily breakdown of posts.
Re: 2.6.6 Admin Statistics Out of Order [message #20457 is a reply to message #20454] Fri, 15 October 2004 01:25 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Replace your admstats.php (in adm/ directory) with the one attached and see if the situation improves.
  • Attachment: admstats.php
    (Size: 12.62KB, Downloaded 781 times)


FUDforum Core Developer
Re: 2.6.6 Admin Statistics Out of Order [message #20469 is a reply to message #20457] Fri, 15 October 2004 14:13 Go to previous messageGo to next message
Tangaloor is currently offline  Tangaloor   United States
Messages: 20
Registered: October 2004
Location: Minneapolis, MN
Karma: 0
Junior Member
Should an old copy of the php file be kept and moved back into place prior to upgrading to the next stable release? Or do I have to worry about that?
Re: 2.6.6 Admin Statistics Out of Order [message #20471 is a reply to message #20469] Fri, 15 October 2004 15:43 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
No need to keep the old copy.

Does new version work better?


FUDforum Core Developer
Re: 2.6.6 Admin Statistics Out of Order [message #20473 is a reply to message #20471] Fri, 15 October 2004 16:18 Go to previous messageGo to next message
Tangaloor is currently offline  Tangaloor   United States
Messages: 20
Registered: October 2004
Location: Minneapolis, MN
Karma: 0
Junior Member
Looks better except that the daily report lists all the days in a month as occuring on the 1st of the month.
Re: 2.6.6 Admin Statistics Out of Order [message #20474 is a reply to message #20473] Fri, 15 October 2004 17:18 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Here is an updated verison that fixes that:
http://cvs.prohost.org/c/index.cgi/FUDforum/getfile/install/www_root/adm/ad mstats.php?v=1.30


FUDforum Core Developer
Re: 2.6.6 Admin Statistics Out of Order [message #20476 is a reply to message #20474] Fri, 15 October 2004 18:03 Go to previous messageGo to next message
Tangaloor is currently offline  Tangaloor   United States
Messages: 20
Registered: October 2004
Location: Minneapolis, MN
Karma: 0
Junior Member
Looks very good. Thanks!
Re: 2.6.6 Admin Statistics Out of Order [message #20478 is a reply to message #20476] Sat, 16 October 2004 01:12 Go to previous message
Egon is currently offline  Egon   United States
Messages: 27
Registered: October 2004
Location: Cambridge, Minnesota
Karma: 0
Junior Member
That looks awesome! Thanks!

"Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?"
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: importing mailing lists
Next Topic: The FAQ on FUDforum.org
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 18:51:05 GMT 2024

Total time taken to generate the page: 0.02336 seconds