|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|
|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 stats||Relate-to-Me button|
|Homepage||Relate-to-Me button (this page)|
|Mod Support||TNG Community Forums: TNG Specific - Code Discussion - Addons|
|Min TNG V||9.1.1|
|Max TNG V||12.x|
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.
This mod was developed by Erik Hoppe
|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)
- 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.
|V188.8.131.52||27 May 2015||Introduction.|
Visualization of this mod (v184.108.40.206 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:
|Andersson, Hoppe, Sahlin, Thorell||Erik Hoppe||Mod author.||220.127.116.11||11.1.2||Swedish, German, English|
|Brady Family Tree in Western Australia||Darryl Brady||Public site||18.104.22.168||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||22.214.171.124||12.0.1||DE, EN, FR, NL|
|The Road to Ethel||Alicia Clemmons||Public||126.96.36.199||12.0.1||English|
TNG Modules Impacted
The following TNG Modules are modified, and should be backed up prior to installing this mod:
- 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)