Difference between revisions of "Relationship Display Mod"

From TNG_Wiki
Jump to: navigation, search
Line 244: Line 244:
 
|English, German, French, Spanish
 
|English, German, French, Spanish
 
|-
 
|-
| [http://www.craxford-family.co.uk/]
+
| [http://www.craxford-family.co.uk/ The Craxford Family Genealogy Magazine]
 
| [[User: Alan D Craxford]]
 
| [[User: Alan D Craxford]]
 
| ...
 
| ...

Revision as of 15:28, 21 February 2011

Relationship Display Mod
Summary Displays the relationship of two individuals.
Validation {{{mod_validation}}}
Mod Updated {{{mod_last_update}}}
Download link For TNG v8.0+
reldisplay_v8.1.1.zip Initial default person set
reldisplay_v8.1.1a.zip No initial default person

For TNG v8.1+
reldisplay_v8.1.2.zip No initial default person
reldisplay_v8.1.2a.zip Initial default person set
Download stats {{{download_stats}}}
Author(s) Jeff Robison
Homepage Robison and Blythe Genealogy
Mod Support TNG Forums
Contact Developer My Mod Support
Latest Mod 8.1.1
8.1.2 for TNG v8.1+.
Min TNG V 8.0
Max TNG V 8.1.1
Files modified
getperson.php
genlib.php
languages/English/cust_text.php
languages/English-UTF8/cust_text.php
Related Mods
Notes
See Custom Text Additions if you are using multiple languages.


Purpose of the mod

This mods display the relationship between a default person and the current person in the header on an individual's page.

It will copy 5 files to your root directory and 1 icon to your img folder.....

  • gendisplay.php (Revised relationship.php)
    Original code by Darrin Lythgoe.
    Code revisions by G.T. "Joe" Proctor.
  • no_display.php
  • set_defaultid.php
  • setdefaulthelp.php
  • set_primaryperson.php
  • info_1.png

Developer

This mod was developed by Jeff Robison.
A mod comparable to the combination of Personalized Login Mod and Relationship Reference Message Mod by Gerald Leehan and Bryan S. Larson.
Accomplished with the aid of testers (by last name alpha order)......
Eric Andrist, Graham Chamberlain, Bryan S. Larson and Ken Roy.

Requirements

  • A working TNG installation. The automated installation release will work with TNG v8.0.2/v8.1.
  • An installed current version of the Mod Manager.
  • Note: For the logged in user default person to work Administrators need to update their User records. There must be a Tree / Person ID assigned for each user.
  • Note: At this time this mod only supports single trees but still displays on multi-tree sites.

Revision History

Version Date Description
V8.1.2
V8.1.2a
05 February 2011
  • This version displays the same results delivered by TNG's relationship.php.
  • Works with TNG v8.1+
  • V8.1.2 is the same as V8.1.2a except there is no 'Initial default person ID'.
V8.1.1
V8.1.1a
08 January 2011
  • Now uses the chart settings from admin/setup/chart settings/relationship.
  • There is a static 'Initial default person ID' set to 'I1' in reldisplay/set_defaultid.php. This assures a relationship display for anonymous users. The 'Initial default person ID' can be changed prior to installation of the mod by editing $initialdefaultID = I1; in reldisplay/set_defaultid.php.
  • The display for maxed out generations now displays the current person name and default person name/link.
  • getperson.php changes minimized.
  • V8.1.1a is the same as V8.1.1 except there is no 'Initial default person ID'.
V8.1.0gfx 05 December 2010 Individual tab freaking out in IE (Imagine that) FIXED.
V8.1.0g 01 December 2010 Partial solution for the Deutsch (German) 'Ur' vs. '2 x groß...' issue. By Jörg Baum .
V8.1.0 06 November 2010 Introduction.

Automated Installation

  1. Remove/Delete previous version including the reldisplay folder from your mods folder.
  2. Upload the .zip file to your mod folder and extract files.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install..

In the event of a problem

Custom Text Additions

Note: The config file only includes the English language changes, so if you support multiple languages you can modify the config file to add the custom text for those other languages, or manually add the following custom text to each of your other languages with appropriate translations of course.

English custom text For Reference Only!

//  Added for Relationship Display
$text['notrelated2'] = "are not related within xxx generation.";
$text['ggreat'] = "great"; //Not necessary for TNG v8.1.1
$text['rettodef'] = "Return to ";
$text['setdefttl'] = "Change the default person to ";
$text['setdef'] = "Set As Default Person";
$text['restoredef'] = "Restore User Default Person";
$text['relatetip'] = "Tips For Setting Default Person";
$text['nodisplay'] = "Close Relationship Display";
$text['relchartttl'] = "View Relationship Connection";
$text['relchart'] = "Relationship Chart";
$text['defperson'] = " is the default person";
$text['norelate'] = "No direct relation within 15 generations to default person ";
$text['relhelp'] = "The initial Default Person is assigned by the administrator/s of this site for the Relationship Display which is located below the name/date on a person's page.<br><br>
The Default Person can be changed to any person by clicking 'Set As Default Person' in the icon menu on that person's page.<br><br>
If you are a registered member with a Default Person assigned, just log in and the Default Person will then be the assigned person.<br><br>
If you are a registered member without a Default Person assigned, contact the site administrator/s to have  a Tree/Person ID assigned.<br><br>
Relationship results between the Default Person and the Current Subject are displayed after calculation. A relationship chart may be viewed by clicking on the 'Relationship Chart' link.<br><br>
The relationship display may be turned off by clicking the <img src=\"{$cms['tngpath']}img/tng_delete.gif \" width=\"14\" height=\"14\" border=\"0\"/> icon at the left side of the display.<br><br>
The display can be turned on again by clicking 'Set As Default Person' in the icon menu.";

French/cust_text.php or the French-UTF8/cust_text.php

//TNG relationship.php text corrections-Ken Roy 20:11, 5 November 2010
//Not necessary for TNG v8.1.1
$text['ggreat'] = "arrière";
$text['great'] = "arrière";
$text['gfath'] = "xxx grandpère de";
$text['gmoth'] = "xxx grandmère de";
$text['gpar'] = "xxx grandparent de";
$text['mothof'] = "la mère de";
$text['fathof'] = "le père de";
$text['parof'] = "le parent de";
//
//  Added for Relationship Display Mod by Graham Chamberlain (Not validated).
$text['notrelated2'] = "ne sont pas liés au sein de la génération xxx.";//Google translate
$text['rettodef'] = "Retourner à ";
$text['setdefttl'] = "Définir la personne défaut ";
$text['setdef'] = "Définir comme personne défaut";
$text['restoredef'] = "Restaurer personne défaut";
$text['relatetip'] = "Conseils pour la mise personne défaut";
$text['nodisplay'] = "Fermer l'affichage des relations";
$text['relchartttl'] = "Voir la connexion relations";
$text['relchart'] = "Tableau des relations";
$text['defperson'] = " est la personne défaut";
$text['norelate'] = "Aucune relation directe dans 15 générations de la personne défaut ";
$text['relhelp'] = "La première personne par défaut sera la page de la première personne visitée. Si vous êtes un membre enregistré avec une personne par défaut attribuée, connectez-vous et la personne par défaut sera alors la personne désignée. La personne par défaut peut être modifié à toute personne en cliquant sur «Définir comme personne défaut» sur la personne de page.<br><br>
résultats relation entre la personne par défaut et le sujet actuel sont affichés après le calcul. Un tableau relation peut être consulté en cliquant sur le lien «Tableau des relations».";

German/cust_text.php or the German-UTF8/cust_text.php

//TNG relationship.php text corrections-Ken Roy 20:11, 5 November 2010
//Not necessary but an alternative for TNG v8.1.1 (Closer to the rule)
$text['gfath'] = "der xxxGroßvater von";
$text['gmoth'] = "die xxxGroßmutter von";
$text['gpar'] = "die xxxGroßeltern von";
$text['ggreat'] = "Ur";
$text['great'] ="Groß";
//
//  Added for Relationship Display by Olaf Teige
$text['notrelated2'] = "sind nicht innerhalb von xxx Generationen verwandt.";
$text['rettodef'] = "Rückkehr nach ";
$text['setdefttl'] = "Stellen Sie den Probanden ein: ";
$text['setdef'] = "Als Proband einstellen";
$text['restoredef'] = "Standardeinstellungen auf Person-ID wiederherstellen";
$text['relatetip'] = "Tipps zum Einstellen des Probanden";
$text['nodisplay'] = "Ausblenden der Verwandtschaftsanzeige";
$text['relchartttl'] = "Verwandtschaftsverbindung";
$text['relchart'] = "Verwandtschaftsberechnung";
$text['defperson'] = " ist der Proband";
$text['norelate'] = "Es gibt keine direkte verwandtschaftliche Beziehung innerhalb von 15 Generationen zum Probanden ";
$text['relhelp'] = "Am Anfang wird keine Person als Proband zugewiesen sein. Wenn Sie ein registriertes Mitglied mit einer Person-ID sind, dann müssen Sie sich einloggen und der Proband wird daraufhin dieser Person-ID zugeordnet. Der Proband kann auf jede Person verändert werden, indem Sie auf \"Als Proband einstellen\" auf der Profilseite dieser Person klicken.<br><br>Beziehung zwischen dem Probanden und dem angezeigten Personenprofil werden nach der Berechnung angezeigt. Ein Verwandtschaftsdiagramm kann durch Anklicken des \"Verwandtschaftsberechnung\"-Link angezeigt werden.";

Spanish/cust_text.php or the Spanish-UTF8/cust_text.php

$text['ggreat'] = "gran"; //Not necessary for TNG v8.1.1
//
//  Added for Relationship Display by Graham Chamberlain (Not validated).
$text['notrelated2'] = "no están relacionados dentro de la generación de xxx.";//Google translate
$text['rettodef'] = "Volver a ";
$text['setdefttl'] = "Establecer el valor predeterminado Persona ";
$text['setdef'] = "Establecer como Persona por defecto";
$text['restoredef'] = "Restaurar la Persona por defecto";
$text['relatetip'] = "Consejos para establecer el valor predeterminado de Personas";
$text['nodisplay'] = "Cerrar la pantalla de Relación";
$text['relchartttl'] = "Ver la conexión de la Relación";
$text['relchart'] = "Carta de Relación";
$text['defperson'] = " es la Persona por defecto";
$text['norelate'] = "no una Relación directa dentro de 15 generaciones de la Persona por defecto ";
$text['relhelp'] = "La primera persona por defecto será la página de la primera persona visitada. Si usted es un usuario registrado con una persona asignada por defecto, sólo tienes que entrar y la persona por defecto será la persona asignada. La persona predeterminada se puede cambiar a cualquier persona haciendo clic en “Establecer como Persona por defecto” en la persona de páginas.<br><br>
resultados de relación entre la persona por defecto y el perjuicio actual se muestra después de cálculo. Un gráfico de relación puede verse haciendo clic en el enlace “Carta de Relación”.";

Visualization of this mod

Reldisplayvis4.jpg

TNG User sites using this mod

Please add TNG site that you have found that utilize this modification

URL User Note Mod-Version/TNG-Version User-language
Teige-Steinrötter-family Olaf Teige (no public site) V8.1.2/8.1.1 D,(NL),(GB)
Robison & Blythe Genealogy Jeff Robison Mod developer (Public site) V8.1.2/8.1.1 EN, FR, GER
Our Family Histories.org Bryan Larson Guest username/password: guest/guest V8.1.0/8.0.2 English
Kielakowie.pl Janusz Kielak ... V8.1.1/8.1.0 PL,D,GB
Chamberlain & Eidenbenz Genealogy Graham Chamberlain ... v8.1.1a / v8.1.1 English, German, French, Spanish
The Craxford Family Genealogy Magazine User: Alan D Craxford ... v8.1.2 English (Gr, Fr, Port to be added -