Improved Statistics Plugin

Creating and modifying plugins.
Blase16
Regular
Posts: 24
Joined: Thu Mar 02, 2006 4:55 pm

Improved Statistics Plugin

Post 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.
Davy
Regular
Posts: 109
Joined: Fri Oct 13, 2006 2:06 pm
Location: The Netherlands

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Thanks a lot, committed your update!

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Blase16
Regular
Posts: 24
Joined: Thu Mar 02, 2006 4:55 pm

Post by Blase16 »

I added 10 another Bots. http://files.blase16.de/serendipity_eve ... istics.txt

EDIT: Now there 13 more Bots.
Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post 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
dyfa
Regular
Posts: 5
Joined: Mon Apr 30, 2007 6:34 pm
Location: Munich, Germany
Contact:

Please!

Post 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
Blase16
Regular
Posts: 24
Joined: Thu Mar 02, 2006 4:55 pm

Post by Blase16 »

Ok i will do it.
jhermanns
Site Admin
Posts: 378
Joined: Tue Apr 01, 2003 11:28 pm
Location: Berlin, Germany
Contact:

Post by jhermanns »

just multiply each day's value with (300/monthly_max) or so...
Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post 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.
Blase16
Regular
Posts: 24
Joined: Thu Mar 02, 2006 4:55 pm

Post 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.
Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Harald Weingaertner
Regular
Posts: 474
Joined: Mon Mar 27, 2006 12:32 am

Post by Harald Weingaertner »

My Server uses PHP5... Where do i get the current version now? From Spartacus - tomorrow?
Post Reply