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

Përdorimi (Me Widget)

  1. Go to WP-Admin -> Appearance -> Widgets
  2. Emri i widget-it është UserOnline.
  3. Scroll down for instructions on how to create a Faqe UserOnline.

Përdorimi (Pa Widget)

  • Open wp-content/themes/<YOUR THEME NAME>/sidebar.php and add Anywhere:
<?php if (function_exists('users_online')): ?>
    <p>Users online: <div id="useronline-count"><?php users_online(); ?></div></p>
<?php endif; ?>





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.

Foto ekrani

  • Admin - Dashboard's Right Now
  • Faqe UserOnline
  • Përgjegjës - Faqe Rregullimesh


Krijimi i një Faqeje UserOnline

  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. Shtypni [page_useronline] te fusha e lëndës së postimit
  6. Klikoni mbi “Botoje”

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.

Për Shfaqjen e Numrit Më të Madh të Përdoruesve Në Linjë

  • Përdoreni:
<?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

  • Përdoreni:
<?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

  • Përdoreni:
<?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):



9 Maj, 2023
Installed, activated widget, and the Divi Theme broke. Widget not shown on front end I'm looking everywhere for at widget or anything to display live users on my site. The internet is almost comlpetely empty on the subject. Was standard in HTML ffrom the early beginnings of the internet. Please fix, and I'll rate anew.
11 Gusht, 2021
This is exactly what I was looking for. Quick and simple way to see if there are users connected. No complicated setup, no 3rd party accounts needed. All in the Backend. Perfect
18 Maj, 2021
I install this plugin on all the sites I set up, so that I can get a quick view if anyone is online before I put each site into maintenance for updates. A simple function, but works well.
Lexojini krejt 37 shqyrtimet

Kontribues & Zhvillues

“WP-UserOnline” është software me burim të hapur. Në këtë shtojcë kanë dhënë ndihmesë personat vijues.


“WP-UserOnline” është përkthyer në 18 gjuhë. Faleminderit përkthyesve për ndihmesën e tyre.

Përkthejeni “WP-UserOnline” në gjuhën tuaj.

Ju intereson zhvillimi?

Shfletoni kodin, shkarkoni depon SVN, ose pajtohuni përmes RSS-je te regjistri i zhvillimeve.

Regjistër ndryshimesh


  • FIXED: Strip all tags before inserting data into the DB.


  • FIXED: Fixed XS. Props Alex.


  • FIXED: Fixed XSS. Props Juampa Rodriguez.


  • NEW: Bump to WordPress 6.0.
  • FIXED: Fixed XSS. Props @steffinstanly.


  • NEW: Bump to WordPress 5.6
  • NEW: Added more bots
  • NEW: Remove hardcoded Archive text in page title
  • FIXED: Update SCB Framework to support PHP 8


  • NEW: Bump to WordPress 5.4
  • NEW: Added more bots


  • NEW: Bump to WordPress 5.3
  • NEW: Added more bots
  • FIXED: Update SCB Framework To Remove contextual_help


  • FIXED: Duplicated Settings Saved admin_notices
  • FIXED: Missing arrow
  • U NDREQ: U përditësua listë robotësh


  • E RE: Hedhje te 4.9
  • U NDREQ: Njoftime në Platformën SCB


  • NEW: Bump to 4.7
  • NEW: New useronline_custom_template filter


  • E RE: Heqje kartelash po/mo prej shtojcës
  • E RE: Përdorni translate.wordpress.org që të përktheni shtojcën
  • U NDREQ: Përditësim i Platformës SCB
  • FIXED: Incompatible scbAdminPage::validate()


  • FIXED: Notices in Widget Constructor for WordPress 4.3


  • NEW: Uses WordPress native uninstall.php


  • NEW: Bump to 4.0


  • Show user agent when hovering over IP, instead of address lookup
  • Use local time for UserOnline Page
  • Fixed ‘Strict Standards: Non-static method’ warnings
  • Update scb Framework


  • show most recent visitors first
  • fix duplicate entry errors
  • fix ajax requests for SSL


  • U ndreq faqe rregullimesh
  • fixed “Return to default” buttons
  • show user list in admin only to users with ‘manage_options’ capability
  • u shtua filtri ‘useronline_bots’


  • don’t show url and referral links for users in the admin area
  • smarter detection via ajax requests
  • ndreqje gabimesh SQL


  • ndreqje gabimi fatal gjatë përditësimit


  • ndreqje problemi %USERONLINE_COUNT%


  • added option to link user names to their author page
  • allow displaying online users from a different page than the current page
  • paketim kartelash gjuhësore
  • më tepër të dhëna

2.62 (2010-03-07)

  • ndreqje integrimi me WP-Stats
  • ndreqje gabimi me get_admin_page_title()