Who is online

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Who is online are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox Caution


Ambox notice.png The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]

If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0


Who is online
Summary Shows the users active on your site
Validation
Mod Updated 30 Sep 2023
Download link For
TNG 14.0

v14.0.0.2a
For
TNG 13.0

v13.0.3.1b
Download stats Show statistics
Author(s) Michel Kirsch
Homepage Racines luxo-hennuyeres
Mod Support TNG Community Forums
Contact Developer MyMail
Latest Mod 13.0.3.1b for TNG v13+ - 14.0.0.2a for TNG14+
Min TNG V v13+
Max TNG V n.c.
Files modified
admin.php
admin_users.php
customconfig.php
genlib.php
languages/Dutch-UTF8/admintext.php
languages/Dutch/admintext.php
languages/English-UTF8/admintext.php
languages/English/admintext.php
languages/French-UTF8/admintext.php
languages/French/admintext.php
log.php
logout.php
Related Mods
Notes

Purpose of the Mod

Shows users logged in and/or active on your site.
When a user visits a page, his status becomes "Connected" and "Active".
After a period of inactivity (which you define in the settings), his status changes
and it only becomes "Connected". 
After a second period of inactivity (which you define in the settings as well),
the user is considered to be disconnected. 
A counter shows you the number of connected and active users. 
This counter can be found on the "Setup" page as well as on the other pages of TNG,
either in the menu bar on the left, or as a small icon on the right, with the icons "Print", "Bookmarks", etc... 
You can choose the location in the settings. 
On your "Setup>>Users" page, active users are highlighted in green, 
Users who are only logged in are highlighted in grey. These colours can be changed in the settings.

Developer

This mod was developed by MichelK from Charleroi-Hainaut-Belgium

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary in the upper right corner of the page)
  • An installed current version of the Mod Manager.

Revision History

Mod Version Date Contents
14.0.0.2a 31 Jan 2023 if a user was registered in Admin>>Setup>>Log Settings>>Exclude User Name, he was no longer included in the list of active or logged-in Admin >> Users (RobS).
14.0.0.2 31 Jan 2023 MySQL 8.2 Ready.
14.0.0.1b 30 Sep 2021 TNG14 Ready.
13.0.3. 06 Aug 2021 Modif code to complies with some TNG standards.
13.0.3.1a 08 Mar 2021 Little modifs in the code.
13.0.3.1 06 Mar 2021 First online version.

Conflicts and Issues

No known conflicts.

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
  5. BEFORE using the Mod, you MUST create the new table!

Before using the Mod

In the event of a problem

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and any tables if created, you should

  1. click the Drop Table button to delete the created table
  2. click the Uninstall button to uninstall the mod
  3. click the Delete button to delete the config file from the mods folder.

Upgrade

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

Visualization

compteurs

The available counters.

admin

The Setup screen with its counter.

admin_users

The different status of a user.

admin_users_option

This option allows you to display only active and/or connected users..

TNG Modules Impacted

You can click on the [Expand] link on the right to display the list of TNG Modules change and the [Collapse] link to hide this section again.

The following TNG Modules are modified, and should be backed up prior to installing this mod:

admin.php
admin_users.php
customconfig.php
genlib.php
languages/Dutch-UTF8/admintext.php
languages/Dutch/admintext.php
languages/English-UTF8/admintext.php
languages/English/admintext.php
languages/French-UTF8/admintext.php
languages/French/admintext.php
log.php
logout.php

File created by this Mod

- whoisonline.php

Table created by this Mod

tng_users_online

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:
If you have any problem to do it, send me a mail...

URL User Note Mod-Version TNG-Version User-language
Racines luxo-hennuyeres Michel Kirsch Mod's Developper 13.0.3.1b 14.0.3 FR,EN,NL,DE
The Severijns / Timmer Familytree Rob Severijns Public / Private See here See here NL, EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private, Nice Mod. See here See here EN,DE,CS
Baza danych Rodziny Jarocińskich Michał Jarociński Non-public site 14.0.0.1b 14.0 PL,EN
Our Roots&Relatives Kåre Kjøllesdal Non-public site 14.0.0.2 14.0.1 NO,EN
The Cole / Tanner Family Tree David Cole Public/Private see here see here EN, DE, FR, ES, NL
Les Lapierre d'Amérique Normand Lapierre Public/Private 14.0.0.2a
TNG 14.0.3
FR, EN
Familjen Johnson Leif Johnson Public See here See here EN, SE