Difference between revisions of "Maternal And Paternal Lines"

From TNG_Wiki
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
| mod_name        = Maternal And Paternal Lines
 
| mod_name        = Maternal And Paternal Lines
 
| mod_summary    = Adds four new pages to TNG
 
| mod_summary    = Adds four new pages to TNG
| mod_last_update = 24 Mar 2024
+
| mod_last_update = 11 Mar 2024
 
| mod_validation  =
 
| mod_validation  =
| download_link  = for {{Tv1404}}[https://www.royandboucher.com/ccount/click.php?id=734&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v14.0.4.7.zip]<hr style="clear: both;"/>for{{Tv1401}}[https://www.royandboucher.com/ccount/click.php?id=701&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v14.0.1.6.zip]<hr style="clear: both;"/>for PHP 8.1{{Tv140}}{{Tv1310}}[https://www.royandboucher.com/ccount/click.php?id=651&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v13.1.05.zip]<hr style="clear: both;"/>for PHP 8 {{Tv130}}{{Tv120}}[https://www.royandboucher.com/ccount/click.php?id=623&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v12.0.0.3.zip]<hr style="clear: both;"/>  
+
| download_link  = for {{Tv1404}}[https://www.royandboucher.com/ccount/click.php?id=735&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v14.0.4.7a.zip]<hr style="clear: both;"/>for{{Tv1401}}[https://www.royandboucher.com/ccount/click.php?id=701&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v14.0.1.6.zip]<hr style="clear: both;"/>for PHP 8.1{{Tv140}}{{Tv1310}}[https://www.royandboucher.com/ccount/click.php?id=651&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v13.1.05.zip]<hr style="clear: both;"/>for PHP 8 {{Tv130}}{{Tv120}}[https://www.royandboucher.com/ccount/click.php?id=623&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v12.0.0.3.zip]<hr style="clear: both;"/>  
 
for {{Tv130}}{{Tv120}}{{Tv110}}[https://xerxx.se/click3/click.php?id=27&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Maternal_paternal_lines_v11.0.0.2.zip]<hr style="clear: both;"/>for{{Tv1010}}[https://xerxx.se/click3/click.php?id=26&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v10.1.0.4.zip]<hr style="clear: both;"/>for{{Tv100}}{{Tv91}}[https://xerxx.se/click3/click.php?id=25&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v9.1.1.2.zip]
 
for {{Tv130}}{{Tv120}}{{Tv110}}[https://xerxx.se/click3/click.php?id=27&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Maternal_paternal_lines_v11.0.0.2.zip]<hr style="clear: both;"/>for{{Tv1010}}[https://xerxx.se/click3/click.php?id=26&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v10.1.0.4.zip]<hr style="clear: both;"/>for{{Tv100}}{{Tv91}}[https://xerxx.se/click3/click.php?id=25&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} maternal_paternal_lines_v9.1.1.2.zip]
| download_stats  = [https://www.royandboucher.com/ccount/index.php?action=stats&id=623-637-651-701-734 Statistics for V12-V14]<br />[https://xerxx.se/click3/index.php?action=stats&groupid=12 Statistics for v9, 10, 11]
+
| download_stats  = [https://www.royandboucher.com/ccount/index.php?action=stats&id=623-637-651-701-734-735 Statistics for V12-V14]<br />[https://xerxx.se/click3/index.php?action=stats&groupid=12 Statistics for v9, 10, 11]
 
| mod_author      = Now supported by [[User:KenRoy|Ken Roy]]<br />Original Developer was Erik Hoppe  
 
| mod_author      = Now supported by [[User:KenRoy|Ken Roy]]<br />Original Developer was Erik Hoppe  
 
| mod_url        = [[Maternal And Paternal Lines]] (this page)
 
| mod_url        = [[Maternal And Paternal Lines]] (this page)
 
| mod_support    = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums:  TNG Specific - Code Discussion - Addons]
 
| mod_support    = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums:  TNG Specific - Code Discussion - Addons]
 
| mod_contact    =  
 
| mod_contact    =  
| mod_version    = 14.0.4.7 for TNG v14.0.4+<br />14.0.1.6 for TNG v14.0.1+<br />13.1.0.5 for TNG v13.1+<br />12.0.0.3 for PHP 8 TNG v12+<br />11.0.0.2 for TNG v11.0.0 - v12<br />10.1.0.4 for TNG v10.1.0 - 10.1.2<br />9.1.1.2 for TNG v9.1 through 10.0.x
+
| mod_version    = 14.0.4.7a for TNG v14.0.4+<br />14.0.1.6 for TNG v14.0.1+<br />13.1.0.5 for TNG v13.1+<br />12.0.0.3 for PHP 8 TNG v12+<br />11.0.0.2 for TNG v11.0.0 - v12<br />10.1.0.4 for TNG v10.1.0 - 10.1.2<br />9.1.1.2 for TNG v9.1 through 10.0.x
 
| min_TNG_ver    = 9.1.1
 
| min_TNG_ver    = 9.1.1
 
| max_TNG_ver    = 14+
 
| max_TNG_ver    = 14+
Line 178: Line 178:
 
! Description
 
! Description
  
 +
|- style="vertical-align:top;"
 +
| 14.0.4.7a
 +
| style="white-space: nowrap;"|24 Mar 2024
 +
| Updated for TNG 14.0.4+ thanks to [[User:Steve1200|Steven Davis]] to fix additional CSS issues and to [[User:Tngrlkrz|Ron Krzmarzick]] for testing
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
 
| 14.0.4.7
 
| 14.0.4.7
Line 318: Line 322:
 
| [[User:Ken Roy|Ken Roy]]
 
| [[User:Ken Roy|Ken Roy]]
 
| Very nice addition to TNG charts
 
| Very nice addition to TNG charts
| 14.0.4.7
+
| 14.0.4.7a
 
| {{Tv1404}}
 
| {{Tv1404}}
 
| FR,EN
 
| FR,EN

Revision as of 15:44, 11 April 2024

Restricted Downloads of Maternal And Paternal Lines 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


Maternal And Paternal Lines
Summary Adds four new pages to TNG
Validation
Mod Updated 11 Mar 2024
Download link for
TNG 14.0.4
maternal_paternal_lines_v14.0.4.7a.zip
for
TNG 14.0.1
maternal_paternal_lines_v14.0.1.6.zip
for PHP 8.1
TNG 14.0
TNG 13.1.0
maternal_paternal_lines_v13.1.05.zip
for PHP 8
TNG 13.0
TNG 12.0
maternal_paternal_lines_v12.0.0.3.zip

for

TNG 13.0
TNG 12.0
TNG 11.0
Maternal_paternal_lines_v11.0.0.2.zip
for
TNG 10.1.0
maternal_paternal_lines_v10.1.0.4.zip
for
TNG 10.0
TNG 9.1
maternal_paternal_lines_v9.1.1.2.zip
Download stats Statistics for V12-V14
Statistics for v9, 10, 11
Author(s) Now supported by Ken Roy
Original Developer was Erik Hoppe
Homepage Maternal And Paternal Lines (this page)
Mod Support TNG Community Forums: TNG Specific - Code Discussion - Addons
Contact Developer
Latest Mod 14.0.4.7a for TNG v14.0.4+
14.0.1.6 for TNG v14.0.1+
13.1.0.5 for TNG v13.1+
12.0.0.3 for PHP 8 TNG v12+
11.0.0.2 for TNG v11.0.0 - v12
10.1.0.4 for TNG v10.1.0 - 10.1.2
9.1.1.2 for TNG v9.1 through 10.0.x
Min TNG V 9.1.1
Max TNG V 14+
Files modified
Related Mods
Notes
Author of TNG Colouring Book
Mods by me: At my user page.

Purpose of the mod

The Maternal And Paternal Lines mod adds four new pages to your TNG system: Two pages for individuals and two pages for families. The selected person/family is followed from mother-to-mother (Maternal Line) or from father-to-father (Paternal Line) as far back as is possible to trace.

  • Individ's tree is displayed including the line's spouse and siblings.
  • Family's both trees are displayed side-by-side, with spouse but not siblings, making it easy to compare the time-spans for the generations.

Developer

This mod was developed by Erik Hoppe
Now maintained by Ken Roy who posted the updates for PHP 8 made by Brent Hemphill

Credit for the mod also goes to Oname.gif, Jacques Deslauriers,Henny Savenije and Mogens C. Fenger for German, French, Dutch and Danish translations resp. and for the suggestions, testing and patience provided by the alpha and beta testers:

Ken Roy has also been deeply involved in the later versions. Loads of Thanks!

Mod Conflicts

The below is added to all involved mods: Of my mods, some demand a special order to Install and Uninstall. This is one of them. Installing / Uninstalling in the wrong order may create chaos at a later stage. The mods may signal Okay to Install but nevertheless may not be.

Order to INSTALL:

All mods below the one you want to Install, must first be Uninstalled (if you use them). See the Uninstall order below. You can Install them after.

  1. Maternal And Paternal Lines
  2. Scrollbox
  3. Public Access Control
  4. Forum for TNG
  5. Fixed Family Tab


Order to UNINSTALL: All mods above the one you want to Uninstall, must first be Uninstalled (if you use them). You can Install them after. See the Install order above.

  1. Fixed Family Tab
  2. Forum for TNG
  3. Public Access Control
  4. Scrollbox
  5. Maternal And Paternal Lines

Example:
Suppose you use the Scrollbox and Fixed Family Tab mods. Now you want to install Maternal And Paternal Lines. As you can see in the Install Order both the used mods are below the Maternal And Paternal Lines mod and therefore you must first Uninstall the mods in the Uninstall order: First Uninstall the Fixed Family Tab mod and then the Scrollbox mod. Now you can install all three mods in the Install order: First you Install Maternal And Paternal Lines, second the Scrollbox mod and finally Fixed Family Tab.

Requirements

TNG version: 9.1.0
  • A working TNG installation.
  • For TNG <10.1: All affected language files be on your site (see the list below)
  • A backup of all affected files (see the list below)
  • An installed current version of the Mod Manager (is already included in TNG v9 and above)

Installation

  1. Click on the download link for your TNG version, shown in the summary in the upper right corner of the page.
  2. Un-zip the downloaded file and you will find a folder: Open it.
  3. Move/copy/FTP the .cfg file and the folder named maternal_paternal_linesXXX (dep. on version) to the mods folder of your TNG system.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
  5. Note - if you're using the tng.php WordPress-TNG Plugin, you need to "Update the TNG Variables" in the WordPress Admin pane for the TNG Plugin to get this to work correctly.

After installation

Empty Your Cache!
The mod adds to genstyle.css so it has to be re-loaded for the styles to take effect.
Instructions for how to are found here

In the event of a problem

Replacing the default icons/images

The default tab icons and the default images at the Family pages are supposed to show a spinning wheel (Maternal) and a sword (Paternal):

Tabs icons

Family Maternal image Family Paternal image Tab icons, Family page Maternal image and Paternal image

They are selected because of the Swedish expressions for those lines (translated) that are Spinning side and Sword side. The English expressions are Distaff side and Spear side - Read more here: The Flip Side Of Distaff

If you don't like the images, I provide a set of replacement images:

Tabs icons

Family Maternal image Family Paternal image Tab icons, Family page Maternal image and Paternal image

Open the folder named maternal_paternal_lines, in which you will find the folder replacement_images.
If you do this prior to installation of the mod: Move the replacement images out of the replacement_images folder and let them replace the images in the outer folder maternal_paternal_lines.
If you do this after installation of the mod: Move the replacement images to the (system root)img/ folder and let them replace the images there.

Custom Text Additions

Note: The config file includes the Danish, Dutch, English, French, German and Swedish language custom text.
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! Danish, Dutch, French, German and Swedish custom text translations may be changed by editing the respective custom_text.php file.

$text['xerxxSpinnrub'] = "Maternal Line";
$text['xerxxSvardrub'] = "Paternal Line";
$text['xerxxSpinnrub2'] = "Maternal Lines";
$text['xerxxSvardrub2'] = "Paternal Lines";
$text['xerxxEjforaldrar'] = "No parents are registered.";

Customizing Background Colors

If you are color-blind and cannot distinquish the direct line from the siblings, you can customize any of the following colors in your template/css/mytngstyle.css

.xerxxline {
   background-color: #E9E9FF;
}

.xerxxspouse {
   background-color: #FFFFFF;
}

.xerxxsibling {
   background-color: #E4E4E4;
}

for example, you could change the direct line to another color

/* override Maternal and Paternal lines colors */
.xerxxline {
   background-color: #D9FFB3;
}

Here is a link to a page that shows 140 colours with hex codes: w3schools - Colornames

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Remove button to uninstall the mod and then
  2. click the Delete button to delete the config file from the mods folder.

Revision History

Version Date Description
14.0.4.7a 24 Mar 2024 Updated for TNG 14.0.4+ thanks to Steven Davis to fix additional CSS issues and to Ron Krzmarzick for testing
14.0.4.7 24 Mar 2024 Updated for TNG 14.0.4+ thanks to Steven Davis to
  • remove the obsolete -moz-border-radius
  • remove the obsolete -moz-box-shadow
  • fix the transparent in background-color: tansparent;
14.0.1.6 11 Feb 2023 Updated for TNG 14.0.1+ by Ken Roy to
  • eliminate PHP 8 errors caused by TNG 14.0.1 removing the $tngconfig['tabs'] setting
  • add Hungarian text provided by Ingrid (Pipsi)


13.1.0.5 16 Apr 2022 Updated for TNG 13.1+ by Ken Roy to eliminate PHP 8.1 warnings
13.1.0.4 28 Nov 2021 Updated for TNG 13.1 by Ken Roy
  • to no longer replace the tng_small_icon_sprites.gif in genstyle.css
  • to use the TNG 13.1 tng_small_icon_sprites.gif which now includes the icons for maternal and paternal lines
  • no other code changes modules in v13.1.0.4 are the same as those in v12.0.0.3 so it includes the PHP 8 updates
12.0.0.3 18 Oct 2021 Updated for PHP 8 by Brent Hemphill and Ken Roy
Also uses the TNG v12 mod anchor for custom text additions to the cust_text.php files which are now marked as fileoptional except for the English and English-UTF8 files
11.0.0.1 20 Jun 2016 Fixed a CSS problem for Template 15. Thanks to Jan H. for the alert.
11.0.0.0 18 Mar 2016 Updated for TNG v11.0.0 by Ken Roy - Thank You!
10.1.0.4 20 Oct 2015 The Family pages displayed ugly under TNG v10.1.2 and several templates. (Esp. #12 as reported by Hendrik. Thanks!) Corrected.
Please note that the accompanying file folder is a replacement (rev. named).
10.1.0.3 6 Jul 2015 The Family pages are now "Mobile friendly" (See visualization).
NOTE that all four pages have new code.
9.1.1.2 6 Jul 2015 The Family pages are now "Mobile friendly" (See visualization).
NOTE that all four pages have new code.
10.1.0.2b 3 Jul 2015 When used together with my "Access" mods, data was pushed by the camera-icon outside of the box.
9.1.1.1b 3 Jul 2015 When used together with my "Access" mods, data was pushed by the camera-icon outside of the box.
10.1.0.2 26 Jan 2015 New version for TNG v10.1. Thanks to Ken Roy for assistance.
9.1.1.1 15 Apr 2014 If a language file was missing, no error was signalled but no files were copied. Took away all the %fileoptional:% directives to ensure Error.

I Included the Danish translation provided by Mogens C Fenger.

9.1.1.0 14 Apr 2014 Introduction.

Visualization of this mod

Individ's Paternal Line tree, Admin view (50%) (Yes; it is a test database)
Individ Paternal Line tree
Family's Maternal Line trees, Admin view (50%)
left[Family Maternal Line tree
Family's Maternal Line trees, Mobile view
MaternalPaternalMobile.png

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

Regarding my Swedish-Only site below: Using the Google setting "English language" and then google for the site, I have a "Translate this page" beside the link. If I use it I get a quite decent translation...

URL User Note Mod-Version TNG-Version User-language
Botebygden / Rönnlund-Solander
Swedish only (community research site).
Lars Arén Open public site: Many of Erik Hoppe's mods on display. 13.1.0.5 13.1.2 SE
Treichel-Familie.de Andreas Treichel Public & Private 14​.0​.1​.6 14.0.3 DE, UK, FR, ES, PL
Our Roy and Boucher Family Ken Roy Very nice addition to TNG charts 14.0.4.7a
TNG 14.0.4
FR,EN
De Veenkoloniale Genealogieën Henny Savenije Looks really well. 9.1.1.0 10.0.1 NL, FR, EN and more.
my family Oname.gif (no public site) see User:ojay see User:ojay DE,NL,EN
Mitchell Familes Online - Sample page Roger Mitchell Very nice addition to the family charts 9.1.1.0 10.0.1 EN
Nordic Ancestry Mogens C. Fenger Not a public site 9.1.1.0 10.0.1 DA,EN
Brady Family Tree in Western Australia Darryl Brady Public site 10.1.0.3 10.1.1 EN,DE
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Quigley Doyle Family Tree Don Quigley Public Site 10.1.0.4 10.1.1 EN
Our Family History Tor Lund Public Site 11.0.0.1 11.1 NO,EN,DE,FR
Our Family History Jean Pichette Public Site 11.0.0 11.0.0 EN,FR
Luithlenfamilie Ingo Wagner Not a Public site 11.0.0.2 11.1.2 DE,EN,NO,FR
Roots & Relatives Remembered Ron Krzmarzick Public & Private, modified See Here See Here EN,DE,CS
roy~royesfamilylinks Bruce Roy Public Site 11.0.0.1 11.0.1 EN
OurFamilyHistory Paul Barrett Public Site 11.0.0.1 11.0.1 EN
Racine d'Alsace J-Louis Valory Public/Private - T17 customized 11.0.0.2 12.0.2 FR
Joseph Oran Holtz Genealogy Pages Jim Holt Not a Public Site 11.0.0.2 11.1.1 EN
The Grahams of Helensburgh Jim Graham Public Site 11.0.0.1 12.0 EN
Martius family Hendrik Martius Half public 11.0.0.1 12.0.1 DE,EN,FR,NL
Journeys in Genealogy Patrick Thrush Public WP/TNG integration 11.0.0.2 12.0.3 EN
Schuster-Pippersteiner Ingrid Schuster Public 13.1.05 14.0 DE,CZ,EN, HU
Our Family Histories Bryan S. Larson Public - T8 customized see here see here EN
Familenforschung Kattau Uwe Kattau Public / Private 11.0.0.2 13.0.2 DE
The Severijns / Timmer Familytree Rob Severijns Public / Private 14.0.1.7
TNG 14.0.4
NL, EN
YourTrees Berkshire FHS/Paul Barrett Private/Synology NAS 12.0.0.3 13.04 EN
Lathrope Family Genealogy S Sharpe Public 13.0.0.2a 13.0.4 EN
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN
Van Peer Project Drew McClenaghan Private Site 12.0.0.3 14.0 EN
Vår Familjehistoria Lars Arén Public 14.0.1.6 14.0.4 SE, EN, DE
Homepage SCABELL Helga Scabell Public Site 14.0.1.6 14.0 DE/EN/PG
MOTYER Family Genealogy John Mark Motyer Public site See here EN
Kielakowie.com Janusz Kielak Public site 14.0.1.6 14.0.1 PL, EN, DE
Solem Genealogy Jan-Thore Solem Private 14​.0​.1​.6 14.0.2 EN, NO
Harnett Sheehan Families Kathy Harnett Sheehan Private 14.0.1.6 14.0.2 EN
Auf den Spuren meiner Ahnen Michael Klein Public/Private site 14​.0​.1​.6
TNG 14.0.3
EN, DE
Stammbaum der Familie Datschetzky Christian Datschetzky Public 14.0.1.6 14.0.3 DE, EN

TNG Modules Impacted

The following TNG Modules are modified, and should be backed up prior to installing this mod:
Make sure you have all of these language files installed

  • genlib.php
  • css/genstyle.css
  • languages/Danish/cust_text.php
  • languages/Danish-UTF8/cust_text.php
  • languages/Dutch/cust_text.php
  • languages/Dutch-UTF8/cust_text.php
  • languages/English/cust_text.php
  • languages/English-UTF8/cust_text.php
  • languages/French/cust_text.php
  • languages/French-UTF8/cust_text.php
  • languages/German/cust_text.php
  • languages/German-UTF8/cust_text.php
  • languages/Swedish/cust_text.php
  • languages/Swedish-UTF8/cust_text.php

The following modules are added by this mod

  • xerxxFamilyMaternalLine.php
  • xerxxFamilyPaternalLine.php
  • xerxxIndividMaternalLine.php
  • xerxxIndividPaternalLine.php
  • img/xerxx_small_icon_sprites.gif
  • img/xerxxSpinn.gif
  • img/xerxxSverd.gif