Difference between revisions of "Living Color Mod"

From TNG_Wiki
Jump to navigation Jump to search
(227 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{languages}}
+
{{restricted}}
{{TNGver | ver=8.1.2 | notes = Living Color has been tested with other popular mods and no conflicts have been noted.  If you encounter a clash with other mods on your website, please provide the details and we will look into it.}}
+
{{TNGver | ver=8911 | notes = Living Color has been tested with other popular mods and no conflicts have been noted.  If you encounter a clash with other mods on your website, please provide the details and we will look into it.<br />If you are also using  the [[Wiki Integration]] mod then it must be install prior to the  [[Living Color Mod]] in TNG V8.}}
 
{{TNGmod
 
{{TNGmod
 
| mod_name = Living Color Mod
 
| mod_name = Living Color Mod
 
| mod_summary = Displays names of living persons in selected color on personal and family group sheets.
 
| mod_summary = Displays names of living persons in selected color on personal and family group sheets.
| mod_validation = n/a
+
| mod_validation = Latest mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
 +
| mod_last_update = 23 Mar 2018
 
| download_link =  
 
| download_link =  
[[Media:living_color_v812h.zip|living_color_v812h.zip]]
+
<div    style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=135&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}    version 12.0.0.17.zip]<div    style="float:right;">{{Tv120|float=left}}</div></div>
 +
<!-- https://tng.lythgoes.net/wiki/images/e/ec/Living_color_v12.0.0.17.zip -->
 +
<hr />
 +
<div    style="display:inline-block;width:95%;">for {{Tv120}}{{Tv110}}[https://bisbeefamily.com/ccount/click.php?id=119&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}    version 11.0.0.15.zip]</div>
 +
<!-- http://tng.lythgoes.net/wiki/images/c/c1/Living_color_v11.0.0.15.zip -->
 +
<hr />
 +
<div    style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=99&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}    version 10.1.1.14.zip]<div    style="float:right;">{{Tver|ver=900-1000|bgcolor=#BDEEFF|color=#000000|float=left}}</div></div>
 +
<!-- http://tng.lythgoes.net/wiki/images/3/36/Living_color_v10.1.1.14.zip -->
 +
 
 +
| download_stats = [https://bisbeefamily.com/ccount/index.php?action=stats&id=20-21-28-38-64-72-84-87-99-119-134-135 view statistics]
 +
 
 
| mod_author = [[User:Kazooter|Rick Bisbee]]
 
| mod_author = [[User:Kazooter|Rick Bisbee]]
| mod_url = [http://www.bisbeefamily.com/ Bisbee Family Connection]
+
| mod_url = [https://bisbeefamily.com/ Bisbee Family Connection]
| mod_support = [http://www.tngforum.us/index.php?showtopic=7010 TNG Forums]
+
| mod_support = [https://bisbeefamily.com/support.php?mod={{PAGENAMEE}} Support for {{PAGENAMEE}}]
| mod_version = 8.1.2b
+
| mod_contact = As above
| mod_contact =  
+
| mod_version = 12.0.0.17
[http://www.bisbeefamily.com/mod_support.php Support for Living Color Mod]
 
 
| use_mod_manager = Yes
 
| use_mod_manager = Yes
 
| manual_install = No
 
| manual_install = No
| min_TNG_ver = 8.1.2
+
| min_TNG_ver = 9.0.0
| max_TNG_ver = 8.1.2
+
| max_TNG_ver = 12.0.0
| TNG_file_list = globallib.php, genlib.php, getperson.php, familygroup.php, search.php, admin_people.php, admin_families.php, showreport.php
+
| TNG_file_list =
| related_mods = None
+
| related_mods =
| notes = Very easy to configure and use.
+
| notes = Very easy to configure and use.<br />If you are also using the [[Wiki  Integration]] mod then it must be install prior to the Living Color Mod  in TNG V8.
 
}}
 
}}
{| style="margin-right:0.5 em;" align="right"  
+
{| style="margin-right:0.5 em;" align="left"  
 
| __TOC__
 
| __TOC__
 
|}
 
|}
 +
<br clear=left>
 
== Introduction ==
 
== Introduction ==
When you are logged in as Admin it is impossible to tell at a glance if a person is flagged as living without going into the Edit tab. It is important because all those not flagged as living may have vital information shown to unregistered visitors.  This mod affects all TNG pages by setting the names of everyone flagged as living to a color of your choice.  The default is dark red, but you  can change the color in the Mod Manager editor via the TNG Admin page.  You can also determine who will be allowed to see living persons in the chosen  color. By default it is Admin only, but you can set it to be visible to any logged in user who is permitted to see living persons. Note that this modification has only been tested in TNG v8.1.2.
+
When   you are logged in as Admin it is impossible to tell at a glance if a   person is flagged as '''living''' or '''private''' without going into   the Edit tab. It is important because all those who should be flagged  but are not, may have vital information revealed to unauthorized  visitors.  This mod affects TNG pages by setting the names of everyone   flagged as living or private to the colors of your choice.  You can also   determine who will be allowed to see highlighting for living or  private  persons. By default it is Admin only, but you can set it to be visible to any logged in user to whom you have given permissions.
 +
 
 +
CAUTION:  TNG families also have a 'living' flag which serves to limit  information shown to the public about marriages. Living Color on family  group sheets or in family search lists only reflects the status of a  person's 'living' flag and says nothing about the state of  family/marriage 'living' flags.
 +
 
 +
== Compatibility ==
 +
 
 +
 
 +
{| class="wikitable"
 +
|+ Mod Tested With Following TNG Versions
 +
! Ver !! 900 !! 910 !! 922 !! 1000 all !! 1100 all !! 1102+ !! 1200+
 +
 
 +
|-
 +
| 10.1.1.14
 +
| style="background-color:green;" |
 +
| style="background-color:green;" |
 +
| style="background-color:green;" |
 +
| style="background-color:green;" |
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 +
|-
 +
| 11.0.0.15
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 +
| style="background-color:green;" |
 +
| style="background-color:green;" |
 +
| style="background-color:green;" |
 +
|-
 +
| 12.0.0.17
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 +
| style="background-color:red;" |
 +
| colspan="2" style="text-align:center;font-size:x-small;color:yellow;background-color:green;" | php 5.6/7.2
 +
|}
 +
 
 +
<nowiki>*</nowiki><small>green: compatible&nbsp;&nbsp;&nbsp;red: not compatible&nbsp;&nbsp;&nbsp;white: not tested</small>
  
CAUTION: TNG families also have a 'living' flag which serves to limit information shown to the public about marriages.  Living Color on family group sheets or in family search lists only reflects the status of a person's 'living' flag and says nothing about the state of family/marriage 'living' flags.
+
See [[Multisite Testbed]] for information on how this mod is tested and managed.
  
== Modifications to Distributed Files ==
+
== Conflicts With Other Mods ==
We've been getting requests to extend Living Color to more and more pages.  After looking at it, I've decided to re-engineer the mod to add Living Color to virtually all TNG pages. In the course of doing that, we have reduced the number files modified and lowered the likelihood of conflicts with other mods. We now set up some global variables in <strong>globallib.php</strong> to determine if user has living color privileges, then modify a function that constructs all TNG names to style them if privileged/living.  We modify a function in <strong>genlib.php</strong> to strip styling from names used in page titles, and we modify <strong>admin_people.php</strong> and <strong>admin_families.php</strong> to add the 'living' flag to database record fetches.
+
{{TNG 10.0|and before}}{{TNG 9.0.4|and after}}
 +
If using [[Relationship Display Mod]], then you must install it before installing Living Color.
  
It would be prudent back up the affected TNG script files before installing any mod.
+
At  the moment there are no known conflicts with other TNG mods.  It should  be noted however, that if you are using the [[Wiki  Integration|Wiki&nbsp;Integration&nbsp;mod]], you must install  it before installing Living Color.
  
 
== Revision History ==
 
== Revision History ==
I apologize for this flurry of initial file updates.  When I made Living Color universal, it introduced a few subtle bugs that took a few days to find. There may be more but we'll continue to update as we become aware of them.  Thanks for all your patience and support.
 
 
 
{| border="1" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
 
{| border="1" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
 
|-
 
|-
Line 42: Line 91:
 
! Date
 
! Date
 
! Contents
 
! Contents
 +
 +
|- valign="top"
 +
| v12.0.0.17
 +
| 23&nbsp;Mar&nbsp;2018
 +
|
 +
* Updates mod to show show living status in family charts
 +
 +
|- valign="top"
 +
| v11.0.0.15
 +
| 20&nbsp;Mar&nbsp;2016
 +
|
 +
* Updates mod to work with TNGv11
 +
 +
|- valign="top"
 +
| v10.1.1.14
 +
| 25&nbsp;Jul&nbsp;2015
 +
|
 +
* Consolidates previous versions of the mod and is compatible with TNG all the way back to v9.0.0
 +
|- valign="top"
 +
| v10.1.1.13
 +
| 5&nbsp;Apr&nbsp;2015
 +
|
 +
* Update for TNG v10.1.1
 +
|- valign="top"
 +
| v10.1.0.12
 +
| 9&nbsp;Mar&nbsp;2015
 +
|
 +
* Adds color to Descendants '''Text''' and '''Register''' views
 +
|- valign="top"
 +
| v10.1.0.11
 +
| 8&nbsp;Jan&nbsp;2015
 +
|
 +
* Updated for TNGv10.1.0
 +
|- valign="top"
 +
| v10.0.2.10
 +
| 28&nbsp;Apr&nbsp;2014
 +
|
 +
* Corrected internal version number
 +
|- valign="top"
 +
| v10.0.2.10
 +
| 27&nbsp;Apr&nbsp;2014
 +
|
 +
* Upgrade for TNGv10.0.2. Not compatible with previous versions of TNG
 +
|- valign="top"
 +
| v9.2.0.9
 +
| 26&nbsp;Feb&nbsp;2012
 +
|
 +
* Upgrade for TNGv920 beta 1. Not compatible with previous versions of TNG
 +
|- valign="top"
 +
| v9.0.0.8
 +
| 7&nbsp;Oct&nbsp;2012
 +
|
 +
* Adds living color to media listings (browsemedia.php).
 +
* Fix display of private individuals in anniversaries display
 +
 +
|- valign="top"
 +
| v9.0.0.7
 +
| 12&nbsp;Aug&nbsp;2012
 +
| Adds living color to the anniversaries display.
 +
|- valign="top"
 +
| v9.0.0.6
 +
| 26&nbsp;Apr&nbsp;2012
 +
|  <span style="color:#990000;">New Feature!</span> In  addition to highlighting names of persons whose ''''living'''' flag is  set, this version adds capability to highlight names whose  ''''private'''' flag is set. The admin can turn off highlighting for  living or private flags, choose separate highlight colors, and display  highlighted names on TNG pages for admins only or for both admins and  registered users. See new [[#Mod Manager Editor|Mod Manager Editor]]  options.
 +
|- valign="top"
 +
| v9.0.0.5
 +
| 14&nbsp;Apr&nbsp;2012
 +
| Fixes Errors in Admin >> People when searching for those with no children or no parents.
 +
|- valign="top"
 +
| v9.0.0.4
 +
| 25&nbsp;Feb&nbsp;2012
 +
| Removes unwanted styling from CSV output in '''showreport.php'''
 +
|- valign="top"
 +
| v9.0.0.3
 +
| 21&nbsp;Feb&nbsp;2012
 +
| Adds living color to timelines
 +
|- valign="top"
 +
| v9.0.0.2
 +
| 16&nbsp;Feb&nbsp;2012
 +
| Prevent fatal errors if upgrade is installed on top of mod
 +
|- valign="top"
 +
| v9.0.0.1
 +
| 15&nbsp;Feb&nbsp;2012
 +
| Minor technical fix
 +
|- valign="top"
 +
| v9.0.0.0
 +
| 8&nbsp;Feb&nbsp;2012
 +
| Updated for TNG V9.  No known conflicts or install dependencies.
 +
|- valign="top"
 +
| v8.1.2j
 +
| 18&nbsp;Aug&nbsp;2011
 +
| Deconflicted with Research Link Mod; add descendant charts (again).
 +
|- valign="top"
 +
| v8.1.2i
 +
| 15&nbsp;Aug&nbsp;2011
 +
| Deconflicted with Submit Photo/Document Mod.
 +
|- valign="top"
 +
| v8.1.2h
 +
| 15&nbsp;Aug&nbsp;2011
 +
| Deconflicted with Relationship Display Mod.
 
|- valign="top"
 
|- valign="top"
 
| v8.1.2g
 
| v8.1.2g
Line 53: Line 201:
 
| v8.1.2e
 
| v8.1.2e
 
| 11&nbsp;Aug&nbsp;2011
 
| 11&nbsp;Aug&nbsp;2011
| Fixes a bug on family edit page, where if you added a parent by personID it showed the styling tags as part of the name.  Also fixed the alt text for small photos in family group sheets to remove styling tags.
+
|   Fixes a bug on family edit page, where if you added a parent by   personID it showed the styling tags as part of the name.  Also fixed the   alt text for small photos in family group sheets to remove styling   tags.
 
|-
 
|-
 
| v8.1.2d
 
| v8.1.2d
Line 74: Line 222:
 
== Visualizations ==
 
== Visualizations ==
 
=== User's Page View ===
 
=== User's Page View ===
This is how part of a page might appear with <strong>Admin</strong> or <strong>View living persons</strong> privilege.  Bear in mind, the color simply shows that the living flag is set.
+
This   is how part of a page might appear with '''Admin''' or '''View   living''' and '''View private persons''' privileges.  Bear in mind, the   highlight colors simply show that the living flag (red) or private flag  (blue) is set.
  
 
[[Image:lc001.jpg]]
 
[[Image:lc001.jpg]]
  
The example above is shown with the [[Child Descendant Indicator Mod]] by Chuck Filteau that replaces the greater-than symbol (>) with the more traditional plus sign (+) to indicate that a person has children.
+
The   example above is shown with the [[Child Descendant Indicator Mod]] by   Chuck Filteau that replaces the greater-than symbol (>) with the more traditional plus sign (+) to indicate that a person has children.
 +
 
 +
 
 +
Note  that if your are using the [[Event Map add children mod]] the child's  name in the Google Map Events table will also be highlighted.
  
 
=== Mod Manager ===
 
=== Mod Manager ===
Line 85: Line 236:
 
[[Image:lc003.jpg]]
 
[[Image:lc003.jpg]]
  
To change the program parameters, click on <strong>Edit</strong>.
+
To change the program parameters, click on '''Edit Options'''.
  
 
=== Mod Manager Editor ===
 
=== Mod Manager Editor ===
The Mod Manager editor presents two program parameters for editing.  The first sets the color of the text for a living person's name. The color can be expressed as a hex color code (e.g., #008080) or as a color constant (e.g., blue).  In either case, do not surround the parameter with quotes.  The second parameter sets access, either for just the Admin (default), or else for all users who have been granted <strong>View living persons</strong> privilege. After changing one or both values, click on <strong>Confirm Edit</strong> to save your preferences.  Clicking on <strong>Read Existing Values from TNG files</strong> followed by <strong>Confirm Edit</strong> resets both values to their defaults as shown in parentheses.
+
The   Mod Manager editor presents four program parameters for editing.  The   first two set the highlight color and viewing privileges for Private  persons, while the next two do the same for Living persons. Highlight  colors can be expressed as a hex color code (e.g., #000080) or as a   color constant (e.g., blue).  In either case, do not surround the   parameter with quotes.  If you don't care why data is being restricted,   you can set both living and private highlight colors to the same value.   After setting parameter values, click on '''Confirm Edit''' to save   your preferences.  If you click on '''Restore default parameter  values''', the defaults in parentheses will be restored.
  
 
[[Image:lc002.jpg]]
 
[[Image:lc002.jpg]]
  
 
== Requirements ==
 
== Requirements ==
* A working TNG v8.1.2 installation
+
* A working installation of TNG.
* A copy of living_color_v812.cfg
+
* A copy of living_color with suitable version for your TNG installation.  See  download area at top of page for selecting the right version for your  website.
  
 
== Automated Install ==
 
== Automated Install ==
# Remove previously installed version.
+
# Remove and delete previously installed version of living_color.
# Download the zipped config package: [[Media:living_color_v812h.zip|living_color_v812h.zip]]
+
# Download the appropriate living_color zip file from the Mod Summary at the top of the page.
# Unzip the config file and place it in the /mod folder.
+
# Unzip the file and place it in your /mods folder.
 
# Click on Mod Manager in the Admin panel and install it.
 
# Click on Mod Manager in the Admin panel and install it.
# In the Mod Manager listing for this mod, click on Edit and change the color and access parameters as desired.
+
# In the Mod Manager listing for this mod, click on '''Edit''' and change the color and access parameters as desired.
  
 
== Manual Installation ==
 
== Manual Installation ==
Line 107: Line 258:
  
 
== Side Affects ==
 
== Side Affects ==
The names shown in 'living color' are also links, but they will no longer change their color when you hover over them as do your normal links.
+
The   names shown in 'living color' are also links, but they will no longer   change their color when you hover over them as do your normal links.
  
 
== Acknowledgements and Disclaimer ==
 
== Acknowledgements and Disclaimer ==
Line 113: Line 264:
 
kudos to Bryan Larson and Rob van Rij for suggesting useful extensions.
 
kudos to Bryan Larson and Rob van Rij for suggesting useful extensions.
  
As always, use this script at your own risk.  The author will not be responsible for any damage to your website resulting from its use.
+
Thanks and appreciation to Martin Pannier for his addition of highlighting for Private flags.
 +
 
 +
As   always, use this script at your own risk.  The author will not be   responsible for any damage to your website resulting from its use.
 +
 
 +
== See also ==
 +
 
 +
*  [[Deceased Indication]] - adds a headstone indicator viewable by all  visitors to the page to indicate whether an individual is deceased
 +
 
 +
== Sites using this mod ==
 +
If you download and install this mod, please add your TNG site to the table below:
  
 +
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 +
|-
 +
! URL
 +
! User
 +
! Note
 +
! Mod-Version
 +
! TNG-Version
 +
! User-language
 +
|-
 +
| [http://www.bisbeefamily.com/ Bisbee Family Connection]
 +
| [[User:Kazooter|Rick Bisbee]]
 +
| Mod Developer
 +
| V9.0.0.9
 +
| TNG V9.2.2
 +
| EN
 +
|-
 +
| [https://www.royandboucher.com/ Our Roy and Boucher Family]
 +
| [[User:Ken Roy|Ken Roy]]
 +
| I also use this mod on a test system with the [[Wiki Integration]] mod
 +
| V11.0.0.0
 +
| 11.0.0
 +
| EN, FR
 +
|-
 +
| [http://www.ourfamilyhistories.org/ Our Family Histories]
 +
| [[User:bsl20b50|Bryan S. Larson]]
 +
| I use this mod with admin only enabled.
 +
| V11.0.0.15
 +
| TNG V11.1
 +
| EN
 +
|-
 +
| [http://www.appelthaus.com/ AppeltHaus Genealogy]
 +
| [[User:InvernessHighlander|Lawrence Appelt]]
 +
| Not a Public Site.
 +
| 10.0.2.10
 +
| 10.0.2
 +
| EN
 +
|-
 +
| [http://Kielakowie.pl Kielakowie.pl]
 +
| [[User:Janusz Kielak|Janusz Kielak]]
 +
| I also use this mod on a test system with the [[Wiki Integration]] mod
 +
| V9.0.0.5
 +
| TNG V9.0.2
 +
| PL,EN,DE,ES,RUS
 +
|-
 +
| [http://www.teige.de My family]
 +
| [[File:Oname.gif|link=User:ojay]]
 +
| (no public site)
 +
|
 +
| see [[User:ojay|here]]
 +
| D,(NL),(GB)
 +
|-
 +
| [http://www.kempfamilyhistory.com  Kemp(e) Family History]
 +
| [[User:Kempons|Andrew Kemp]]
 +
|
 +
|
 +
| see [[User:Kempons]]
 +
| EN
 +
|-
 +
| [http://http://www.walls-wrightsman.org/ Walls Wrightsman Family]
 +
| [[User:Carl B Zachary|Carl B Zachary]]
 +
|
 +
| V9.2.0.9
 +
| TNG 9.2.0
 +
| English
 +
|-
 +
| [http://www.zausmerforest.com/index.php Zausmers and More-smers]
 +
| Joyaa Antares
 +
| Not a public site.  I really like this Mod
 +
| V11.0.0.15
 +
| TNG 11.1.2
 +
| EN
 +
|-
 +
| [http://www.sorenson-robey.org/ Sorenson Robey Family History]
 +
| [[User:Twintwo|Darlene Bittaker]]
 +
| Admin only enabled
 +
| V9.2.0.9
 +
| TNG 9.1.1
 +
| EN
 +
|-
 +
| [http://genealogy.oceanwharf.com Hooley Family Links]
 +
| [[User:lastejas|Rick Hooley]]
 +
| Public/Private
 +
| [[User: lastejas|See Here]]
 +
| [[User: lastejas|See Here]]
 +
| EN
 +
|-
 +
| [http://www.wortelboer.tk Wortelboer Genealogy]
 +
| [[User:Bernard57|Bernard Wortelboer]]
 +
| Public site
 +
| V10.1.0.15
 +
| 11.0.0
 +
| NL, EN
 +
|-
 +
| [https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia]
 +
| [[User:bradyfamilytree|Darryl Brady]]
 +
| Public site
 +
| 10.1.0.13
 +
| 10.1.1
 +
| EN, DE
 +
|-
 +
| [http://www.kleinmanngenealogy.com Kleinmann Genealogy]
 +
| [[User:laxref93|John Kleinmann]]
 +
 +
| 12.0.0.17
 +
| 12.0.2
 +
| EN
 +
|-
 +
| [https://www.rgstrong-genes.com R G Strong Family Genealogy]
 +
| [[User:Rgstrong|Russell Strong]]
 +
| Public Site
 +
| 12.0.0.17
 +
| 12.0.1
 +
| EN, FR, DE, NL
 +
|-
 +
| [https://www.kmtrees.com/index.php Roots & Relatives Remembered]
 +
| [[User:tngrlkrz| Ron Krzmarzick]]
 +
| Public & Private
 +
| [https://www.kmtrees.com/rrmodcompare_report.php?power=basic&cachemethod=3&sb=filename&aformat=full&statushilite=1&b1=0 See Here]
 +
| [https://www.kmtrees.com/rrmodcompare_report.php?power=basic&cachemethod=3&sb=filename&aformat=full&statushilite=1&b1=0 See Here]
 +
| EN,DE,CS,ES
 +
|-
 +
| [http://www.luithlenfamilie.de Luithlenfamilie]
 +
| [[User:pingo|Ingo Wagner]]
 +
| Not a Public site
 +
| 11.0.0.15
 +
| 11.1.2
 +
| DE, EN, NO, FR
 +
|-
 +
| [https://www.brabantse-genealogie.nl Brabantse Genealogie]
 +
| [[User:Rob van Rij|Rob van Rij]]
 +
| Public Site
 +
| 11.0.0.15
 +
| 12.2
 +
| EN,NL
 +
|-
 +
| [https://vanseeventer.nl Familie van Seeventer]
 +
| [[User:see7ter|Sandor van Seeventer]]
 +
| Public site
 +
| 12.0.0.17
 +
| 12.0.1 beta 2
 +
| DE/EN/NL
 +
|-
 +
| [http://bumbery.com/ Bumbery-Wangler]
 +
| [[User:Bob|Bob Bumbery]]
 +
| Public site
 +
| 11.0.0.15
 +
| 11.1.2
 +
| English
 +
|-
 +
| [[User:JPB|Current info on my user site]]
 +
| [[User:JPB|JPB]]
 +
| Public site
 +
| ...
 +
| ...
 +
| DE, EN, FR
 +
|-
 +
| [https://www.gambrillfamilytree.com/ Gambrill Family Tree]
 +
| [[User:Bobbyfamilytree|Bobby Gambrill]]
 +
| Public site
 +
| 12.0.0.17
 +
| 12.0.3
 +
| English
 +
|-
 +
| [https://scabell.info Familienforschung SCABELL]
 +
| [[User:Helgaskally|Helga Scabell]]
 +
| Public/Private
 +
| 10.1.0.2
 +
| 12.1
 +
| DE, EN, PT
 +
|-
 +
|}
 +
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v10]]
 +
[[Category:Mods for TNG v9]]
 
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v8]]
 +
[[Category:globallib.php mods]]
 +
[[Category:genlib.php mods]]
 +
[[Category:getperson.php mods]]
 +
[[Category:familygroup.php mods]]
 +
[[Category:search.php mods]]
 +
[[Category:famsearch.php mods]]
 +
[[Category:admin_people.php mods]]
 +
[[Category:admin_families.php mods]]
 +
[[Category:showreport.php mods]]
 +
[[Category:whatsnew.php mods]]
 +
[[Category:descend.php mods]]
 +
[[Category:timeline2.php mods]]
 +
[[Category:anniversaries.php mods]]
 +
[[Category:browsemedia.php mods]]

Revision as of 16:31, 23 December 2019

Restricted Downloads of Living Color Mod 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 Living Color has been tested with other popular mods and no conflicts have been noted. If you encounter a clash with other mods on your website, please provide the details and we will look into it.
If you are also using the Wiki Integration mod then it must be install prior to the Living Color Mod in TNG V8.
TNG All


Living Color Mod
Summary Displays names of living persons in selected color on personal and family group sheets.
Validation Latest mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 23 Mar 2018
Download link
for
TNG 12.0
TNG 11.0
version 11.0.0.15.zip

version 10.1.1.14.zip
TNG 900-1000
Download stats view statistics
Author(s) Rick Bisbee
Homepage Bisbee Family Connection
Mod Support Support for Living_Color_Mod
Contact Developer As above
Latest Mod 12.0.0.17
Min TNG V 9.0.0
Max TNG V 12.0.0
Files modified
Related Mods
Notes
Very easy to configure and use.
If you are also using the Wiki Integration mod then it must be install prior to the Living Color Mod in TNG V8.



Introduction

When you are logged in as Admin it is impossible to tell at a glance if a person is flagged as living or private without going into the Edit tab. It is important because all those who should be flagged but are not, may have vital information revealed to unauthorized visitors. This mod affects TNG pages by setting the names of everyone flagged as living or private to the colors of your choice. You can also determine who will be allowed to see highlighting for living or private persons. By default it is Admin only, but you can set it to be visible to any logged in user to whom you have given permissions.

CAUTION: TNG families also have a 'living' flag which serves to limit information shown to the public about marriages. Living Color on family group sheets or in family search lists only reflects the status of a person's 'living' flag and says nothing about the state of family/marriage 'living' flags.

Compatibility

Mod Tested With Following TNG Versions
Ver 900 910 922 1000 all 1100 all 1102+ 1200+
10.1.1.14
11.0.0.15
12.0.0.17 php 5.6/7.2

*green: compatible   red: not compatible   white: not tested

See Multisite Testbed for information on how this mod is tested and managed.

Conflicts With Other Mods

TNG version: 10.0
TNG version: 9.0.4

If using Relationship Display Mod, then you must install it before installing Living Color.

At the moment there are no known conflicts with other TNG mods. It should be noted however, that if you are using the Wiki Integration mod, you must install it before installing Living Color.

Revision History

Version Date Contents
v12.0.0.17 23 Mar 2018
  • Updates mod to show show living status in family charts
v11.0.0.15 20 Mar 2016
  • Updates mod to work with TNGv11
v10.1.1.14 25 Jul 2015
  • Consolidates previous versions of the mod and is compatible with TNG all the way back to v9.0.0
v10.1.1.13 5 Apr 2015
  • Update for TNG v10.1.1
v10.1.0.12 9 Mar 2015
  • Adds color to Descendants Text and Register views
v10.1.0.11 8 Jan 2015
  • Updated for TNGv10.1.0
v10.0.2.10 28 Apr 2014
  • Corrected internal version number
v10.0.2.10 27 Apr 2014
  • Upgrade for TNGv10.0.2. Not compatible with previous versions of TNG
v9.2.0.9 26 Feb 2012
  • Upgrade for TNGv920 beta 1. Not compatible with previous versions of TNG
v9.0.0.8 7 Oct 2012
  • Adds living color to media listings (browsemedia.php).
  • Fix display of private individuals in anniversaries display
v9.0.0.7 12 Aug 2012 Adds living color to the anniversaries display.
v9.0.0.6 26 Apr 2012 New Feature! In addition to highlighting names of persons whose 'living' flag is set, this version adds capability to highlight names whose 'private' flag is set. The admin can turn off highlighting for living or private flags, choose separate highlight colors, and display highlighted names on TNG pages for admins only or for both admins and registered users. See new Mod Manager Editor options.
v9.0.0.5 14 Apr 2012 Fixes Errors in Admin >> People when searching for those with no children or no parents.
v9.0.0.4 25 Feb 2012 Removes unwanted styling from CSV output in showreport.php
v9.0.0.3 21 Feb 2012 Adds living color to timelines
v9.0.0.2 16 Feb 2012 Prevent fatal errors if upgrade is installed on top of mod
v9.0.0.1 15 Feb 2012 Minor technical fix
v9.0.0.0 8 Feb 2012 Updated for TNG V9. No known conflicts or install dependencies.
v8.1.2j 18 Aug 2011 Deconflicted with Research Link Mod; add descendant charts (again).
v8.1.2i 15 Aug 2011 Deconflicted with Submit Photo/Document Mod.
v8.1.2h 15 Aug 2011 Deconflicted with Relationship Display Mod.
v8.1.2g 15 Aug 2011 Deconflicted with Deceased Icon mod; included What's New page.
v8.1.2f 13 Aug 2011 Fixed a few bugs, reduced it's impact on TNG scripts, and made it a bit more bullet-proof.
v8.1.2e 11 Aug 2011 Fixes a bug on family edit page, where if you added a parent by personID it showed the styling tags as part of the name. Also fixed the alt text for small photos in family group sheets to remove styling tags.
v8.1.2d 10 Aug 2011 Adds living color to virtually all pages and lists
v8.1.2c 9 Aug 2011 Adds living color to individual and family search lists
v8.1.2b 2 Aug 2011 Adds living color to descendant charts
v8.1.2a 29 Jul 2011 Initial release of Living Color Mod

Visualizations

User's Page View

This is how part of a page might appear with Admin or View living and View private persons privileges. Bear in mind, the highlight colors simply show that the living flag (red) or private flag (blue) is set.

Lc001.jpg

The example above is shown with the Child Descendant Indicator Mod by Chuck Filteau that replaces the greater-than symbol (>) with the more traditional plus sign (+) to indicate that a person has children.


Note that if your are using the Event Map add children mod the child's name in the Google Map Events table will also be highlighted.

Mod Manager

After the Living Color Mod is successfully installed, one of the items listed in the Mod Manager will look something like this.

Lc003.jpg

To change the program parameters, click on Edit Options.

Mod Manager Editor

The Mod Manager editor presents four program parameters for editing. The first two set the highlight color and viewing privileges for Private persons, while the next two do the same for Living persons. Highlight colors can be expressed as a hex color code (e.g., #000080) or as a color constant (e.g., blue). In either case, do not surround the parameter with quotes. If you don't care why data is being restricted, you can set both living and private highlight colors to the same value. After setting parameter values, click on Confirm Edit to save your preferences. If you click on Restore default parameter values, the defaults in parentheses will be restored.

Lc002.jpg

Requirements

  • A working installation of TNG.
  • A copy of living_color with suitable version for your TNG installation. See download area at top of page for selecting the right version for your website.

Automated Install

  1. Remove and delete previously installed version of living_color.
  2. Download the appropriate living_color zip file from the Mod Summary at the top of the page.
  3. Unzip the file and place it in your /mods folder.
  4. Click on Mod Manager in the Admin panel and install it.
  5. In the Mod Manager listing for this mod, click on Edit and change the color and access parameters as desired.

Manual Installation

Manual installation is not supported.

Side Affects

The names shown in 'living color' are also links, but they will no longer change their color when you hover over them as do your normal links.

Acknowledgements and Disclaimer

Thanks to Ken Roy for his assistance and always helpful suggestions. Also kudos to Bryan Larson and Rob van Rij for suggesting useful extensions.

Thanks and appreciation to Martin Pannier for his addition of highlighting for Private flags.

As always, use this script at your own risk. The author will not be responsible for any damage to your website resulting from its use.

See also

  • Deceased Indication - adds a headstone indicator viewable by all visitors to the page to indicate whether an individual is deceased

Sites using this mod

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

URL User Note Mod-Version TNG-Version User-language
Bisbee Family Connection Rick Bisbee Mod Developer V9.0.0.9 TNG V9.2.2 EN
Our Roy and Boucher Family Ken Roy I also use this mod on a test system with the Wiki Integration mod V11.0.0.0 11.0.0 EN, FR
Our Family Histories Bryan S. Larson I use this mod with admin only enabled. V11.0.0.15 TNG V11.1 EN
AppeltHaus Genealogy Lawrence Appelt Not a Public Site. 10.0.2.10 10.0.2 EN
Kielakowie.pl Janusz Kielak I also use this mod on a test system with the Wiki Integration mod V9.0.0.5 TNG V9.0.2 PL,EN,DE,ES,RUS
My family Oname.gif (no public site) see here D,(NL),(GB)
Kemp(e) Family History Andrew Kemp see User:Kempons EN
Walls Wrightsman Family Carl B Zachary V9.2.0.9 TNG 9.2.0 English
Zausmers and More-smers Joyaa Antares Not a public site. I really like this Mod V11.0.0.15 TNG 11.1.2 EN
Sorenson Robey Family History Darlene Bittaker Admin only enabled V9.2.0.9 TNG 9.1.1 EN
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Wortelboer Genealogy Bernard Wortelboer Public site V10.1.0.15 11.0.0 NL, EN
Brady Family Tree in Western Australia Darryl Brady Public site 10.1.0.13 10.1.1 EN, DE
Kleinmann Genealogy John Kleinmann 12.0.0.17 12.0.2 EN
R G Strong Family Genealogy Russell Strong Public Site 12.0.0.17 12.0.1 EN, FR, DE, NL
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS,ES
Luithlenfamilie Ingo Wagner Not a Public site 11.0.0.15 11.1.2 DE, EN, NO, FR
Brabantse Genealogie Rob van Rij Public Site 11.0.0.15 12.2 EN,NL
Familie van Seeventer Sandor van Seeventer Public site 12.0.0.17 12.0.1 beta 2 DE/EN/NL
Bumbery-Wangler Bob Bumbery Public site 11.0.0.15 11.1.2 English
Current info on my user site JPB Public site ... ... DE, EN, FR
Gambrill Family Tree Bobby Gambrill Public site 12.0.0.17 12.0.3 English
Familienforschung SCABELL Helga Scabell Public/Private 10.1.0.2 12.1 DE, EN, PT