WP-UserOnline

Descriere

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

Usage (With Widget)

  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.

Usage (Without 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; ?>

Build Status

Dezvoltare

https://github.com/lesterchan/wp-useronline

Recunoștințe

Donații

Mi-am petrecut cea mai mare parte a timpului meu liber pentru crearea, actualizarea, întreținerea și suportul acestor module, dacă îți plac modulele mele și mi-ai oferi câțiva dolari, aș aprecia cu adevărat. De nu, ești liber să-l folosești fără nici o obligație.

Capturi ecran

  • Admin - Dashboard's Right Now
  • UserOnline Page
  • Admin - Settings Page

Întrebări frecvente

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. Type [page_useronline] in the post’s content area
  6. 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.

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; ?>
Eroare la activare: „Eroare de analiză: eroare de sintaxă, neașteptată …”

Asigură-te că gazda ta rulează PHP 5. Singura modalitate, extrem de simplă pentru a face acest lucru, este adăugarea acestei linie la wp-config.php (după deschiderea tag-ului <?php):

var_dump(PHP_VERSION);

Verificări

7 aprilie 2019
I just wanted to check whether any other users were online before putting the site into maintenance mode for upgrades. I can restrict the view of this to admin, so does exactly what I need. Only thing to note is that it counts all users from the same IP address as one do may not suit all purposes.
14 februarie 2019
Always shows 1 user online even 3 or more users logged in. Browser debug tool shows no errors and everything is clear.
11 decembrie 2018
Excelent plugin to see users online. Recommended.
Citește toate cele 30 de recenzii

Contributori și dezvoltatori

„WP-UserOnline” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

„WP-UserOnline” a fost tradus în 10 locale. Mulțumim traducătorilor pentru contribuția lor.

Tradu „WP-UserOnline” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

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

2.62 (2010-03-07)

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