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.
Hi, first I pasted the code you wrote at the top of the page, namely:
then, since this does not work, I read the plugin instructions directly in the WordPress plugin editor, and saw that the correct code to insert in the blog’s theme is:
Thought it might help!
Well, my code inserts do not work :/ What I was trying to say is that there’s no need to call the function wp_pagerank(), but the function wp_onlinecounter().
Hallo Jan,
habe gerade versucht die Widgetversin des counters zu installieren.
Leider funktioniert das nicht so richtig. In der Sidebar erscheint die Meldung:
Fatal error: Call to undefined function wp_onlinecounter() in /home/makruch/public_html/wordpress/wp-content/plugins/widget_wpoc.php on line 17
Kannst du weiterhelfen ?
Gruss
Makru
zor zamanlara sıkışmıştır sevda…
i get this error
WordPress database error: [Table ‘DB######.wp_onlinecounter’ doesn’t exist]
any way i can make that table myself. i have no idea how though.
or is there any other trick to make that table in the DB?
thanks,
Dimitri
[quote][/quote]
Shouldn’t that be ‘wp_onlinecounter’ ?[quote post=”7″]
thanks