» Index
Plugin Information
Author
» Lester 'GaMerZ' Chan
EMail:
»
Website:
» http://www.lesterchan.net/
Demo:
» http://www.lesterchan.net/wordpress
Documentation:
» http://dev.wp-plugins.org/wiki/wp-useronline
Development:
» http://dev.wp-plugins.org/browser/wp-useronline/
Support Forums:
» http://forums.lesterchan.net/viewforum.php?f=10
Updated:
» 1st July 2006
Changelog
-
Version 2.04 (01-07-2006)
- NEW: AJAX Is Now Used For Updating Users Online Every 1 Minute Without Refreshing The Page
- NEW: You Can Now Place Users Online Count And Users Browsing Site Data On The Sidebar As A Widget
- NEW: UserOnline Options Panel And The Code That WP-UserOnline Generated Is XHTML 1.0 Transitional
- NEW: Added Useronline Options In WP Administration Panel Under 'Options -> Useronline'
- NEW: If You Have ip2nation Plugin Installed, The User's/Guest's Country Flag Will Be Displayed
-
Version 2.03 (01-04-2006)
- 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/)
-
Version 2.02 (01-03-2006)
- 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/)
-
Version 2.01 (01-02-2006)
- 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
-
Version 2.00 (01-01-2006)
- 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
» Installation Instructions
-
Open wp-content/plugins Folder
-
Put:
Folder: useronline
-
Activate WP-UserOnline Plugin
-
Refer To Usage For Further Instructions
» Upgrade Instructions
From v1.0x To v2.04
-
Deactivate WP-UserOnline Plugin
-
Open Root WordPress Folder
-
Delete:
File: wp-useronline.php
-
Open wp-content/plugins Folder
-
Delete:
File: useronline.php
-
Put:
Folder: useronline
-
Activate WP-UserOnline Plugin
-
Refer To Usage For Further Instructions
» Usage Instructions
General Usage
-
Open wp-content/themes/<YOUR THEME NAME>/sidebar.php
-
Add Anywhere:
<?php if (function_exists('useronline')): ?>
<li>
<h2>UserOnline</h2>
<ul>
<li><div id="useronline-count"><?php get_useronline(); ?></div></li>
</ul>
</li>
<?php endif; ?>
-
Tutorial On How To Integrate wp-useronline.php With Your Theme:
http://www.lesterchan.net/wordpress/tutorials/integrating/
UserOnline Stats (Outside WP Loop)
-
To Display Most Number Of Users Online
-
Use:
<?php if (function_exists('get_most_useronline')): ?>
<p>Most Users Ever Online Is <?php get_most_useronline(); ?> On <?php get_most_useronline_date(); ?></p>
<?php endif; ?>
-
To Display Users Browsing Site
-
Use:
<?php if (function_exists('get_users_browsing_site')): ?>
<div id="useronline-browsing-site"><?php get_users_browsing_site(); ?></div>
<?php endif; ?>
-
To Display Users Browsing A Page
-
Use:
<?php if (function_exists('get_users_browsing_page')): ?>
<div id="useronline-browsing-page"><?php get_users_browsing_page(); ?></div>
<?php endif; ?>