Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2006-03-02 20:52:27

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: wet_slimpattern: SlimStat integration into Textpattern

It seems that Stephen Wettone has introduced some character conversions in the latest version of SlimStat (0.9.1) which tend to produce various messages with respect to multi-byte characters (mb_…). These errors appeared in 0.9.1 and weren’t there in 0.9.

Please post over at SlimStats mailing list / Google group or add to my thread there.

Offline

#26 2006-04-28 12:08:57

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: wet_slimpattern: SlimStat integration into Textpattern

Anyone having problems with this, my slimstat installation just reported…

“Congratulations! You have successfully installed SlimStat. The bad news is that you haven’t had any visitors yet.”

…yet it’s been installed and working for weeks.

Offline

#27 2006-04-28 13:08:27

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: wet_slimpattern: SlimStat integration into Textpattern

Lee: Do you have logging turned on?

Offline

#28 2006-04-28 13:55:37

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: wet_slimpattern: SlimStat integration into Textpattern

No, should it be? You mean within TxP?

Thanks for the reply.

Edit: After digging deeper I found that the slimstat table in the db has been obliterated (all fields deleted). I put a ticket into TD.

Last edited by lee (2006-04-28 14:19:54)

Offline

#29 2006-04-28 20:31:58

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: wet_slimpattern: SlimStat integration into Textpattern

lee wrote:

No, should it be? You mean within TxP?

No, it ain’t necessary. Txp logging is not related to SlimStat logging at all.

//w&

Offline

#30 2006-07-03 06:58:20

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: wet_slimpattern: SlimStat integration into Textpattern

Is it possible to exclude the feed hits?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#31 2006-07-03 07:39:03

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: wet_slimpattern: SlimStat integration into Textpattern

colak

There was a thread/post about it somewhere but here’s what I put in the plugin to stop logging my feed hits.

<pre>if ( txpinterface == ‘public’ && !in_array($_SERVER[“REQUEST_URI”], array( ‘/&’ , ‘/atom’, ‘/atom/’ , ‘/atom/?category=main&section=plugins’ , ‘/rss’ , ‘/rss/’ )) && !in_array($_SERVER[“QUERY_STRING”], array( ‘rss=1’, ‘atom=1’) )
) { @include_once( $_SERVER[“DOCUMENT_ROOT”].”/slimstat/inc.stats.php” );
}</pre>


Steve

Offline

#32 2006-07-03 08:27:24

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: wet_slimpattern: SlimStat integration into Textpattern

Hi steve,

Thanks!!! I must have missed that thread…

Last edited by colak (2006-07-03 08:34:07)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#33 2006-07-03 15:42:09

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: wet_slimpattern: SlimStat integration into Textpattern

net-carver wrote:

colak
There was a thread/post about it somewhere but here’s what I put in the plugin to stop logging my feed hits.

???: so if my main install is in a subdirectory (called “main”) would the above change to:

<pre>if ( txpinterface == ‘public’ && !in_array($_SERVER[“REQUEST_URI”], array( ‘/&’ , ‘/main/atom’, ‘/main/atom/’ , ‘/main/atom/?category=main&amp;amp;section=plugins’ , ‘/rss’ , ‘/rss/’ )) && !in_array($_SERVER[“QUERY_STRING”], array( ‘rss=1’, ‘atom=1’) )
) { @include_once( $_SERVER[“DOCUMENT_ROOT”].”/slimstat/inc.stats.php” );
}</pre>

?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#34 2006-07-05 06:54:51

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: wet_slimpattern: SlimStat integration into Textpattern

I’ve added above mentioned basic filtering capabilites to the code of v0.3. The plugin code now contains an expandable array of ignored URLs and queries.

Offline

#35 2006-07-16 06:36:25

mmelon
Member
Registered: 2006-03-02
Posts: 95

Re: wet_slimpattern: SlimStat integration into Textpattern

if anybody works out how to include the running total of unique visitors from the db then i’d love to know. Seems a shame to not be able to include on my site.

Offline

#36 2006-07-16 12:30:24

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: wet_slimpattern: SlimStat integration into Textpattern

@mmelon: this is working for me:

<txp:php>$hvu = SlimStat::get_total_hits_visits_uniques(); $total = $hvu["visits"] + 24195; print $total;</txp:php>

(24195 is the nr of visitors I had before installing Slimstat)
You can change "visits" to "uniques" if you want.

Last edited by els (2006-07-16 12:33:00)

Offline

Board footer

Powered by FluxBB