Backup / Restore Living Flag
From TNG Wiki
| Backup / Restore Living Flag | |
|---|---|
| Summary | Provides a backup and restore of the Living flags that are set in the tng_peoples table. |
| Download link | living_flag_backup_v8.1.1.zip for TNG V8 Download backupLiving.php V2.0 AND living_flag_backup_v2.1.zip for TNG V7 |
| Author(s) | Ben Wagner Ken Roy developed config file only |
| Homepage | Backup / Restore Living Flag |
| Mod Support | TNG Forums |
| Latest Mod | 8.1.0 for TNG V8 2.0 (2.1 config file) for TNG V7 |
| Min TNG V | 7.0.0 |
| Max TNG V | 8.0.0 |
| Files modified | See TNG Modules Involved |
| Related Mods | Living Flag Mod |
| Notes | 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. |
|
Introduction
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 not multi-lingual. The French and English custom text version can be downloaded as living_flag_backup_v8.1.1_fr-en.zip
Developer
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 http://www.tngforum.us/index.php?showtopic=1087&hl=Backup+Living.
The V2.2 config file was created by Ken Roy.
Requirements
- 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.
Revision History
| Version | Date | Contents |
|---|---|---|
| V8.1.1 | 3 June 2010 | updated config file to use the admin_main for the Return linls 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 Oct 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 Jan 2009 | Version 2.0 of the Backup / Restore Living Flag mod |
| V1.0 | 21 Dec 2007 | [http://www.tngforum.us/index.php?s=&showtopic=1087&view=findpost&p=14030 Version 1 of the Backup / Restore |
| V0.9R1 | 21 Apr 2006 | original Backup / Restore Living Flag mod
Living Flag mod] |
Automated Installation
For TNG V8
- Download the living_flag_backup_v8.1.1.zip for TNG V8 or
- 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_v8.1.1.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.
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
TNG User sites using this mod
- Please add TNG site that you have found that utilize this modification
Site List
- A family history of Ben Wagner and Jo Watlington Ben is the developer of the Backup / Restore Living Flag Add-ons
- Our Acadian, French Canadian, and Maine Ancestors I use this TNG add-on, which is not affected by TNG upgrade or new releases, to maintain over 1600 manually set Living Flags. (Ken Roy) The addition of a Death Date column in the version 2 script makes it a lot easier to turn off Living Flags for persons who are now deceased. --Ken Roy 23:29, 17 January 2009 (UTC)
- 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.
Related Links
- 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 http://www.tngforum.us/index.php?s=&showtopic=1320&view=findpost&p=13864
- See also Living Flag Mod
- See also Admin Header Mod
TNG Modules Involved
In TNG V8, this mod modifies the following files:
- admin_leftbanner.php for TNG V8
- admin_main.php
- languages/English/cust_text.php
- languages/English-UTF8/cust_text.php
and adds
- admin_backupLiving.php
In TNG V7, this mod modifies the following files:
- admin/leftbanner.php
- admin/main.php
and copies
- admin/backupLiving.php which must be downloaded from the TNG Forum

