Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-11-07 19:28:44

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

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

#17 2005-11-07 22:06:34

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#19 2005-11-08 07:42:49

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

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

#20 2005-11-08 08:00:50

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#21 2005-11-08 08:07:10

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

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

#22 2005-11-08 08:13:35

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#24 2005-11-08 21:38:32

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: Did anybody try mint?

Damn that site has a nice layout.

Offline

#25 2005-11-08 22:13:38

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

Re: Did anybody try mint?

Your’s can have it, too.

Offline

#26 2005-11-08 23:47:00

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: Did anybody try mint?

That’s a slick layout. But my site is my own. No templates for me.

Offline

#27 2005-11-09 01:41:03

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

#28 2005-11-15 03:06:24

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

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

#29 2005-11-15 05:04:55

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

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

#30 2005-11-15 06:22:31

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Did anybody try mint?

Same here.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB