SimpleLife 1.3 Release
Eventually….. I managed to fix the cache issues. Turns out 90% of them were caused by people who didn’t have a cache folder. Tsk. I spent 6 months trying to fix a problem that wasn’t there.
Anyway, started coding up relative dates and a date cut off today so that shouldn’t take long.
These aren’t features that I am that bothered about by the way, but they seem popular and I have been doing loads of PHP coding at work recently and am now looking at “problems” and seeing “solutions” without have to think, so its good practice.
Filed by Kieran at June 14th, 2008 under Blog, Code, SimpleLife
1. At 7:21 pm on June 14, 2008, db0 wrote:
Glad the 1.3 is finally here.
I’ve already coded the date cutoff in my own version btw.
// Is the item's date older than what we want? Then skip.
if ($item->get_date(U) < date(U)-$date_limit) {continue;}
And then all you need is retrieve the $date_limit from the config page (also alreayd coded).