=== WP-UserOnline === Contributors: GamerZ, scribu Donate link: http://lesterchan.net/site/donation/ Tags: useronline, usersonline, wp-useronline, online, users, user, ajax, widget Requires at least: 3.1 Tested up to: 4.2 Stable tag: 2.85 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). = Build Status = [![Build Status](https://travis-ci.org/lesterchan/wp-useronline.svg?branch=master)](https://travis-ci.org/lesterchan/wp-useronline) = Development = [https://github.com/lesterchan/wp-useronline](https://github.com/lesterchan/wp-useronline "https://github.com/lesterchan/wp-useronline") = Credits = * Plugin icon by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com) = 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. == Installation == You can either install it automatically from the WordPress admin, or do it manually: 1. Unzip the archive and put the `wp-useronline` folder into your plugins folder (/wp-content/plugins/). 1. Activate the plugin from the Plugins menu. = General Usage (With Widget) = 1. Go to `WP-Admin -> Appearance -> Widgets` 1. The widget name is UserOnline. 1. Scroll down for instructions on how to create a *UserOnline Page*. = General Usage (Without Widget) = * Open `wp-content/themes//sidebar.php` and add Anywhere: `

Users online:

` = Creating A UserOnline Page = 1. Go to `WP-Admin -> Pages -> Add New` 1. Type any title you like in the post's title area 1. 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. 1. Click 'Edit' and type in `useronline` in the text field and click 'Save'. 1. Type `[page_useronline]` in the post's content area 1. 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. == Screenshots == 1. Admin - Dashboard's Right Now 2. UserOnline Page 3. Admin - Settings Page == Frequently Asked Questions == = To Display Most Number Of Users Online = * Use: `

Most Users Ever Online Is On

` = To Display Users Browsing Site = * Use: `
` = To Display Users Browsing A Page = * Use: `
` = 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 ` Useronline' * new: If You Have ip2nation Plugin Installed, The User's/Guest's Country Flag Will Be Displayed = 2.03 (2006-04-01) = * new: Added get_users_browsing_site(); To Display Users Browsing The Site * fixed: wp-stats.php Link * fixed: Some Grammer Errors, Credit To xclouds (http://www.xclouds.com/) = 2.02 (2006-03-01) = * new: No More Install/Upgrade File, It Will Install/Upgrade When You Activate The Plugin. * fixed: IP 'Unknown' Error, Credit To Brian Layman (http://www.knitchat.com/) * fixed: ON DUPLICATE KEY Error, Credit To Brian Layman (http://www.knitchat.com/) * fixed: DUPLICATE KEY Error By Using DELETE First, Credit To Jody Cairns (http://steelwhitetable.org/blog/) = 2.01 (2006-02-01) = * new: Added Users Browsing Page * new: Added Most Users Ever Online * fixed: Added UNIQUE Key Instead Of Primary Key To Test Whether It Will Solve Duplicate Entry Errors * fixed: Quotes Issue In Page Title = 2.00 (2006-01-01) = * new: Compatible With Only WordPress 2.0 * new: Better Installer * new: GPL License Added * new: Page Title Added To wp-useronline.php * new: Added Extra Bots, Credit To Greg Perry (http://www.gregrperry.com/) * fixed: Cleaner Codes