WP OnlineCounter

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

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.

1,718 thoughts on “WP OnlineCounter”

  1. Hi everybody,
    we are the 2010 june 06th. It’s plugin work good 🙂

    I have 2 wordpress, I has difficulty for the first. I explain you for helping future people.

    The new full code by Gew (see above), don’t insert correctly new sql line automaticly (wp_onlinecounter).
    After open and read his code, I understand how creat manualy my new sql line with phpmyadmin.
    I have copy/past his peace of code directly in the SQL tab :
    CREATE TABLE IF NOT EXISTS `wp_onlinecounter` (
    `timestamp` int(15) NOT NULL default ‘0’,
    `ip` varchar(15) NOT NULL default ”,
    `count` int(15) NOT NULL default ‘0’,
    `maxon` int(6) NOT NULL default ‘0’,
    `maxontime` int(15) NOT NULL default ‘0’,
    `uri` text NOT NULL default ”,
    PRIMARY KEY (timestamp, ip)
    );
    And after, the plugin found sql line and work perfectly.

    Thanks for all
    Bye / Tschuss
    Anael

  2. Pingback: Koxplar.Com
  3. Pingback: jan grewe
  4. Pingback: Bayramca.Net
  5. Pingback: medular.org
  6. Pingback: eBilgi.org
  7. Pingback: Okçular Köyü
  8. Pingback: Türk Dama Okulu
  9. Pingback: Jeyno.com
  10. Pingback: Kerevet Blog
  11. Pingback: duzeyteknik.com
  12. Pingback: selimozdem.com
  13. Pingback: Mehterler Köyü
  14. Pingback: yazmaya dair...
  15. Pingback: Tavlusun Köyü

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

falls ich mal was zu sagen habe…