|Family History Site Notes
TNG 13.0.3 Setup and Modifications
I use TNG as a web display program.
User login is only
for those allowed to view the living, and is usually restricted to a
Changes or editing, etc. are not allowed.
- gts000 - Changes for Expression Web 4. Some exotic strings
confuse the PHP code display.
- gts007 - Configure Between-And in date format to show
as "1998 - 1999".
- gts011 - ID import to trimsize 5 for Family Tree Maker 2019.
- gts012 - Remove forgot/remember/reset option from login.
- gts014 - Security and request validation front-end and associated
TNG modifications to make it
work. Mis-formatted requests get a direct 400 Bad Request
response. Log for request details including trapped PHP errors.
- gts015 - Remove remaining vestiges of global variables.
Leave request variable copying. [Need further study of processvars.php.]
- gts021 - Disable genlog.txt. All needs now met by gts014
- gts022 - Add help line to Family Tree display.
- gts023 - Revise unsafe direct use of HTTP_REFERER in logout. Verify
- gts024 - Block unused menu items: bookmarks, allmedia,
whatsnew, mostwanted, reports, trees, branches, notes, ...
- gts025 - Change all instances of die() to dieX() so that
TNG can give HTTP error 404 Not found and log the error, file,
and line. Such errors never occur in normal TNG processing and
always come from artificial, external TNG requests.
- gts025a - Search and famsearch gives a
friendly error message using their msg parameter, instead of
die(). leaves all form data so user can repair and re-submit.
- gts026 - All "pagedoesnotexist" responses give a direct
410 Gone response instead of a 302 Redirect to thispagedoesnotexist.html. Such requests are for deleted items
and never TNG itself. Such user typed ID entries already get friendly error messages. Site
can configure a "Not Exist" page as a PHP file or use the system
or .htaccess configured error page.
- gts031 - For known robots, don't call TNG for no index/no
follow pages. Reply 200 with a short "thanks for indexing" page.
There is no need to stress TNG for pages that do not add to
- gts032 - Always display the thumbnail but give
no full size image if living, linked to living, private, etc.
Alt/title of image set to getName() so blocking or abbreviation
options are followed for the pop-up name. I use this mostly for
the individual's default image.
- gts033 - Change gts14 to notice PHP error-log file and
send alert email (up to 5 times).
- gts034 - Fix font directory path for gts014? Still has PHP
errors. More work needed. PDF disabled - users can print to PDF.
- gts035 - Remove Edit Profile from logged-in name in header line.
Not allowed on these sites.
- gts036 - Fix PHP undefined errors so can use strict error
checking. Too many! Had to allow undefined errors.