=== Counterize === Contributors: Gabriel Hautclocq, Steffen Forkmann Donate link: http://www.gabsoftware.com/donate/ Tags: statistics, admin, stats, counter, browser, os, operating, system Requires at least: 3.0.0 Tested up to: 3.1.2 Stable tag: 3.0.2 == Description ==
Simple counter and statistics plugin with no external libraries.
Saves timestamps, visited URL, referring URL, operating systems and browser informations in the database, and can display the total hits, unique hits and other statistics in your WordPress pages.
It is based on the Counterize II plugin by Steffen Forkmann (http://www.navision-blog.de/counterize)
An administration-interface is available with detailed informations.
Counterize doesn't store any IP information since version 2.13, because this is illegal in some countries (e.g. Germany). Counterize stores only a small hash to distingiush between different users and to get information about the user count.
External stats page to display in blog posts - visit this website for an example.
Version 3.0.0 supports Wordpress 3.x.x.
Important note: The next versions of Counterize will be available at this address.
== Installation == 1. Unzip the package and upload the folder **counterize** to your **/wp-content/plugins/** folder. 2. Activate the plugin through the **Plugins** menu in WordPress. 3. Go to **Counterize** on **Options** page, configurate your settings. *Save the settings*. == Screenshots == 1. Overview of some statistics rendered by Counterize == Update == 1. Deactivate **Counterize II** on the **Plugins** menu in WordPress 2. Unzip the package and upload the folder **counterize** to **/wp-content/plugins/**. 3. Activate the plugin through the **Plugins** menu in WordPress. 4. Go to **Counterize** on **Options** page, configurate your settings. *Save the settings* == Functions == After you have installed the Counterize plugin, you can see a lot of diagrams on the Counterize stats page (Dashboard/Counterize). Most likely you'd like to have a counter somewhere on your pages, showing XX hits or something like that. Here's an overview of the functions which can be used in your Wordpress sidebar. New: <!-- counterize_stats --> - Shows a complete stats page in one of your blog posts. echo counterize_getuniqueURL() : Returns the amount of unique URL's that have been shown. echo counterize_getamount() : Returns the total hits seen by Counterize. echo counterize_gethitstoday() : Returns the total hits registered today. echo counterize_get_online_users() : Returns the number of currently online users. echo counterize_getuniquebrowsers() : Returns the amount of unique browser strings that have visited your blog. echo counterize_getuniquereferers() : Returns the amount of unique referers that have been recorded. echo counterize_getlatest7days() : Returns the total amount of hits from the last 7 days. echo counterize_getuniqueamount() : Returns the total unique IP's that's been seen. echo counterize_getfromcurrentip() : Returns the total hits from the IP that's visiting. echo counterize_getuniquehitstoday() : Returns the number of different IP's registered today. echo counterize_gethitstodayfromcurrentip() : Returns the daily hits from the IP that's visiting. echo counterize_return_first_hit() : Returns the date of the first registrated entry in the database. counterize_most_visited_pages() : Create a graph of the most visited pages. counterize_most_visited_ips() : Create a graph of the most active IPs. counterize_most_used_browsers() : Create a graph of the most seen user-agents. counterize_most_used_browsers_without_version() : Create a graph of the most seen user-agents without version. counterize_most_used_os() : Create a graph of the most seen operating systems. == Changelog == = 3.0.2 = * The Counterize dashboard section is now Wordpress 3.x compliant (thanks to Carsten Becker for pointing this out) * Implemented the fixes found at http://www.mikoder.com.au/2009/07/fixing-counterize/ (thanks to Helmut Hoffmann again!) * The counterize version is correctly shown in the administration page of Counterize * The function counterize_get_online_users() was not documented anywhere * Updated POT file if someone want to translate it * Updated French translation = 3.0.1 = * DEFAULT was ommited in a query, causing the installation to fail. Thanks to Helmut Hoffmann for reporting this! * No default version number was given. Thanks again to Helmut Hoffmann! = 3.0.0 = * Development is now continued by Gabriel Hautclocq (me) * Chrome is now recognized as well as plenty of other browsers * Newer versions of Windows recognized * Many other OS have also been added * Updated the bot exclude list * Many OS version added * Updated some old icons * Several other improvements have been made to browsniff.php * Added a button in the admin interface to refresh the user-agent table (useful if you modify browsniff.php yourself) * Distinction between 32 and 64 bits versions of the OS, as well as ARM and PowerPC versions * Browsers and OS charts now display a link to the product * Fixed garbage alt attribute of the chart bars * Cleaner PHP code * Cleaner code output (indentation...) * Wordpress 3.x compliant code * Wordpress 3.x compliant Readme * Unfortunately, most translations should to be updated to reflect the changes. They have not been included with this version except for the French translation ; please allow some time to the translation authors to update their translation. * Now distributed under the ISC license = 2.14.1 = * German translation corrected (thanks to Johannes Parb) = 2.14.0 = * Dashboard for WP 2.5 = 2.13.0 = * no more ip-logging (this is illegal in some countries e.g. Germany) counterize stores only a small hash to distingiush between two users and to get information about the user count = 2.12.7 = * logging postID for later analysis (thanks to Alfred likemind.co.uk) = 2.12.6 = * counterize_get_online_users() fixed (thanks to Robbix wombat-tour.de) = 2.12.4 = * 2 new functions (thanks to KnickerBlogger.net) = 2.12.3 = * fixed installtion = 2.12.1 / 2.12.2 = * fixed folder = 2.12 = * lots of sql fixing (thanks to Eric blogs.jobdig.com/wwds) = 2.11 = * XHTML valid (thanks to Julia http://julialoeba.de) * Japanese version (thanks to Urepko http://wppluginsj.sourceforge.jp/) * exclude new bots (thanks to lacroa.altervista.org - Emanuele) * Exclude if referer is the same as URL (thanks to lacroa.altervista.org - Emanuele) * GeoIpTool with new URL geoiptool.com/en/ ==> geoiptool.com/ (thanks to lacroa.altervista.org - Emanuele) * Mass-Deletion (thanks to lacroa.altervista.org - Emanuele) * Bot Yandex added * Spanish translation (thanks to Sandra) * Database-flush deletes all keywords = 2.10 = * Italian version (thanks to Emanuele) * Russian version (thanks to Ivan http://shadow-blub.livejournal.com/) * Small installation bugfixes (thanks to Thorsten http://www.siteartwork.de/) = 2.08 = * %-Bug fixed (% in graphs on new line) * max-Width in Settings (width-fix for firefox) * users online * browser icons * operating systems = 2.06 = * Minor compatibility bugfixes for Wordpress 2.2 = 2.05 = * small Bugfixes * All TableNames replaced with function calls * LocalizationFramework used * DayOfWeek-Bug fixed * display only EXTERNAL referers (Thanks to eric) * extremly speed up sql queries * stats moved back to Manage-Page (only for admins visible) * colors in all stats * separate statistics page for blog entries * Microsoft URL Control-bot excluded = 2.04 = * custom whois-server * moved all files to own folder * separate settings/admin page * stats moved to doashboard-subpage * ref-analyzer (http://nopaste.easy-coding.de/?id=146) for keywords * keyword-stats (alpha) * mysql-version independent table structure * don't show stats, when db is empty (DivByZero) = 2.03 = * Installprocess for mysql version 4 * Filter and MapView for most visited ips = 2.02 = * BugFix - UserAgent = 2.01 = * New Author: Steffen Forkmann * New Table Structure (saves a lot of space and mostly time) * Redesigning some functions = 0.53 = * By mistake (during test) commented out the exclude-function. Once again re-enabled. * Added the feature "top referers" in the admin-interface * Added the feature to manually select amount to show in the bar-graphs, instead of default 15 * Minor stuff, changed text, thicker bars in graphs, now "unique hits last 7 days" also shown in admin-interface, = 0.52 = * More bots * New function called counterize_getuniquelatest7days() (Curtis) * Exclusion of most common images and RSS feeds (SHRIKEE) * Don't use the now() insert call when inserting entries. Use gmdate() instead