Title: WP-UserOnline
Author: Lester Chan
Published: <strong>03.01.2006</strong>
Last modified: 11.01.2025

---

Поиск плагинов

![](https://ps.w.org/wp-useronline/assets/banner-772x250.jpg?rev=1206770)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/wp-useronline/assets/icon.svg?rev=978026)

# WP-UserOnline

 Автор: [Lester Chan](https://profiles.wordpress.org/gamerz/)

[Скачать](https://downloads.wordpress.org/plugin/wp-useronline.2.88.9.zip)

 * [Детали](https://ru.wordpress.org/plugins/wp-useronline/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/wp-useronline/#reviews)
 * [Разработка](https://ru.wordpress.org/plugins/wp-useronline/#developers)

 [Поддержка](https://wordpress.org/support/plugin/wp-useronline/)

## Описание

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

### Использование (с виджетом)

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

### Использование (без виджета)

 * 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; ?>
    ```

### Разработка

[https://github.com/lesterchan/wp-useronline](https://github.com/lesterchan/wp-useronline)

### Благодарности

 * Plugin icon by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com)

### Пожертвования

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.

## Скриншоты

[⌊Admin - Dashboard's Right Now⌉⌊Admin - Dashboard's Right Now⌉[

Admin — Dashboard’s Right Now

[⌊UserOnline Page⌉⌊UserOnline Page⌉[

UserOnline Page

[⌊Admin - Settings Page⌉⌊Admin - Settings Page⌉[

Admin — Settings Page

## Часто задаваемые вопросы

### 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. Введите `[page_useronline]` в области содержимого записи
 6. Нажмите ‘Опубликовать’

Если вы НЕ используете постоянные ссылки, то вам нужно зайти в `WP-Администратор-
> Настройки -> Пользователи онлайн` и под ‘Пользователи онлайн URL’, вам необходимо
ввести URL-адрес страницы Пользователи онлайн, которую вы создали выше.

### Отобразить наибольшее количество пользователей онлайн

 * Использовать:

    ```
    <?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; ?>
    ```

### Отобразить пользователей, просматривающих сайт

 * Использовать:

    ```
    <?php if (function_exists('get_users_browsing_site')): ?>
       <div id="useronline-browsing-site"><?php echo get_users_browsing_site(); ?></div>
    <?php endif; ?>
    ```

### Отобразить пользователей, просматривающих страницу

 * Использовать:

    ```
    <?php if (function_exists('get_users_browsing_page')): ?>
       <div id="useronline-browsing-page"><?php echo get_users_browsing_page(); ?></div>
    <?php endif; ?>
    ```

### Ошибка при активации: «Ошибка обработки: синтаксическая ошибка, непредвиденная…»

Убедитесь, что ваш хост работает с PHP 5. Единственный надежный способ сделать это—
добавить эту строку в wp-config.php `<?php` tag):

    ```
    var_dump(PHP_VERSION);
    ```

## Отзывы

![](https://secure.gravatar.com/avatar/a4babfd10111b95936a6bea8d17e03f91cc74cc6f0a0654a3c120f2199d114d5?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-9400/)󠁿

 [Betty_](https://profiles.wordpress.org/betty_/) 26.11.2024

A simple and excellent plugin, very useful for me!Thank you very much!

![](https://secure.gravatar.com/avatar/c485e8cdf4ff37822987ad28f12e13ea4ae57e33faa08e98b91b135267c916a9?
s=60&d=retro&r=g)

### 󠀁[Broke my theme.](https://wordpress.org/support/topic/broke-my-theme-14/)󠁿

 [Trondur](https://profiles.wordpress.org/trondur/) 09.05.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.

![](https://secure.gravatar.com/avatar/fe7b5928006dab152bcbef868d788198c5c9b3211323e7ce7b3a7c9b6998785d?
s=60&d=retro&r=g)

### 󠀁[Exactly what I was looking for](https://wordpress.org/support/topic/exactly-what-i-was-looking-for-511/)󠁿

 [cjnrluay9](https://profiles.wordpress.org/cjnrluay9/) 11.08.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

![](https://secure.gravatar.com/avatar/bc4811254f1b9770f9aef349ccabeea37d7471e0beec475f95c280f3b53ce308?
s=60&d=retro&r=g)

### 󠀁[Well, it works… 😉](https://wordpress.org/support/topic/well-it-works-5/)󠁿

 [MarkJ](https://profiles.wordpress.org/forusak/) 08.08.2021

So hard to find a minimalist plugin to check online users. Thank you!

![](https://secure.gravatar.com/avatar/dcc48e9c96c9ee54c358ad65a85e30e4c1777d8dd7111bcb16255962c2df165d?
s=60&d=retro&r=g)

### 󠀁[It works right out of the box!](https://wordpress.org/support/topic/it-works-right-out-of-the-box-3/)󠁿

 [Jakours2](https://profiles.wordpress.org/jakours2/) 15.07.2021 2 ответа

Do what it is supposed to. Great plugin. Thanks for this! Where can i pay you a 
coffee or two?

![](https://secure.gravatar.com/avatar/7fe1cea42f9e6d31656e222c292c679418e182d21c0307f6d0b01b7a68dd60b6?
s=60&d=retro&r=g)

### 󠀁[you deserve for 5 stars](https://wordpress.org/support/topic/you-deserve-for-5-stars/)󠁿

 [tajmohamed30](https://profiles.wordpress.org/tajmohamed30/) 30.06.2021

thanks and great

 [ Посмотреть все 38 отзывов ](https://wordpress.org/support/plugin/wp-useronline/reviews/)

## Участники и разработчики

«WP-UserOnline» — проект с открытым исходным кодом. В развитие плагина внесли свой
вклад следующие участники:

Участники

 *   [ Lester Chan ](https://profiles.wordpress.org/gamerz/)

«WP-UserOnline» переведён на 19 языков. Благодарим [переводчиков](https://translate.wordpress.org/projects/wp-plugins/wp-useronline/contributors)
за их работу.

[Перевести «WP-UserOnline» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/wp-useronline)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/wp-useronline/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/wp-useronline/), или подпишитесь
на [журнал разработки](https://plugins.trac.wordpress.org/log/wp-useronline/) по
[RSS](https://plugins.trac.wordpress.org/log/wp-useronline/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

### 2.88.9

 * FIXED: Check scbWidget exists first before loading scbWidget. Props @whiteshadow.

### 2.88.8

 * FIXED: Remove widget code from useronline_init

### 2.88.7

 * FIXED: WP SCB Framework use init hook
 * FIXED: Widget now loads seperately in it is own hook

### 2.88.6

 * FIXED: Revert WP SCB Framework to use plugins_loaded hook

### 2.88.5

 * FIXED: Update WP SCB Framework to fix load_textdomain_just_in_time warning
 * FIXED: Remove load_plugin_textdomain since it is no longer needed since WP 4.6

### 2.88.4

 * FIXED: Add load_plugin_textdomain during init
 * NEW: Update bots

### 2.88.3

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

### 2.88.2

 * FIXED: Fixed XS. Props Alex.

### 2.88.1

 * FIXED: Fixed XSS. Props Juampa Rodriguez.

### 2.88.0

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

### 2.85.6

 * 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

### 2.85.5

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

### 2.87.4

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

### 2.87.3

 * FIXED: Duplicated Settings Saved admin_notices
 * FIXED: Missing arrow
 * FIXED: Updated bots list

### 2.87.2

 * NEW: Bump to 4.9
 * FIXED: Notices in SCB Framework

### 2.87.1

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

### 2.87

 * NEW: Remove po/mo files from the plugin
 * NEW: Use translate.wordpress.org to translate the plugin
 * FIXED: Update SCB Framework
 * FIXED: Incompatible scbAdminPage::validate()

### 2.86

 * FIXED: Notices in Widget Constructor for WordPress 4.3

### 2.85

 * NEW: Uses WordPress native uninstall.php

### 2.84

 * NEW: Bump to 4.0

### 2.83

 * 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

### 2.82

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

### 2.81

 * fixed settings page
 * fixed «Return to default» buttons
 * show user list in admin only to users with ‘manage_options’ capability
 * added ‘useronline_bots’ filter

### 2.80

 * don’t show url and referral links for users in the admin area
 * smarter detection via ajax requests
 * fix SQL errors

### 2.72

 * fix fatal error on upgrade

### 2.71

 * fix %USERONLINE_COUNT% problem

### 2.70

 * added option to link user names to their author page
 * allow displaying online users from a different page than the current page
 * bundle language files
 * [more info](http://scribu.net/wordpress/wp-useronline/wu-2-70.html)

### 2.62 (2010-03-07)

 * fix integration with WP-Stats
 * fix error with get_admin_page_title()

## Мета

 *  Версия **2.88.9**
 *  Обновление: **1 год назад**
 *  Активных установок: **10 000+**
 *  Версия WordPress ** 4.6 или выше **
 *  Совместим вплоть до: **6.7.5**
 *  Языки
 * [Albanian](https://sq.wordpress.org/plugins/wp-useronline/), [Arabic](https://ar.wordpress.org/plugins/wp-useronline/),
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/wp-useronline/), [Czech](https://cs.wordpress.org/plugins/wp-useronline/),
   [Danish](https://da.wordpress.org/plugins/wp-useronline/), [Dutch](https://nl.wordpress.org/plugins/wp-useronline/),
   [English (US)](https://wordpress.org/plugins/wp-useronline/), [French (France)](https://fr.wordpress.org/plugins/wp-useronline/),
   [German](https://de.wordpress.org/plugins/wp-useronline/), [Hebrew](https://he.wordpress.org/plugins/wp-useronline/),
   [Hungarian](https://hu.wordpress.org/plugins/wp-useronline/), [Italian](https://it.wordpress.org/plugins/wp-useronline/),
   [Japanese](https://ja.wordpress.org/plugins/wp-useronline/), [Persian](https://fa.wordpress.org/plugins/wp-useronline/),
   [Romanian](https://ro.wordpress.org/plugins/wp-useronline/), [Russian](https://ru.wordpress.org/plugins/wp-useronline/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/wp-useronline/), [Spanish (Spain)](https://es.wordpress.org/plugins/wp-useronline/),
   [Swedish](https://sv.wordpress.org/plugins/wp-useronline/) и [Vietnamese](https://vi.wordpress.org/plugins/wp-useronline/).
 *  [Перевести на ваш язык](https://translate.wordpress.org/projects/wp-plugins/wp-useronline)
 * Метки:
 * [online](https://ru.wordpress.org/plugins/tags/online/)[useronline](https://ru.wordpress.org/plugins/tags/useronline/)
   [widget](https://ru.wordpress.org/plugins/tags/widget/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/wp-useronline/advanced/)

## Оценки

 4.6 из 5 звёзд.

 *  [  28 5-звездный отзыв     ](https://wordpress.org/support/plugin/wp-useronline/reviews/?filter=5)
 *  [  6 4-звездный отзыв     ](https://wordpress.org/support/plugin/wp-useronline/reviews/?filter=4)
 *  [  1 3-звездный отзыв     ](https://wordpress.org/support/plugin/wp-useronline/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/wp-useronline/reviews/?filter=2)
 *  [  2 1-звездный отзыв     ](https://wordpress.org/support/plugin/wp-useronline/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-useronline/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/wp-useronline/reviews/)

## Участники

 *   [ Lester Chan ](https://profiles.wordpress.org/gamerz/)

## Поддержка

Решено проблем за последние 2 месяца:

     0 из 1

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/wp-useronline/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](https://lesterchan.net/site/donation/)