Love it >> Questions

2 views
Skip to first unread message

andrews9371

unread,
Nov 19, 2009, 11:05:02 AM11/19/09
to SlimStat
Coming to SlimStat for the first time, and I'm very impressed. Got a
bunch of questions, though. Is there documentation, or should I just
ask them here? Hate to bug you if it's all written up somwhere and I
just haven't found where.

Thanks,
Andrew

Stephen Wettone

unread,
Nov 20, 2009, 12:06:38 PM11/20/09
to slim...@googlegroups.com
Ask them here!
> --
>
> You received this message because you are subscribed to the Google Groups "SlimStat" group.
> To post to this group, send email to slim...@googlegroups.com.
> To unsubscribe from this group, send email to slimstat+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/slimstat?hl=.
>
>

andrews9371

unread,
Nov 20, 2009, 3:37:11 PM11/20/09
to SlimStat
There are a couple of things I'd like to do, and I'm not sure whether
they are possible (as is or by hack):

--Purge hit and visit data from prior months, but retain the monthly
summary report.

--Alternatively, anonymize IP numbers, maybe via a salted one-way hash
or something like that.

--Incorporate GeoIP region or city data into the geographical section
(relevant for anyone, like me, who sells locally).

--Export summary data to a spreadsheet.

Thanks!

Stephen Wettone

unread,
Nov 20, 2009, 6:50:13 PM11/20/09
to slim...@googlegroups.com
These are all good ideas. None of them are currently possible as-is, but I think they're all possible via hacks. It would be great if you could open new tickets for them on the Google Code site:

http://code.google.com/p/slimstat/

Having said that, a couple of these are relatively easy hacks, namely:

> --Purge hit and visit data from prior months, but retain the monthly
> summary report.

SlimStat caches the results of previous months' and days' queries, so the data from any queries you have previously run will still show up in the front end. You can delete previous data from the database like so:

DELETE * FROM slimstat_hits WHERE yr=2009 AND mo=10;
DELETE * FROM slimstat_visits WHERE start_yr=2009 AND start_mo=10;

> --Alternatively, anonymize IP numbers, maybe via a salted one-way hash
> or something like that.

Change line 36 of stats_include.php from this:

$data['remote_ip'] = $this->_determine_remote_ip();

To this:

$data['remote_ip'] = sha1( $this->_determine_remote_ip() );

Hope that helps.


Stephen

andrews9371

unread,
Nov 20, 2009, 11:13:53 PM11/20/09
to SlimStat
Many thanks for the tips. I will experiment with them.

I've submitted them all as issues on Google Code. Hope I did it
correctly. Never used Google Code before.

Andrew
Reply all
Reply to author
Forward
0 new messages