Age at marriage
Downloads of Age at marriage 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] |
|
Age at Marriage | |||
---|---|---|---|
Summary | Adds a "Age at Marriage" field to getperson.php | ||
Validation | |||
Mod Updated | 15 oct 2020 | ||
Download link | v12.3.0.2c
| ||
Download stats | Montrer les statistiques | ||
Author(s) | Michel Kirsch | ||
Homepage | Racines luxo-hennuyeres | ||
Mod Support | TNG Community Forums | ||
Contact Developer | |||
Latest Mod | 12.3.0.2c for TNG v12 & 13 | ||
Min TNG V | n.c | ||
Max TNG V | v12+ | ||
Files modified | getperson.php languages/English-UTF8/cust_text.php languages/English/cust_text.php languages/French-UTF8/cust_text.php languages/French/cust_text.php | ||
Related Mods | |||
Notes |
Purpose of the Mod
Adds a field to the TNG main page (getperson.php) with the age of the married persons at the wedding date.
If the partner's age is equal to or less than a limit you set, his or her age will be coloured and bolded.
You can adjust the age at which the partner's age will be coloured. You can also choose the color.
It takes a minimum of the wedding's YEAR AND the birth's (or baptism's) YEAR for the field to display.
In the parameters, you could also choose between 3 different displays :
1 = He : 20 years and 6 months - She 19 years and 1 month.
2 = He : 20 years - She 19 years.
3 = He : 20.5 years - She 19.08 years.
A second parameter to dispaly text is proposed :
1 = He was .... - She was....
2 = He : .. She : ...
3 = Nothing (Example : 20 years and 6 months - 19 years and 1 month.)
Since version 2c, marriage between persons of the same sex has been the subject of adapted messages.
Languages
This Mod is supplied with Dutch (Thx to Rob), French and English languages.
If you wish to add another language the following fields of cust_text.php are to be modified:
// Age at Marriage Mod
$text['mahe'] = "He";
$text['mashe'] = "She";
$text['marriedage'] = "Age at Marriage";
$text['mamonth'] = "month";
$text['mamonths'] = "months";
// Age at Marriage Mod
Development
Based on an idea of Jean-Louis Valory and Written by : Michel Kirsch from Charleroi - Hainaut - Belgium
Requirements
A TNG v12.3.0 installation in working order.
IMPORTANT : Before installing
Before installing, it is judicious to make a backup copy of the files that will be modified by this mod.
TNG Modules Impacted
The following TNG Modules are modified, and should be backed up prior to installing this mod:
getperson.php
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
languages/French-UTF8/cust_text.php
languages/French/cust_text.php
INSTALLATION
- Unzip the received file directly in the "mods" sub directory of your TNG installation.
- Via Mod Manager, install the Mod.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
Known Problems
None at this day...
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
- Retry. If the problem persists, open an issue in the TNG Community Forums or on the page of Michel Kirsch. At worst, send a mail to
Historic of modifications
Version | Release Date | Contents | |
---|---|---|---|
v12.3.0.2c | 15 oct 2020 | Marriage between persons of the same sex has been the subject of adapted messages. |
|
v12.3.0.2b | 21 sep 2020 | Some language files are optional to allow installation for users who have deleted these files from their version. | |
v12.3.0.2a | 29 Aug 2020 | Add a second parameter to display text. | |
v12.3.0.2 | 26 Aug 2020 | Modify code to calculate age (years no more rounded) - Add options for display - Does not show ages if the two ages are unknown | |
v12.3.0.1a | 23 Aug 2020 | Change variables to avoid problems with other Mods (Relate Mod). Changing EN cust_text.php | |
v12.3.0.1 | 22 Aug 2020 | First online version. |
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
If you have any problem to do it, send me a mail...
URL | User | Note | Mod-Version | TNG-Version | User-language |
---|---|---|---|---|---|
Racines luxo-hennuyeres | Michel Kirsch | Mod's Developper | v12.3.0.2b | v12.3.0 | FR/EN/NL/D/SP |
Racine d'Alsace | J-Louis Valory | Private - T17 customized | 12.3.0.1a | 12.3 | FR |
Genealogy of a Dutch East-Indies Family | Rob Severijns | Private | 12.3.0.2c | V13.0 | NL, EN |
Roots & Relatives Remembered | Ron Krzmarzick | Public & Private | See Here | See Here | EN,DE,CS |
Lignées revestoises | Katryne | Village site - Public | v12.3.0.2b | v13.0 | FR/EN/D/IT |
GeneaKat | Katryne | Family site - Private | v12.3.0.2b | v13.0 | FR/EN/D/IT |
Kleinmann Genealogy | John Kleinmann | v12.3.0.2c | v13.0.1 | EN | |
Jan Suhr släktforskning | Jan Suhr | Public | v12.3.0.2b | v13.0 | SE/DK/EN |
Visualization
The new added field.