Relate-to-Me button
Downloads of Relate-to-Me 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 | ||
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 |
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:
[See details in the TNGv12 Change Impacts Article][Hide the instructions] |
|
Relate-to-Me button | ||||||||
---|---|---|---|---|---|---|---|---|
Summary | Displays a Me-button in relateform.php when the logged in user is not Person 2 but is registered in the current tree. | |||||||
Validation | The mod is XHTML compliant. | |||||||
Mod Updated | 14 Feb 2023 | |||||||
Download link | for
for
for
| |||||||
Download stats | Relate-to-Me button for v9.1.1.0 Stats for v13.0.4.1 | |||||||
Author(s) | Erik Hoppe | |||||||
Homepage | Relate-to-Me button (this page) | |||||||
Mod Support | TNG Community Forums | |||||||
Contact Developer | TNG Community Forums | |||||||
Latest Mod | 14.0.0 | |||||||
Min TNG V | 9.1.1 | |||||||
Max TNG V | 14+ | |||||||
Files modified | ||||||||
Related Mods | ||||||||
Notes |
Preface
This modification was suggested by one of our users who's got a 6-digit ID.
Purpose of the mod
If a logged in user uses the Relationship calculator and is also registered in the current tree the mod will:
- Insert the user as Person 2 if there is no one else
- Insert a Me button between the input field and the Search... button if another person is already Person 2
The button is clicked to enter the user's ID into the input field.
If the user is not registered in the current tree the mod has no effect.
Developer
This mod was developed by Erik Hoppe who is NOT maintaining or developing this mod.
See Mod Support in the data box top right.
Requirements
TNG version: | ≥ 10.1.0 |
TNG version: | ≥ 9.1.0 |
- A working TNG installation.
- A backup of all affected files (see the list below)
- An installed current version of the Mod Manager (is already included in TNG)
Installation
- Download the appropriate zip file as shown in the summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
In the event of a problem
- Try using the Mod Manager Remove capability
- Copy the backup of the affected files back to your TNG directory
- Contact us through the TNG forum.
Custom Text Additions
Note: The config file includes the English language custom text.
The mod also includes German and Swedish texts if they are present in your system.
For other languages you can modify the config file to add the custom text or manually add to whatever language you like.
English custom text For Reference Only!
$text['xerxxMebutton'] = "Me";
Uninstalling the mod
If you want to completely Remove (uninstall) this mod you should
- click the Remove button to uninstall the mod and then
- click the Delete button to delete the config file from the mods folder.
Revision History
Mod Version | Date | Contents | |
---|---|---|---|
14.0.0.1 | 14.0.0 | 14 Feb 2023 | Updated by Ron Krzmarzick for TNG 14.0.0
|
13.0.4.1 | 13.0.4 | 27 Aug 2021 | Updated by Ken Roy for TNG 13.0.4
|
9.1.1.0 | 9.1.1 | 27 May 2015 | Introduction. |
Visualization of this mod
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
URL | User | Note | Mod-Version | TNG-Version | User-language |
---|---|---|---|---|---|
Brady Family Tree in Western Australia | Darryl Brady | Public site | 9.1.1.0 | 10.1.1 | EN, DE |
The Cole / Tanner Family Tree | David Cole | Public/Private | see here | see here | EN, DE, FR, ES, NL |
Martius family | Hendrik Martius | Half public | 9.1.1.0 | 12.0.1 | DE, EN, FR, NL |
The Road to Ethel | Alicia Clemmons | Public | 9.1.1.0 | 12.0.1 | EN |
Croes Family Genealogy | Arnaud Croes | Public/Private | 13.0.4.1 | 13.0.4 | EN, NL, DE, PL, FR |
TNG Modules Impacted
The following TNG Modules are modified, and should be backed up prior to installing this mod:
- relateform.php
- languages/English/cust_text.php
- languages/English-UTF8/cust_text.php
- languages/German/cust_text.php (if present)
- languages/German-UTF8/cust_text.php (if present)
- languages/Swedish/cust_text.php (if present)
- languages/Swedish-UTF8/cust_text.php (if present)
- languages/French/cust_text.php (if present in v13.0.4.1)
- languages/French/cust_text.php (if present in v13.0.4.1)