SimplePortal

Customization => Custom Coding => Topic started by: jarrett.crews on October 02, 2011, 07:16:09 PM

Title: Top Posters -- Last Calendar Month?
Post by: jarrett.crews on October 02, 2011, 07:16:09 PM
I have a Top Posters block set up to show monthly stats, but it doesn't seem to be based off the calender month.
Is there a way to make it so it starts the post counting at the beginning of each month and ends at the each of the month?
Title: Re: Top Posters Problem
Post by: AngelinaBelle on October 10, 2011, 09:21:31 AM
Certainly, this could be done.
This would require customization.
You would want "From the beginning of this calendar month until now"?
Or would you want "In the previous calendar month"?
Title: Re: Top Posters Problem
Post by: jarrett.crews on October 10, 2011, 12:21:45 PM
Thank you for the reply.

"In the previous calendar month" would be best.
Title: Re: Top Posters Problem
Post by: AngelinaBelle on October 10, 2011, 02:07:50 PM
That would require even more customization. You'd need a start date and a stop date for generating these statistics.
I'm going to move this to a custom coding board, to see what kind of interest it generates.
Title: Re: Top Posters -- Last Calendar Month?
Post by: jarrett.crews on November 04, 2011, 02:18:33 PM
So, after not getting answers for that, how would I get it show "From the beginning of this calendar month until now"?


It is only November 4th and it shower the top poster as having almost 50 post this month. I know this is not true, as it should be in single digits or maybe 10's.
Here is a link to a page with the block as an example
http://www.southwestairsoft.com/index.php/page,topposters.html
SimplePortal 2.3.8 © 2008-2024, SimplePortal