Add Cousins Button

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Add Cousins Button 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


Cousins Button
Summary See your relationship with your users.
Validation
Mod Updated 25 sep 2022
Download link For
TNG 14.0

v14.0.0.2a

For

TNG 12.0
TNG 13.0

v12.0.2.1c
Download stats Montrer les statistiques
Author(s) Michel Kirsch
Homepage Racines luxo-hennuyeres
Mod Support TNG Community Forums
Contact Developer MyMail
Latest Mod 12.0.2.1c for TNG v12 & 13 - V14.0.0.2a for TNG 14+
Min TNG V 12.0
Max TNG V 14+
Files modified
admin_users.php
Related Mods
Notes

Purpose of the Mod

When you work on your user list, you've probably often said to yourself, "I know he's a cousin, but..."
This mod installs a button facing the name of a user who is part of your tree and leads you directly to the "Relationship" (v12 & v13) or "Connections" (V14) page
This page graphically gives you your relationship with the user.
The user must obviously be identified in your tree via the user editing interface (see screenshots).

Development

Written by : [MichelKirsch] de Charleroi - Hainaut - Belgium

Requirements

A TNG v 12.0.2 or TNG V 14.0.1 installation in working order.

IMPORTANT : Before installing

Before installing, it is judicious to make a backup copy of the admin_users.php file (It will be modified by this mod)

INSTALLATION

  • Unzip the received file directly in the "mods" sub directory of your TNG installation.
  • Via Mod Manager, install the Mod.

Upgrade

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

Known Problems

None at this day...

In the event of a problem

  • Try using the Mod Manager Remove capability
  • Open an issue in the [TNG Community Forums]
  • Copy the backup of the affected files back to your TNG directory

Historic of modifications

Version Release Date Contents
14.0.0.2a 01 Nov 2022 TNG 14 ready. The button leads to the "relationship" page or the "connections" page depending on whether the Relationship Tab is reinstalled or not. - Modified to install and work with Watermark v14.0.0.4a+
14.0.0.1c 21 oct 2022 TNG 14 ready. The button leads now to the "connections" page instead of the "relationship" page. - Modified to install and work with Watermark v14.0.0.4a+
12.0.2.1c 09 mar 2021 Modifying code to avoid notices.
12.0.2.1b 04 mar 2020 Modifying code for compatibility with Watermark Mod.
12.0.2.1a 04 jan 2020 Changing primarypersonID with secondpersonID for faster results (Thanks to Ron's idea).
12.0.2.1 25 nov 2019 First online version.

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 Developper of the Mod 14.0.0.2a 14.0.3 FR/EN/NL/GE/SP
Auf den Spuren meiner Vorfahren UHaase Public/Private 10.1.3.0 12.2 DE,EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS
A Quest For Our Ancestors J13lthayer 12.0.2.1 12.2 EN
Crawford County, Pennsylvania Genealogy Gateway Fraber 12.0.2.1 12.2 EN
Van Peer Project Drew McClenaghan TNG Private Website 14​.0​.0​.2a 14.0 English
Les Lapierre d'Amérique Normand Lapierre Public/Private 14.0.0.2a 14.0 FR, EN
Vår Familjehistoria Lars Arén Public/Private 14.0.0.2a 14.0.4 SE, EN, DE

Screenshots

The Cousins button appears when the user make part of your tree
.

Buttons

You must identify this user in your tree.

Using the "Edit User" interface:

Edition