Thanks for your interest in WP OnlineCounter, a plugin for WordPress which counts the number of currently online visitors, the highest number of visitors online at the same time, and the total count of visitors. You can configure what should be displayed and how it should look like through its own options page in your WordPress dashboard. It also offers some very basic statistics regarding the most recent visitors to your site (only available if you are running on a server with at least MySQL 4.1).
Installation
Download the plugin and drop it into your WordPress’ plugins directory, usually “wp-content/plugins” (DON’T put it into a subdirectory). Enable it on the Plugins page in your WordPress dashboard. Paste the following code in your template where you want the counter to show up, or use either the Widget for WordPress Widgets or the Sidebar Module for the K2 theme.
<?php if(function_exists('wp_onlinecounter')) wp_onlinecounter(); ?>
Upgrade
If you are already using an older version of this plugin, please disable it on the Plugins page, overwrite the old file in your plugins directory with the new one you downloaded, and re-enable it again. This is necessary to perform an upgrade to the table structure in your database.
Download
- WP Onlinecounter v0.14
- Sidebar Module (for K2 theme, not tested anymore)
Notes
The Statistics page under Manage in your WordPress dashboard only works if your are using at least MySQL 4.1, this is because older versions of MySQL are missing some features used in the database queries to get the results. This is not my fault, and there is NO way around it. Stop complainig about it to me and contact your hosting company to upgrade their outdated software.
Ein sehr praktisches Plugin. Das Einzige was etwas störend ist, ist das (Search-)Bots mitgezählt werden. Das ist für die Gesamt-Besucherzahl natürlich unschön 😉
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘SELECT ip, MAX(timestamp) timestamp FROM wp_onlinecounter GROU]
SELECT t1.ip,t1.uri,t1.timestamp FROM wp_onlinecounter t1 JOIN (SELECT ip, MAX(timestamp) timestamp FROM wp_onlinecounter GROUP BY ip ) v1 ON t1.ip=v1.ip AND t1.timestamp=v1.timestamp
Time IP URI
I am getting this error in manage plugins tab. Can u fix this ?
[quote comment=”1077″]Ein sehr praktisches Plugin. Das Einzige was etwas störend ist, ist das (Search-)Bots mitgezählt werden. Das ist für die Gesamt-Besucherzahl natürlich unschön ;-)[/quote]
To repeat this feature request: the ability to ignore search bots like googlebot or yahoo’s slurp might be a very useful idea because of their frequent visits.
identify them with their agent info should be very easy and reliable!
looking forward for the next release.
nevertheless: great plugin!!