WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP-UserOnline

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

To Display Most Number Of Users Online

  • Use:
<?php if (function_exists('get_most_users_online')): ?>
   <p>Most Users Ever Online Is <?php echo get_most_users_online(); ?> On <?php echo get_most_users_online_date(); ?></p>
<?php endif; ?>

To Display Users Browsing Site

  • Use:
<?php if (function_exists('get_users_browsing_site')): ?>
   <div id="useronline-browsing-site"><?php echo 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 echo get_users_browsing_page(); ?></div>
<?php endif; ?>

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);

Requires: 3.1 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-17
Downloads: 461,951

Ratings

4 stars
4.1 out of 5 stars

Support

6 of 6 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

3 people say it works.
0 people say it's broken.

100,4,4
100,8,8 0,1,0 0,2,0 0,1,0
75,4,3 0,2,0 0,1,0
92,13,12 4,24,1 52,25,13 0,2,0 100,1,1 0,2,0 0,1,0
38,13,5 67,15,10 50,8,4 6,18,1 14,29,4 60,20,12 50,2,1 0,1,0
65,17,11 0,1,0
58,19,11 57,21,12
0,1,0 50,4,2
0,1,0 0,2,0
0,1,0 67,3,2
100,1,1 0,1,0 50,2,1
50,2,1 42,12,5
0,1,0 0,1,0 50,4,2
0,1,0 0,1,0
67,6,4
0,3,0
0,3,0
40,15,6 50,6,3
43,7,3
43,7,3 100,1,1
100,6,6
100,2,2
88,8,7
100,6,6 100,2,2
100,2,2
75,4,3
100,1,1
100,1,1
0,1,0
100,1,1
100,2,2
100,3,3