Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-09-07 20:25:09

cpk
Member
Registered: 2005-08-07
Posts: 62

Textpattern with Mint - Calling Jon Hicks

I want to know if any other TxP users have installed Shuan Inman’s Mint stats PHP app. If so, how have you configured it to work along side of TxP? Have you set up your site to use dynamic pages for all sections of your site or are you only using TxP for a Blog in a mostly static site? Have you set up your site with the advanced configuration by modifying the Mint PHP to take advantage of PHP as an Apache Mod or have you pasted the Mint javascript provided into one of your Page templates for tracking that page individually?

If Jon Hicks happens to heed my call (since he was a beta tester for Mint and a known TxP user and all…), I am curious about how you have configured your site, e.g. static pages(TxP for blog only) or dynamic pages(TxP for entire site), javascript for individual page tracking or advanced installation?

I had originally thought to email Jon directly but thought that others might benefit from any information offered regarding the combination of these two apps and there is not yet a forum for Mint.

I realize that Mint is not technically a plugin but instead a standalone app, it seemed most appropriate to post about it here. Admins, please move this post to another category if necessary.

Thanks,

cpk

Offline

#2 2005-09-07 20:47:56

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: Textpattern with Mint - Calling Jon Hicks

Mint runs fine with txp, I can assure you.

I used the .htaccess method of installing, which works just fine.

If you have problems you can contact me, on my server Mint had trouble detecting the document root. One line of code fixes this issue…

Offline

#3 2005-09-07 21:04:44

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: Textpattern with Mint - Calling Jon Hicks

Somebody call? ;o)

My site is all run by TXP – so its all dynamic. I have a (‘misc’ type) form for including all the header information, so all I did was add the line of javascript to that and PING all was done. I had many issues with Shortstat and Textpattern, that often needed fiddling to make it work, but this couldn’t have been easier!

Even if you had static pages, all you need do is bung the javascript call in the <head>.


Cheers,
Jon VC#9

Offline

#4 2005-09-07 21:34:26

reid
Member
From: Atlanta, Ga.
Registered: 2004-04-04
Posts: 224
Website

Re: Textpattern with Mint - Calling Jon Hicks

> jonhicks wrote:

> Even if you had static pages, all you need do is bung the javascript call in the <head>.

Or the <foot>. Meaning, I’ve got a form called “foot” that’s included on all pages, so I tossed Mint’s javascript call in there, and it works fine. So if you put it in any form that’s called in each template, as Jon says, PING and all’s done!


TextPattern user since 04/04/04

Offline

#5 2005-09-08 01:09:30

cpk
Member
Registered: 2005-08-07
Posts: 62

Re: Textpattern with Mint - Calling Jon Hicks

> larf wrote:
>I used the .htaccess method of installing, which works just fine.

Any advantages with this type of install over the embedded javascript method?

So far Mint seems to work fine as an embedded javascript in my TxP Pages. I just wanted to know if there was a preferred method of installing Mint along side of TxP. I like the idea of a “misc” header form (now why didn’t I think of that?). I suppose that is also how you link to your external CSS files too, Jon?

I think you may have inadvertently come up with a new marketing slogan for TxP: “I just put it in and PING my web site’s done!

Thanks again everyone,

cpk

Last edited by cpk (2005-09-08 01:11:15)

Offline

#6 2005-09-08 01:45:58

rutherfj
New Member
From: Nanaimo, BC, Canada
Registered: 2004-05-26
Posts: 3
Website

Re: Textpattern with Mint - Calling Jon Hicks

If you use the .htaccess installation method, does it track hits to your rss and atom feeds?

Offline

#7 2005-09-08 03:27:32

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: Textpattern with Mint - Calling Jon Hicks

It tracks all files processed by php, so yes, it also tracks all rss calls. That’s why I preferred it over the javascript in a form (which I use, too) method.

Offline

#8 2005-09-08 03:28:50

rutherfj
New Member
From: Nanaimo, BC, Canada
Registered: 2004-05-26
Posts: 3
Website

Re: Textpattern with Mint - Calling Jon Hicks

Thanks larf! I’m gonna switch it right now!

Offline

#9 2005-09-08 03:51:57

cpk
Member
Registered: 2005-08-07
Posts: 62

Re: Textpattern with Mint - Calling Jon Hicks

Larf,

Did you modify the .htaccess file in your site root or did you create a .htaccess file inside your MInt directory?

cpk

Offline

#10 2005-09-08 10:40:40

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: Textpattern with Mint - Calling Jon Hicks

I modified the .htaccess in the site root. A complete .htaccess could look like this:
<code>
RewriteBase /
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php

AddDefaultCharset UTF-8

AddType application/x-httpd-php .html .htm
php_value auto_prepend_file /absolute/path/to/auto.mint.php
</code>

Offline

#11 2005-09-08 16:10:11

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

Re: Textpattern with Mint - Calling Jon Hicks

About Mint: I’m using Shortstat right now, which is nice. Mint looks and sounds really nice, but I am wondering if it is $30 dollars nice. How do you guys find using it so far?

Offline

#12 2005-09-08 16:29:14

reid
Member
From: Atlanta, Ga.
Registered: 2004-04-04
Posts: 224
Website

Re: Textpattern with Mint - Calling Jon Hicks

Well, being Old School, I’ve had a Sitemeter account for five years, and it’s so weak on so many levels, that Mint definitely caught my eye. I never tried Shortstat, but I’ve been using Mint for less than a day, and I would say it is definitely “$30 dollars nice.”

Being able to track local searches is great, and the various ways you can sort the “usual” data is very nice. Just from the first 500 visits, I’ve learned quite a bit. Only 46% of my visitors use IE, yet 15% are still at 800×600. And, man, some people have some damn big monitors….


TextPattern user since 04/04/04

Offline

Board footer

Powered by FluxBB