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
|
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 | 27 May 2015 | ||||
Download link | for
| ||||
Download stats | Relate-to-Me button | ||||
Author(s) | Erik Hoppe | ||||
Homepage | Relate-to-Me button (this page) | ||||
Mod Support | TNG Community Forums: TNG Specific - Code Discussion - Addons | ||||
Contact Developer | |||||
Latest Mod | 9.1.1.0 | ||||
Min TNG V | 9.1.1 | ||||
Max TNG V | 12.x | ||||
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
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
- Click on the download link, shown in the summary in the upper right corner of the page.
- Un-zip the file and if there is a folder: Open it.
- Move/copy/FTP the .cfg file to the mods folder of your TNG system.
- 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
- Replace all affected files with the copies you made before the installation.
- TNG Community Forums: TNG Specific - Code Discussion - Addons
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 and all its tables, 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
Version | Date | Description |
---|---|---|
V9.1.1.0 | 27 May 2015 | Introduction. |
Visualization of this mod (v9.1.1.0 on TNG v10.1.1)
As we don't display the Relationship tab for the public I can only show a screenshot from the TNG v10.1.1 test site: |
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 |
---|---|---|---|---|---|
Andersson, Hoppe, Sahlin, Thorell | Erik Hoppe | Mod author. | 9.1.1.0 | 11.1.2 | Swedish, German, English |
Brady Family Tree in Western Australia | Darryl Brady | Public site | 9.1.1.0 | 10.1.1 | EN, DE |
MOTYER Family Genealogy | John Mark Motyer | Public site | see here | see here | EN, DE, RU |
Cole / Tanner Family Tree | David Cole | Public/Private | see here | see here | English |
Martius family | Hendrik Martius | Half public | 9.1.1.0 | 12.0.1 | DE, EN, FR, NL |
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)