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.
thanks for the plugin, working great with my blog 😉
Thx for your great plugin Jan!
A few months ago, I’ve downloaded your plugin and the widget plugin: where do I can find now (download) the sidebar widget for WP-OnlineCounter?
ps:
I had a problem as yours whith my HD… 🙁
Have a nice day 🙂
It doesnt seem to work :s
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 t2.ip, MAX(timestamp) AS tstamp FROM wp_onlinecounter t2]
SELECT t1.ip,t1.uri,t1.timestamp FROM wp_onlinecounter t1 JOIN (SELECT t2.ip, MAX(timestamp) AS tstamp FROM wp_onlinecounter t2 GROUP BY t2.ip ) v1 ON t1.ip=v1.ip AND t1.timestamp=v1.tstamp
Hallo Jan,
ich würde die counter Ergebnisse gern unter “Verwalten” bei den WP-OnlineCounter Stats anzeigen.
Geht das?
Und wenn ja, wie?
Hey, a great plugin!
But a tiny little mistake… in Options>>WP OnlineCounter, there’s a field ‘Ignore Level’, and the explanation says, ‘Set user level for visitors who should not be counted. Set to anything above 10 to count everyone.’ I set to 100 and it counted nobody… then I changed it to 9, and it started counting. So maybe you can change that explanation. I changed it myself already 😉
Cheers~