Difference between revisions of "Living Flag Backup / Restore"
(→Sites using this mod)
|Line 310:||Line 310:|
| see [[User:Kempons]]
| see [[User:Kempons]]
Revision as of 15:52, 15 April 2016
|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.|
French Language Files
French Language Files
Download backupLiving.php V2.0
|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||184.108.40.206 for TNG V11 and up|
10.1.0.1 for TNG V10.1 and up
10.0.0.0 for TNG V10 and up
220.127.116.11 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||11+|
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 and V9.
- 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
- An installed current version of the Mod Manager.
|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||11.0.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||V11.0.0||EN, DE, NL, FR|
|Brad and Kathy's Genealogy||Brad Mohr||V220.127.116.11||V9.1.2||EN|
|Our Family Genealogy Pages||Roger Navarre||Nice addition to my site||V18.104.22.168||V9.2.0||EN|
|Hooley Family Links||Rick Hooley||Public Site||10.1.0.1||10.1.1||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||22.214.171.124||11.0.0||NL,EN|
- 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