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.
I am user that plugin is great.. Thank you so much
Hallo Jan,
der berühmte Fehler:
WordPress Datenbank-Fehler: [Table ‘wordpress.wp_onlinecounter’ doesn’t exist]
SELECT maxon FROM wp_onlinecounter ORDER BY maxon DESC LIMIT 1
mySQL Version: 5.0.27
PHP: 5.1.6
WP: 2.1.3
Könntest Du bitte für die kaum Englisch-sprechenden Anwender/innen erklären, wie man diesen Fehler beheben kann?
Ich habe das Plugin bereits einmal auf einem anderen Server installiert. Dort läuft es prima. Nur auf diesem leider nicht.
Eine Antwort wäre nett.
Joerg
[quote comment=”3272″]Table ‘wordpress.wp_onlinecounter’ doesn’t exist[/quote]
Hi Joerg, für mich klingt das so, als ob die Tabelle in der Datenbank nicht existiert. Versuch mal das Plugin zu deaktivieren und dann wieder zu aktivieren, eigentlich sollte es die Tabelle dann selber erstellen. Wenn’s nicht klappt kann ich dir den SQL Code schicken mit dem die Tabelle erstellt wird, dann kannst du sie von Hand anlegen (z.B. mit phpMyAdmin).
Fatal error: Call to undefined function wp_onlinecounter() in D:wwwrootwww.holzhandel.mobiwordpresswp-contentpluginswidget_wpoc.php on line 17
what can I do?
Regards
Karl