owen

It’s been a chore, but I got the BAStats source back to where it was.

There was something goofy with the old method when returning hits, due to the way the generic queries were structured. Rather than try to figure out a complicated mess of temporary tables and other madness, I cut down the filtering to a single filter using specialized queries. As a bonus, you can now build new custom reports into the system by adding them to an array. I won’t say it’s easy to do this, but with a little patience any good PHP programmer can figure it out. Plus, it all works better now.

Did I mention that I ditched the phpOpenTracker stuff and rolled my own? Partly this was because I couldn’t get it to do what I wanted to do, and partly because the phpOpenTracker stuff is huge, and partly because I was too lazy to see if the license allowed me to redistribute it. (It does.)

But now I’m hungry and tired and have deprived myself of caffeine since they didn’t have the diet tea I wanted at Wawa today. I’ve been staring at this code for far too long, and I’m going bug-eyed.

I still need to add:

  • Local image output buffer capturing so I can log image hits.
  • An Options page for turning on and off certain features.
  • The stinking graph module for reports that support graphing. (!)
  • A log purging feature.

But I also need to take a break.

When will come the day that I can concentrate on writing on the blog rather than writing the blog?