lesterchan / wp-useronline

Enable you to display how many users are online on your WordPress blog with detailed statistics.
https://wordpress.org/plugins/wp-useronline/
36 stars 18 forks source link
lesterchan useronline useronline-page wordpress wordpress-plugin wp-useronline

WP-UserOnline

Contributors: GamerZ
Donate link: https://lesterchan.net/site/donation/
Tags: useronline, usersonline, wp-useronline, online, users, user, ajax, widget
Requires at least: 4.6
Tested up to: 6.7
Stable tag: 2.88.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Enable you to display how many users are online on your Wordpress blog with detailed statistics.

Description

This plugin enables you to display how many users are online on your Wordpress site, with detailed statistics of where they are and who they are (Members/Guests/Search Bots).

Usage (With Widget)

  1. Go to WP-Admin -> Appearance -> Widgets
  2. The widget name is UserOnline.
  3. Scroll down for instructions on how to create a UserOnline Page.

Usage (Without Widget)

<?php if (function_exists('users_online')): ?>
    <p>Users online: <div id="useronline-count"><?php users_online(); ?></div></p>
<?php endif; ?>

Development

https://github.com/lesterchan/wp-useronline

Credits

Donations

I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.

Screenshots

  1. Admin - Dashboard's Right Now
  2. UserOnline Page
  3. Admin - Settings Page

Frequently Asked Questions

Creating A UserOnline Page

  1. Go to WP-Admin -> Pages -> Add New
  2. Type any title you like in the post's title area
  3. If you ARE using nice permalinks, after typing the title, WordPress will generate the permalink to the page. You will see an 'Edit' link just beside the permalink.
  4. Click 'Edit' and type in useronline in the text field and click 'Save'.
  5. Type [page_useronline] in the post's content area
  6. Click 'Publish'

If you ARE NOT using nice permalinks, you need to go to WP-Admin -> Settings -> UserOnline and under 'UserOnline URL', you need to fill in the URL to the UserOnline Page you created above.

To Display Most Number Of Users Online

To Display Users Browsing Site

To Display Users Browsing A Page

Error on activation: "Parse error: syntax error, unexpected..."

Make sure your host is running PHP 5. The only foolproof way to do this is to add this line to wp-config.php (after the opening <?php tag):

var_dump(PHP_VERSION);

Changelog

2.88.5

2.88.4

2.88.3

2.88.2

2.88.1

2.88.0

2.85.6

2.85.5

2.87.4

2.87.3

2.87.2

2.87.1

2.87

2.86

2.85

2.84

2.83

2.82

2.81

2.80

2.72

2.71

2.70

2.62 (2010-03-07)