Page 1 of 2

Improved Statistics Plugin

Posted: Mon Jan 22, 2007 4:24 pm
by Blase16
I edited the statistic plugin. Now the refers are shown as a link and it counts as visit only the unique ip's in this day. So if you reload a site it doesn't count as a new visit. The plugin shows now more accurately the amount of different visitors.

The plugin recognize now more bots, and doesn't count them as visitors.

I hope you find the plugin more useful now.

Posted: Mon Jan 22, 2007 7:30 pm
by Davy
Blase16 wrote:it counts as visit only the unique ip's in this day
I've been waiting for that feature for months! :D

Posted: Tue Jan 23, 2007 9:46 am
by garvinhicking
Hi!

Thanks a lot, committed your update!

Best regards,
Garvin

Posted: Fri Apr 27, 2007 2:22 pm
by Blase16
I added 10 another Bots. http://files.blase16.de/serendipity_eve ... istics.txt

EDIT: Now there 13 more Bots.

Posted: Sat Apr 28, 2007 3:46 pm
by Harald Weingaertner
Is it possible to change the plugin a bit?

I run a blog with about 120.000 visitors / month. On the attached graphic you see the graph. The graph is on the top of the statistic page and i have to scroll down 10 pages until i reach the other stats.

The green bar has a height of 22565px. Maybe it is possible to divide this by 100 or so?

Just a small cosmetic wish...

Regards, Harald

Please!

Posted: Mon Apr 30, 2007 9:07 pm
by dyfa
Harald Weingaertner wrote:Is it possible to change the plugin a bit?
The green bar has a height of 22565px.
Wow! That's impressing. :-)
Just a small cosmetic wish...
Well, it looks like a classic bedroom wallpaper. And the sedating effects of scrolling down the longest green bar in history can be useful if you have trouble with insomnia. ;-)

I have the same problem. Please limit the max height of that green bar to something reasonable. Thank you very much indeed.

Nikki 'dyfa' Britz

Posted: Tue May 01, 2007 2:54 pm
by Blase16
Ok i will do it.

Posted: Tue May 01, 2007 7:48 pm
by jhermanns
just multiply each day's value with (300/monthly_max) or so...

Posted: Thu May 10, 2007 3:15 pm
by Harald Weingaertner
btw, i'm not able to update this plugin via spartacus. I have to download it manually on each of my blogs.

Posted: Mon Jul 23, 2007 10:20 pm
by Blase16
Ok it's now done. Sorry that it took 6 month.

There is now a new Version of the statistics_plugin ( http://files.blase16.de/serendipity_plugin_statistics/ )

Changes

The botfilter is now much smarter. You don't need anymore to metione every version of libwww-perl-xyz or every Google Bot. The botfilter searches the given User-Agent string for strings like libwww-perl or google, if the search is positive then the Visitor is filtered.

The visitorsgraphs are now maximal 200px large. A bar is red if the month/day has only <33% visitors of the top visited month/day, yellow if it's between 33 and 66 and green if over 66.

The changes are also mentioned in the CHANGELOG file.

Posted: Wed Jul 25, 2007 11:18 pm
by Harald Weingaertner
Wow, very nice work!

Really great improvement! I had to scroll down 20 pages before you've updated this nice plugin! Thanks for your work. (and sorry for the width of the screenshot)


Image

Posted: Wed Jul 25, 2007 11:21 pm
by garvinhicking
Hi!

Many thanks! I also committed that new version to the serendipity trunk as well as the 1.2 release version.

Best regards,
Garvin

Posted: Thu Jul 26, 2007 11:45 am
by Harald Weingaertner
Alarm!

This updated plugin messed up my blogs last night ;)

Fatal error: Call to undefined function: stripos() in /home/www/evologiq.com/blog/plugins/serendipity_event_statistics/serendipity_event_statistics.php on line 192

All of my blogs had the same error-message. It worked some minutes after i copied the files and my blogs suddenly stopped working. I don't know when and why, but i guess it has something to do with the new files...

Regards, Harald

Posted: Thu Jul 26, 2007 12:10 pm
by garvinhicking
Hi!

The patch I commited sadly used a PHP5 only function. So I reverted that and now use the PHP4 construct again.

Regards
Garvin

Posted: Thu Jul 26, 2007 1:29 pm
by Harald Weingaertner
My Server uses PHP5... Where do i get the current version now? From Spartacus - tomorrow?