User Footer Copyright
Downloads of User Footer Copyright 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] |
|
User Footer Copyright | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Summary | Allows users to add a user copyright to their site | |||||||||||||
Validation | Latest mods are XHTML compliant. | |||||||||||||
Mod Updated | 15 Mar 2020 | |||||||||||||
Download link | For
For GDPR user_footer_copyright_gdpr_v13.0.0.11a.zip For GDPR only
For
user_footer_copyright_gdpr_v12.1.0.9.zip For
user_footer_copyright_gdpr_v12.0.1.8a.zip For
[Show Previous Versions]
For
user_footer_copyright_v10.1.2.5a.zip For
user_footer_copyright_v10.1.1.3.zip with Mobile Media v10.1.1.4 mod user_footer_copyright_v10.1.1.4.zip For
with Mobile Media v10.1.0.4 mod user_footer_copyright_v10.1.0.4.zip For
user_footer_copyright_v10.0.0.1.zip [Hide Previous Versions] | |||||||||||||
Download stats | View V12 / V13 Download Stats Older version Download Stats | |||||||||||||
Author(s) | Ken Roy | |||||||||||||
Homepage | User Footer Copyright (This page) | |||||||||||||
Mod Support | TNG Community Forums | |||||||||||||
Contact Developer | TNG Community Forums | |||||||||||||
Latest Mod | 13.0.0.11 for TNG v13+ 12.3.0.10 for TNG V12.3+-GDPR version only 12.1.0.9 for TNG V12.1+ 12.0.1.8a and 12.0.1.8-GDPRa for TNG V12.0.1 12.0.0.6a for TNG V12 10.1.2.5a for TNG V10.1.2 10.1.1.4 for TNG V10.1.1 with Mobile Media v10.1.1.4 10.1.0.4 for TNG V10.1.0 with Mobile Media v10.1.0.4 10.1.1.3 for TNG V10.1.1 and above 10.1.0.2 for TNG V10.1 10.0.0.1 for TNG V10 and above | |||||||||||||
Min TNG V | 10.0.0 | |||||||||||||
Max TNG V | 14+ | |||||||||||||
Files modified | genlib.php tngpdf.php stdsitecredit.php | |||||||||||||
Related Mods | ||||||||||||||
Notes |
Purpose of the Mod
TNG V10 moved the contents of the footer.php to genlib.php to allow easier footer switching for Mobile Mode Display. While it is still possible to add User Site Copyright information to the template footer.php file, it is now easier to modify the code in genlib.php.
This mod adds a site specific Copyright to the TNG footers so users do not need to edit the footer.php file nor other TNG files to do so, but rather update the Custom Copyright Start in Setup >> General Settings >> Site Design section and change custom text variables as appropriate if they want different text displayed.
This mod further ensures the Site Copyright is displayed on the Print pages and PDF created pages.
V12.0.1.8-GDPR version puts the Data Protection Policy on a separate line and adds an Imprint link if enabled
Developer
Mod Developer is Ken Roy.
Requirements
- A working TNG installation.
- A backup of all affected files (see the list in the summary in the upper right corner of the page)
- An installed current version of the Mod Manager.
Revision History
Mod Version | Date | Contents |
---|---|---|
13.0.0.11a | 04 Mar 2023 | GDPR version only updated to add Hungarian-UTF8 thanks to Ingrid who posted the changes on the forum |
13.0.0.11 | 19 Apr 2021 | Updated to eliminate PHP 7 notices and PHP 8 warnings Added Polish-UTF8 thanks to Michał Jarociński who also beta tested the mod standardized the mod version |
12.3.0.10 | 15 Mar 2020 | GDPR version only updated for TNG 12.3 beta for https link to TNG site. Non GDPR version does not require code change. Same code version as the 12.3.0.10_beta2 version of the mod. Updated to remove beta from mod name |
12.3.0.10 | 25 Feb 2020 | GDPR version updated for TNG 12.3 beta for https link to TNG site. Non GDPR version does not require code change. |
12.1.0.9 | 20 Feb 2019 | Updated for TNG 12.1 beta. Code change provided by Roger Moffat |
12.0.1.8a 12.0.1.8-GDPRa |
17 Jul 2018 | Updated to correct Dutch translations in the GDPR version and add them to the other version |
12.0.1.8 12.0.1.8-GDPR |
17 Jul 2018 | Updated to handle 2 variations of the genlib.php code since Darrin added a fix to the zip files released on 26 Jun 2018 Added a GDPR version that puts the Data Protection Policy on a separate line and adds an Imprint link if enabled |
12.0.1.7a | 10 Jun 2018 | Updated to add %fileoptional parameters for TNG 12.0.1 beta (patch12_GDPR) for those users who still continue to delete language folders |
12.0.1.7 | 01 Jun 2018 | Updated for TNG 12.0.1 beta (patch12_GDPR) |
12.0.0.6a | 03 May 2018 | Added German language text variables |
12.0.0.6 | 01 May 2018 | Updated for code changes in TNG 12 to replace the new Maintained by message |
10.1.2.5a | 19 Jul 2015 | Updated for the production version of TNG 10.1.2 where The Next Generation link in stdsitecredit.php now opens in a new window. |
10.1.2.5 | 10 Jul 2015 | Updated for TNG 10.1.2. Also changed The Next Generation link to be in a new window. |
10.1.1.4 10.1.0.4 |
14 Jun 2015 | Updated to support Mobile Media mod changes in genlib.php to support the image preview jQuery script that will be in the next TNG upgrade |
10.1.1.3 | 05 Apr 2015 | Updated for TNG 10.1.1 |
10.1.0.2 | 12 Feb 2015 | Updated for TNG 10.1 |
10.0.0.1 | 4 Feb 2014 | Updated to show the Copyright symbol correctly in the PDF footer change for both ISO-8859-1 and UTF-8 |
10.0.0.0 | 21 Feb 2014 | Original version of the mod |
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
- NOTE - if your site is using the TNG-WordPress plugin, you have to go to your WordPress Admin page to the TNG settings and click the "Update TNG Variables" button AFTER you have entered your start date and Custom Footer Message.
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
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, you should
- click the Uninstall button to uninstall the mod
- click the Delete button to delete the config file from the mods folder.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
Custom Text
The following custom text is provided for the English and English-UTF8 cust_text.php files
// added for User Footer Copyright mod
$admtext['copyrightstart'] = "Custom Copyright Start Year";
$text['usercreatedby'] = "Created and maintained by ";
$text['usercopyright'] = "Copyright ©";
$text['userrights'] = "All rights reserved.";
Note that the copyright symbol is not entered as shown above in the English and English-UTF8 cust_text.php updates made by the Mod Manager cfg file because the file is ANSI and I do not want to provide both an ANSI and UTF8 version of the cfg file. HTML special codes only work when displayed by the browser, which is not the case with creating a PDF file.
If you want different text for your site footer, then the easiest thing to do is to add the text variables you want to override to your cust_text.php file after the mod is installed. Do NOT modify the mod, but either manually or with an override mod add your changes to the cust_text.php file at the bottom of the cust_text.php file just before the terminating ?> line.
Since PHP uses the last occurrence of the $text variable, you can add the custom text variables you want to change after the mod is installed. For example, you could add the following after the above either manually or as an override mod
// My overrides to the User Footer Copyright mod
$text['userrights'] = "Please contact us with your suggestions.";
French
My French translation is as follows. The file download was removed since HTML codes for accents get displayed as test strings. It is easier to update the cust_text.php file directly in the correct language folder where the files should already have the correct charset encoding. Note that I show the copyright symbol in this case since the cust_text.php will be in the correct encoding.
// added for User Footer Copyright mod
$admtext['copyrightstart'] = "Année de début des droits d'auteur";
$text['usercreatedby'] = "créé et entretenu par";
$text['usercopyright'] = "Droits d'auteur ©";
$text['userrights'] = "Tous droits réservés";
Visualization of this mod
The User Footer Copyright mod adds a Custom Copyright Start Year field for you to enter the year you originally launched your TNG web site.
It also uses the Site Name and Site Owner fields and some custom text variables
to generate a Site Copyright statement
Known Issues
The following are a couple of known issues and how to handle them.
- PDF Footer text now overlays the PDF creation date
- Question mark is displayed for copyright symbol on public site and a square box in the PDF footer
- User modified footer from a prior version of TNG
- Will not work with Templates 6, 8, and 12 in TNG v10 until TNG V10.0.1 which will provide the updated footer.php files for those templates to use the TNG Copyright from genlib.php.
See section below on how you can modify the footer.php for these 3 templates until then
Text Overlay
To correct the text overlay if your footer copyright is now too long in the PDF footer, you can change the fontSizeLarge to fontSizeSmall in tngpdf.php around lines 442 and 478 so that they are
$this->SetFont($footerConfig['font'], '', $footerConfig['fontSizeSmall']);
Question Mark Display
If your site is running as UTF-8 and you get a question mark display, then you need to change the Language in your Admin >> Setup >> General Settings >> Language from English to English-UTF8
Note that if you are running as ISO-8859-1 that you must use the English language and NOT English-UTF8 to avoid garbage characters before the copyright symbol.
If you use a modified footer.php or your own template, you need update your footer to include the code used by TNG v10, as shown in the changes needed for Template 6, 8, and 12 above.
Template 6, 8, and 12
TNG version: | 10.0 |
The footer.php files in Template 6, 8, and 12 were not updated in TNG V10 for the change made to the footer for Mobile Mode Display. If you want to use this mod with those templates, you can change the following code in the footer.php file
TNG version: | ≥ 10.0.1 |
Note that the footer.php file for these templates was fixed in TNG 10.0.1
<?php echo $text['pwrdby']; ?> <a class="footer" href="http://lythgoes.net/genealogy/software.php" target="_blank">The Next Generation of Genealogy Sitebuilding</a> ©, v. <?php echo $tng_version; ?>, <?php echo $text['writby']; ?> Darrin Lythgoe 2001-<?php echo date('Y'); ?>
to use
<?php
$flags['basicfooter'] = true;
echo tng_footer($flags);
?>
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 | |
---|---|---|---|---|---|---|
Our Roy and Boucher Family | Ken Roy | Mod Developer. I generalized my site copyright mod | 13.0.0.11 |
|
EN, FR | |
Treichel-Familie.de | Andreas Treichel | Public & Private | 13.0.0.11 |
|
DE,EN,FR,ES,PL | |
Roger's Ramblings | Roger Moffat | 12.0.1.8a | 12.0.3 | EN | ||
Royalty to Rogues | Tom Dunaway | Replaced "Copyright" lower case "c" with upper case | 10.1.2.5a | 10.1.2 | EN | |
Steve's Family Tree | Steve Overton | 10.0.0.0 | 10.0.0 | EN | ||
Chamberlain & Eidenbenz Genealogy | Graham Chamberlain | 12.0.1.7a | 12.0.1 | EN, FR, DE, SP, NL | ||
Stewart Family Genealogy | Michael Stewart | 10.0.0.1 | 10.0.0 | EN | ||
Total Family History | Scott Bennett | 10.0.0.1 | 10.0.0 | EN | ||
Genealogy Cook | Klaus Dieter Cook | 10.0.0.1 | 10.0.0 | EN,DE,SP | ||
Polys Family Genealogy | David Polys | 10.0.0.1 | 10.0.0 | EN | ||
Colleen & Jeff's Roots | Colleen Greene | Replaced copyright with Creative Commons license | 10.0.0.1 | 10.0.0 | EN | |
Farnham & Paradise Ohana | Barbara Farnham Paradise | with Modifications (Mobile & Standard sites different) | 10.0.0.1 | 10.0.1 | EN | |
Auf den Spuren meiner Ahnen | Michael Klein | Public/Private site | 13.0.0.11 |
|
EN, DE | |
Wortelboer Genealogy | Bernard Wortelboer | Public site | 10.1.2.5a | 11.0.0 | NL, EN | |
DJCM.DK | Claus Martinussen | Public site | 12.0.1.8a | 12.0.3 | DA, EN | |
MacomberKin | Rev. Clinton Macomber | Wonderful! Thanks | 10.0.0.1 | 10.0.3 | EN | |
The Duttons of New England | Darrin Dutton | Public/Private | 13.0.0.11 | 14.0.1 | EN | |
Our Family History | Tor Lund | Public site | 12.1.0.9 | 12.2 | NO, EN, DE | |
Hooley Family Links | Rick Hooley | Public/Private | See Here | See Here | EN | |
MOTYER Family Genealogy | John Mark Motyer | Public site | See here | See here | EN | |
Thurmon King's Sackett Family Database | Ted Smith | The Sackett Family Association site; open to public | 10.1.1.3 | 10.1.1 | EN | |
Campbell Genealogy Pages | Les Campbell | Public Site | 10.1.2.5a | 10.1.3 | EN | |
Kleinmann Genealogy | John Kleinmann | 13.0.0.11 | 14.0 | EN | ||
R G Strong Family Genealogy | Russell G Strong | Public Site | 13.0.0.11 |
|
EN, DE, FR, NL | |
the Runkle project | Steve Pritt | Public Site | 10.1.2.5a | 11.0.2 | EN | |
Whipple, White, Nelson & Duncan Families | Steven Whipple | 10.1.2.5a | 11.1.0 | EN,DA,DE,SP,NL,FR,IT and others | ||
The Pettit Forest | Robert Pettit | 10.1.2.5a | 11.0.2 | EN | ||
whakapapa, online | Merv Priestley | 10.1.1.3 | 10.1.1 | EN | ||
Family History and Ancestry | Jay Santos | 10.1.2.5a | 11.1.0 | EN | ||
Your Roots are Showing | Harold Craswell | Public/Private | See Here | See Here | EN | |
Famille Potié et ses alliés | Christophe Potié | 10.1.2.5a | 11.1.0 | EN, FR | ||
Harnett Sheehan Families | Kathleen Sheehan | 10.1.2.5a | 11.1.0 | EN | ||
Rintoul/Bowman Family | Andrew Rintoul | Public/Private | 12.0.0.6 | 12.0 | EN | |
Avery Genealogy | Jim Kratoville | 10.1.2.5a | 11.0.2 | EN | ||
Lewis Lineage | Todd Emerson Lewis | Not a public site | 10.1.2.5a | 11.0.2 | EN | |
From Blighty to Baghdad | Andrew Smith | 10.1.2.5a | 11.1.0 | EN | ||
OurLife Family History - McMullen Clan | Sean Thompson | Not a public site. | 10.1.2.5a | 11.1.0 | EN | |
Ancestry of the Brown Family | Misty Bearman | 10.1.2.5a | 11.1.0 | EN | ||
Family History and Ancestry | Jay Santos | Not a public site. | 10.1.2.5a | 11.1.0 | EN | |
Balbeag Family History | David Hill | Not a public site | 10.1.2.5a | 11.0.2 | EN | |
Anderson, Kitchen, Ramirez, and Reynoso Families | Denton B. Anderson | 10.1.2.5a | 11.1.0 | EN | ||
McCarty-McCoy Genealogy Pages | Kelly Booth | 10.1.2.5a | 11.0.2 | EN | ||
Drzewo Genealogiczne Rodziny Pepel | Klemens Pepel | Not a public site | 10.1.2.5a | 11.0.2 | EN | |
Familie Bitterer | Martin Bitterer | Not a public site. | 10.1.2.5a | 11.1.0 | DE | |
Nordby Family | Silje Nordby | 10.1.2.5a | 11.1.0 | NO, EN | ||
Johnson Family | Bradley J. Johnson | 10.1.2.5a | 11.1.0 | EN | ||
Drzewo Genealogiczne Rodziny Pepel | Klemens Pepel | Not a public site | 10.1.2.5a | 11.1.0 | EN | |
Racine d'Alsace | J-Louis Valory | Public/Private - Template 1 | 10.1.2.5a | 11.1.1 | FR | |
Stamboom Jongman | Roel Jongman | Public/Private site | 10.1.2.5a | 10.1.3 | NL, DE, EN | |
Genealogy of the Weir and Drain Families | Beverley Stimpson | Public Site | 10.1.2.5a | 11.1.2 | EN | |
The Cole / Tanner Family Tree | David Cole | Public/Private | see here | see here | EN, DE, FR, ES, NL | |
Die Familien Morres - Bauer - Schulz | Gero Morres | Private Site | 12.0.0.6 | 12.0.0 | DE | |
Madsen and Pedersen FamilieHistorie | Bo Ernlund | Private Site | 12.0.0.6 | 12.0.0 | DE | |
The Family of Ian Redpath and Maxine Pitt | Ian Redpath | Private Site | 12.0.0.6 | 12.0.0 | EN | |
Nordiske Aner | Mogens C. Fenger | Private Site | 12.0.0.6 | 12.0.0 | DA, EN | |
Genealogische Datenbank | JPB | Public site | see here | see here | DE, EN, FR | |
The Grahams of Helensburgh | Jim Graham | Public/Private | 12.0.0.6 | 12.0.0 | EN | |
Kemp(e) Family History | Andrew Kemp | Public site | see here | see here | EN, DE, RU | |
Our Acadian Family | Randal Suire | Public/Media Private | 12.0.1.8a | 12.0.1 | EN, FR | |
KK's Family History | Kathy Kult | Public site (except Living are Private) | 13.0.0.11a |
|
EN | |
Our Family Tree Search | Jessica Senkyr-Robinette | Private Site | 12.0.1.8a | 12.0.2 | EN | |
Familiegeschiedenis en Voorvaderen | Wim Jansen | Not a Public Site | 12.0.1.8a | 12.0.1 | EN, DE, NL | |
Schuster-Pippersteiner | Ingrid Schuster | Public Site | 13.0.0.11 | 14.0 | DE, EN, CZ, HU | |
Auf den Spuren meiner Vorfahren | UHaase | Public/Private | 10.1.3.0 | 12.2 | DE,EN | |
Chari Family | Kris Chari | Public/Private | 10.1.1.3 | 10.1.1 | EN | |
Baza danych Rodziny Jarocińskich | Michał Jarociński | Private site | 13.0.0.11 | 13.0.3, T7 | PL, EN | |
The Severijns / Timmer Familytree | Rob Severijns | Public / Private | See here | See here | NL, EN | |
Helwegs Ahnen | Andreas Helweg | Public Site | 13.0.0.11 | 13.1 | DE, EN, DE, NL | |
Sejarah Thümann | Jeffrey Thümann | Public | 13.0.0.11 | 13.0.3 | NL, EN | |
Osage County Cousins | Larry G Banks | Public/Private | 13.0.0.11 | 14.0 | EN | |
Cleary Family History Online | Mike Cleary | Private | 13.0.0.11 | 14.0.2 | EN | |
Our Immigrant Ancestors | Jim Larson | Private | 13.0.0.11 | 14.0.5 | EN, NO | |
Our Ancestors and Their Descendants | Ed McClain | Private - Replaced "Copyright" lower case "c" with upper case | 13.0.0.11 | 14.0.3 b2 | EN | |
Carr's Garage | Regis Carr | Public & XAMPP | 12.3.0.10 | 14.0.3 | EN, DE, NO | |
Von den Isert’s und den Schmidt’s | Madeleine Bähler-Bonomini | Private | 13.0.0.11 |
|
DE |