SimplePortal
Customization => Blocks and Modifications => Block Requests => Topic started by: KahneFan on April 06, 2009, 01:30:03 AM
-
It appears as though the week option is based off of Sun - Sat. It would be nice if it were an average of the posts from the past 7 days, so it's more of a rolling week average.
-
In the file 'SPortal1-1.php' in the function 'sp_topPoster' replace the line
$start_time = mktime(0, 0, 0, date("n"), date("j"), date("Y")) - (date("N") * 3600 * 24);
with this
$start_time = mktime(0, 0, 0, date("n"), date("j"), date("Y")) - ( 6 * 3600 * 24);
Regards,
Dirk
-
Thanks! ;D