Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Did anybody try mint?
JStubbs,
Thanks for the pointer to Slimstat. Looks useful and provides more than enough insight. After I was going all the way from AwStats over Shortstat via peastat, passing Mint, I think I arrived at last.
Offline
Re: Did anybody try mint?
If anyone is interested in my CSS for SlimStat I’ve made it available on my Weblog. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#18 2005-11-07 22:13:21
- EddieG5
- Member

- From: Georgia
- Registered: 2004-03-03
- Posts: 96
Re: Did anybody try mint?
Wow. Impressive, Stuart!
Offline
Re: Did anybody try mint?
Btw, one thing I’ve found re Slimstat:
Replacing line #46
$browser = SlimStat::parse_user_agent( $stat["user_agent"] );
in inc.stats.php with that
$browser = SlimStat::parse_user_agent( SlimStat::my_esc( $_SERVER["HTTP_USER_AGENT"]) );
will fulfill the intended reduction of database size while keeping user agent stats. It had not worked otherwise on my site, but entered “Unknown” into the browser detail columns.
Cf. $log_user_agents = false in _config.php.
I already dropped Stephen Wettone an e-mail to let him know.
Last edited by wet (2005-11-08 07:43:27)
Offline
Re: Did anybody try mint?
So what if I have <code>$log_user_agents = true</code>, should I still change it?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Did anybody try mint?
> thebombsite wrote:
> So what if I have <code>$log_user_agents = true</code>, should I still change it?
No, it isn’t necessary then. But setting <code>$log_user_agents = false</code> plus this one-liner would reduce database size without negative effect on any features, as far as I can tell based on a two-day experience ;-)
Offline
Re: Did anybody try mint?
Thanks. I’ll give it a go. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#23 2005-11-08 21:02:30
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: Did anybody try mint?
Offline
Re: Did anybody try mint?
Damn that site has a nice layout.
Offline
Re: Did anybody try mint?
Your’s can have it, too.
Offline
Re: Did anybody try mint?
That’s a slick layout. But my site is my own. No templates for me.
Offline
Re: Did anybody try mint?
Or you could just go straight to the TXP version courtesy of our good friend thame. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Did anybody try mint?
Where did you guy’s put your php include to get slimstat working for you? i have tried a few things but can’t get any stats running. Are you calling the inc.stats.php in the head or body?
<code>php @include_once( $_SERVER[“DOCUMENT_ROOT”].”/slimstat/inc.stats.php” ); </code>
Offline
Re: Did anybody try mint?
I put it into /index.php at the very end. It now looks like this
bc..
<?php
/*
$HeadURL: http://svn.textpattern.com/stable/4.0/index.php $
$LastChangedRevision: 804 $
*/
// Make sure we display all errors that occur during initialization error_reporting(E_ALL); @ini_set(“display_errors”,“1”);
[…]
include $txpcfg[‘txpath’].’/publish.php’; textpattern(); // SlimStat: 2005-11-05 wet @include_once($_SERVER[“DOCUMENT_ROOT”].”/slimstat/inc.stats.php”);
?>
//w&
Offline
Re: Did anybody try mint?
Same here.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline