Living Flag Backup / Restore
|Downloads of Living Flag Backup / Restore 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|
|Living Flag Backup / Restore|
|Summary||Provides a backup and restore of the Living flags that are set in the tng_peoples table.|
|Validation||Admin application not validated.|
|Mod Updated||1 May 2019|
[Show older versions]
|Download stats||View download statistics|
for Living Flag Backup/Restore
for Living Flag mods group
Ken Roy developed config file only
|Homepage||Living Flag Backup / Restore|
|Mod Support||TNG Community Forums|
|Contact Developer||TNG Community Forums|
|Latest Mod||22.214.171.124 for TNG V12+|
126.96.36.199 for TNG V11
10.1.0.1 for TNG V10.1 and up
10.0.0.0 for TNG V10 and up
188.8.131.52 for TNG V9
8.1.0 for TNG V8
2.0 (2.1 config file) for TNG V7
|Min TNG V||7.0.0|
|Max TNG V||12+|
V2.1 of config file moved the Backup Living button to the right side of the Admin menu so it is only available to System Administrators.
This mod provides a backup and restore of the Living flags that are set in the tng_peoples table. It is designed to be used as a backup before doing an import gedcom and then used to restore the manually set living flags that were dropped during the import process.
V2.1 of the mod applies to TNG V7.
V8.1.1 of the mod applies to TNG V8 only. The config file for the TNG V8 version includes the following enhancements:
- creating the admin_backupLiving.php thereby eliminating the need to copy this file from the TNG Forum before installing
- changing the messages to use $text variables so the mod is now multilingual. The French and English custom text version can be downloaded as living_flag_backup_v8.1.1_fr-en.zip
In TNG V9, the French custom text files can now be downloaded as separate add-ons.
This mod was developed by Ben Wagner
Ben Wagner developed the Backup and Restore Living Flag Add-ons. For a description check the Backup / Restore Living flag script created by Ben Wagner that will backup and restore living flags Backup Living Script in the TNG Community Forums.
Config files were created by Ken Roy, who also updated them for TNG V8, V9, v10.1, v11, and v12
- A working TNG installation. The automated installation release was initially tested at TNG Version 7.1.0. Manual installation previously anchored in the Admin Header Mod on TNG 6 and 7.
- A backup of the TNG files
- A TNG database that contains Living flags (do not attempt to use if you do not have any Living flags set in your database)
|V184.108.40.206||1 May 2019|| updated for TNG V12 to fix PHP 7.2 warnings and to use the new cust_text.php anchor string|
Our thanks to Rick Hooley for reporting the problems with the v220.127.116.11 version of the mod that was removed and for beta testing this new version
|V18.104.22.168||15 March 2016||updated for TNG V11 Admin Menu changes|
|V10.1.0.1||8 January 2015||updated for TNG V10.1 Mod Manager changes|
|V10.0.0.0||2 January 2014||updated for TNG V10 admin changes|
|V22.214.171.124||6 January 2013||updated to remove the include("config.php") since it was causing a blank page if a function was defined in customconfig.php.|
|V126.96.36.199||2 February 2012||updated config file name and number to TNG V9 Mod Guidelines standard. Fixed issue with Config Path due to change in begin.php and updated to use template formatting for the created output html page. Also created a separate French language .cfg file.|
|V8.1.1||3 June 2010||updated config file to use the admin_main for the Return links in TNG V8|
|V8.1.0||24 May 2010||updated config file to include the changes required to admin_backupLiving.php for TNG V8 and enhanced to support $text variables to make the mod multi-lingual.|
|V2.1||30 October 2009||updated config file so the Backup Living button is on the right side of the Admin menu and only available to System Administrators and no longer available to Registered Users with add / edit / delete authority|
|V2.0||15 May 2009||original config file for installing Backup / Restore Living Flag mod|
|V2.0||16 January 2009||Version 2.0 of the Backup / Restore Living Flag mod|
|V1.0||21 December 2007||Version 1 of the Backup / Restore|
|V0.9R1||21 April 2006||original Backup / Restore Living Flag mod|
For TNG V8 and above
|TNG version:||≥ 8.0|
- Download the appropriate zip file from the Mod Summary in the upper right hand corner
- After downloading the zip file, unzip it into your mods folder
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the living_flag_backup.cfg.
For TNG V7
- Download backupLiving.php for version 2.0.
- Put the downloaded backupLiving.php in your admin/mod_folder directory.
- Download the Media:living_flag_backup_v2.1.zip
- After downloading the zip file, unzip it into your admin/mod_folder
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the living_flag_backup_v2.1.cfg.
Note: that the automated config file is specific for version 2 of Ben Wagner's mod and that V2.0 of the Admin Header Mod no longer includes a link for the Living Flag Backup and Restore, since the Living_Flag_Backup_V2.1.cfg creates a link in the left nav area with a button in the Admin frame. Note that the Living_Flag_Backup_V2.1.cfg creates the Backup Living button in the right side of the Admin menu so it is not available to registered users with add / edit / delete authority.
Upgrade to new version
- Remove the existing living_flag_backup.cfg
- Install the new version of the mod using the Automated Install procedure
Custom Text Additions
Note that config file only includes the English language changes, so if you support multiple languages you will need to modify the config file to add the custom text for those other languages.
The following custom text will be added to your English/cust_text.php and English-UTF8/cust_text.php files by this mod. If you are using other languages, you must add these lines to each of your language cust_text.php files with appropriate translations of course.
// Backup / Restore Living Flags Mod $admtext['backupliving'] = "Backup Living"; $admtext['backuplivingitems'] = "Backup/Restore Living Flags"; $admtext['bkuprestoraction'] = "To back up or restore the living table, click on the appropriate action icon."; $admtext['livinginbackup'] = "Living in Backup File"; $admtext['livingindatabase'] = "Living in DataBase"; $admtext['livingconfirm'] = "Are you sure you wish to WRITE the current list of living to disk?"; $admtext['livingreturn'] = "Return to Main Menu"; $admtext['livingrestore'] = "Restore checked to living"; $admtext['livingbackupinfo'] = "Information in Backup File"; $admtext['livingdatabaseinfo'] = "Information in Database"; $admtext['livingchanged'] = "Changed"; $admtext['livingnochange'] = "Most Liklely No Change of Information"; $admtext['livingnochangeneeded'] = "Already Marked Living, No Need to Change"; $admtext['livingcomparing'] = "Examining and comparing backup to current database. Please double check before updating."; $admtext['livingcorrupt'] = "or file is corrupt."; $admtext['livingnotfound'] = "Not found in database";
For example, you would add to the French/cust_text.php
// Backup / Restore Living Flags Mod $admtext['backupliving'] = "Sauvegarder en vie"; $admtext['backuplivingitems'] = "Sauvegarder/restaurer les étiquettes des vivants"; $admtext['bkuprestoraction'] = "Pour sauvegarder ou restaurer les étiquettes des vivants, cliquez sur l'icône d'action appropriée."; $admtext['livinginbackup'] = "En vie dans le dossier"; $admtext['livingindatabase'] = "En vie dans la base de données"; $admtext['livingconfirm'] = "Êtes-vous sûr de vouloir écrire la liste courante des vivants au disque ?"; $admtext['livingreturn'] = "Revenez au menu principal"; $admtext['livingrestore'] = "Restaurer les étiquettes des vivants"; $admtext['livingbackupinfo'] = "L'information dans le dossier de sauvegarde"; $admtext['livingdatabaseinfo'] = "L'information dans la base de données"; $admtext['livingchanged'] = "Changé"; $admtext['livingnochange'] = "Il y a probable aucun changement d'information"; $admtext['livingnochangeneeded'] = "Déjà marquée en vie, aucun besoin de changer"; $admtext['livingcomparing'] = "Examinant et comparant le dossier de sauvegarde courant à la base de donnée . Vérifiez une deuxième fois svp avant la mise à jour."; $admtext['livingcorrupt'] = "ou le dossier est corrompu."; $admtext['livingnotfound'] = "Non trouvé dans la base de données";
Note that for TNG V8 and above, the $text variables are within single-quotes, and the English/cust_text.php changes were provided for both the languages/English/cust_text.php and languages/English-UTF8/cust_text.php files.
New Death Column on Restore
Version 2 of the Backup / Restore Living Flag Add-on script now contains a Death Column on the Restore screen that makes it easier to uncheck the box to not restore the Living flag for persons who are now deceased.
Restore Changed Detected section
Manually Checked Living Flags section
Visual of mod
The above image shows the Backup / Restore Living Flag mod installed with a left nav link and button in the TNG Admin screen that is only available to the System Administrator.
In the event of a problem with your TNG site
- Try using the Mod Manager Remove capability
- Or copy your backup admin/rightbanner.php files to your TNG admin directory
- all should be well now
Sites using this mod
If you download and install this mod, please add your TNG site to the table below
|A family history of Ben Wagner and Jo Watlington||...||Ben is the developer of the Backup / Restore Living Flag Add-ons||...||...||...|
|Our Roy and Boucher Family||Ken Roy||I use this TNG mod to maintain over 1600 manually set Living Flags.||188.8.131.52||12.1.0||EN, FR|
|Kuit's Family Pages||...||I am using this TNG add-on, as my feed program does not cater for this, and I do not have all birth-/deceased dates. I can easily check the correct settings now.||...||...|
|AppeltHaus Genealogy||Lawrence Appelt||Not a Public Site.||10.0.0.0||10.0.0||EN|
|R G Strong Family Genealogy||Russell G. Strong||Public||V184.108.40.206||V12.0.1||EN, DE, NL, FR|
|Our Family Genealogy Pages||Roger Navarre||Nice addition to my site||V220.127.116.11||V9.2.0||EN|
|Hooley Family Links||Rick Hooley||Public/Private||See Here||See Here||EN|
|The Williams Family Tree||Phil Williams||Public Site||10.0.0.0||10.0.3||English|
|Brady Family Tree in Western Australia||Darryl Brady||Public site||10.1.0.1||10.1.1||EN, DE|
|Kemp(e) Family History||Andrew Kemp||Public site||see User:Kempons||see User:Kempons||EN|
|Wortelboer Genealogy||Bernard Wortelboer||Public site||18.104.22.168||11.0.0||NL,EN|
|Roebuck and Families Ancestry Website||Donald Roebuck||Public site except for Living||22.214.171.124||11.0.2||EN|
|Zalewski Family Genealogy||Brian Zalewski||126.96.36.199||11.1.0||EN|
|Avery Genealogy||Jim Kratoville||188.8.131.52||11.0.2||EN|
|OurLife Family History - McMullen Clan||Sean Thompson||Not a public site.||184.108.40.206||11.1.0||English|
|Balbeag Family History||David Hill||Not a public site||220.127.116.11||11.0.2||EN|
|Familiegeschiedenis en Voorvaderen||Wim Jansen||Not a public site. Very practical addition||V18.104.22.168a||12.0.1||EN, DE, NL|
- To help track descendants who might be living but do not show birth information, you can also modify the descendtext.php script to show the Living flag when you are logged in as Administrator Display Living Flag mod on the TNG Community Forum
- See also Living Flag Mod
- See also Admin Header Mod (TNG V7 only)
TNG Modules Involved
In TNG V8 and above, this mod modifies the following files:
In TNG V7, this mod modifies the following files:
- admin/backupLiving.php which must be downloaded from the TNG Forum