TNG Addons

I have been a TNG user since version 3, and a member of the TNG Forum (now Community) since 2003. I do not upgrade TNG with each new version unless there is a new feature that I want for this site. I upgraded from TNG 8 to 12 (February 2019) due to PHP and MYSQL version changes my web host.

Site characteristics:


Addons written by Robert Morss (TNG Community User: rdmorss).

These are all stand-alone scripts that do not modify any TNG core scripts.

Log Analytics (AKA loglook.php)

A different take on the presentation of genlog.txt allowing you to drill down by date, page, and user. Uses regular expressions to parse log lines and compile report tables. Also has ip/hostname lookup.

Browse and Search TNG Help

All TNG Help files available (in the languages folder) for browsing and searching from a single page.

tngusers2 Mailing List Index

A big downside to the mailing list archive is the lack of an index or search function.

This script provides a subject index, top subjects, and top authors from the archive of tngusers2 - the primary user-to-user mailing list for TNG.

It works by scraping the archive files from the TNG list archive website and parsing the content for display in the script.

tngusers Mailing List Index

Same treatment for the TNG author's announcement mailing list: subject index, top subjects, and top authors from the archive of tngusers.

Addons from the TNG Wiki that I use on this site.

Default Guest Login

Sites which require login will keep out web-bots, but present a hurdle for human visitors that do not want to create a login just to see the site.

In this mod, the login form is automatically filled in with a default guest login username and password. Requires editing of TNG core file loginlib.php

Selective Public Access

This site requires login for most content, but allows visitors to see specific pages as specified by this mod. Requires editing of TNG core file checklogin.php

Code snippets by Robert Morss.

Profile Snippet

Shows the user's login status and permissions.

Your Profile
Not logged in
Permissions
Submit edits for administrative review Submit Edits
View information for living individuals View Living
Download GEDCOM files GEDCOMs
Add new data Add Data
Edit existing data Edit Data
Delete existing data Delete Data
Add media files Add Media
Edit media file information Edit Media
Delete media files Delete Media

Recent Visitors Snippet

Shows the number of guests and registered users that have logfile entries within in the last X hours or days. Lists usernames of registered users. Guest total includes visitors not logged in plus any login accounts designated as guest accounts.

Last 48 Hours
2 Guests
0 Users

Recent Pages Snippet

Shows the user an alphabetical drop-down list of the last 10 pages he/she visited on the site during his/her current session. Allows user to easily revisit pages. Requires modification to TNG core file log.php

Cookies and Sessions

Both cookies and sessions are used in TNG to store data as visitors move from page to page of the website. Cookies are stored on the client computer, session variables are stored on the server. TNG also uses config variables to maintain state: these are stored in config.php and are controlled via Admin>Setup.

Contents of $_COOKIE

Array
(
)

Contents of $_SESSION

Two of the above addons (loglook and recent visitors) make use of the session array.

Array
(
    [session_language] => English
    [session_charset] => UTF-8
)

Text Variables

The following $text variables are available on this page.

accessedbyaccessed by
addressAddress
administrationAdministration
albclickseeClick to see all the items in this album
albumsAlbums
allAll
allmediaAll Media
alltreesAll Trees
ancestorsAncestors
anddiedDied
andlocation& location
anniversariesDates and Anniversaries
anonYou are currently anonymous
anonymousanonymous
associationAssociation
baptizedldsBaptized (LDS)
birthBirth
birthabbrb.
blankBlank Chart
bmarginBottom Margin
bookmarkBookmark
bookmarkedBookmark Added
bookmarksBookmarks
bornBorn
bornchrBorn/Christened
branchBranch
branchesBranches
burialabbrbur.
buriedBuried
calendarCalendar
cancelCancel
cannotexecutequeryCannot execute query
cemeteriesCemeteries
cemeteryCemetery
childChild
childrenChildren
chrabbrc.
christenedChristened
clickdisplayClick to display
clickhideClick to hide
closewindowClose Window
collapseCollapse
collapseallCollapse all
confirmedConfirmed
confldsConfirmed (LDS)
consentI give my consent for this site to store the personal information collected here. I understand that I may ask the site owner to remove this information at any time.
consentreqPlease give your consent for this site to store personal information.
cont(cont.)
contactusContact Us
contactus_longIf you have any questions or comments about the information on this site, please contact us. We look forward to hearing from you.
containscontains
cookieuseNote: This site uses cookies.
createchCreate Chart
createdonCreated on
crematedCremated
dataData
databasestatisticsStatistics
dataprotectData Protection Policy
dateDate
datesDates
deathabbrd.
descendantsDescendants
descendchartDescendancy
descriptionDescription
detailDetail
diedDied
diedburiedDied/Buried
directionsto to
disabledYour user account has been disabled. Please contact the site administrator for more information.
divorcedDivorced
dna_testDNA Test
dna_testsDNA Tests
documentsDocuments
downloadClick to download
editEdit
editeventSuggest a change for this event
editpersonEdit Person
editprofileEdit Profile
emailagainEmail again
emailsmatchYour emails do not match. Please enter the same email address in each field.
endowedldsEndowed (LDS)
enteremailPlease enter a valid e-mail address.
enteremail2Please enter your email address again.
expandExpand
expandallExpand all
extractgedcomGEDCOM
factFact
familiesFamilies
familyFamily
familychartFamily Chart
familyidFamily ID
faminfoFamily Information
fanchartFan Chart
fatherFather
featartsFeature Articles
featphotoFeatured Photo
featuresFeatures
femaleFemale
filenameFile name
findFind...
find_menuFind
findplacesFind all individuals with events at this location
firstnameFirst Name
firstnamesFirst Names
fontsFonts
forgot1Forgot your username or password?
Enter your e-mail address below to have your username sent to you.
forgot2Enter your e-mail above and your username below to have your password reset (a temporary password will be sent to you).
fridayFriday
genderGender
generationGeneration
generationsGenerations
getdirectionsClick to get directions
geventsEvent
glang&hl=en
gmapeventEvent Map
gmaplegendPin Legend
goGo
googleearthlinkLink to Google Earth
googlemaplinkLink to Google Maps
gotoSelect a page
groupsheetGroup Sheet
haplogroupHaplogroup
headerHeader
headstoneHeadstones
headstonesHeadstones
heatmapHeat Map
helpHelp
hideHide
historiesHistories
historiesdocsHistories
homepageHome
hvr1HVR1
hvr2HVR2
idID
inclsrcsInclude Sources
indinfoIndividual
individualsIndividuals
indlinkedLinked to
infoInfo
initldsInitiatory (LDS)
keep_name_privateKeep Name Private
kmlfileDownload a .kml file to show this location in Google Earth
labelsLabels
landscapeLandscape
languageLanguage
lastfirstLast Name, Given Name(s)
lastimportdateDate of Last GEDCOM Import
lastmodifiedLast Modified
lastnameLast Name
latestnewsLatest News
latitudeLatitude
latupdatesLatest Updates
legalLegal
lessdetailLess detail
letterLetter
linkLink
livingLiving
livingnoteAt least one living or private individual is linked to this note - Details withheld.
livingphotoAt least one living or private individual is linked to this item - Details withheld.
lmarginLeft Margin
loadingLoading...
loadmapLoad the map
locatedLocated
locationLocation
loginLogin
logininfoYour login information
loginnotsent2The e-mail address you provided does not match any user account currently on record. No information has been sent.
loginnotsent3The e-mail address and username you provided do not match any user account currently on record. No information has been sent.
logoutLogout
longitudeLongitude
maintbyMaintained by
maintonMaintenance Mode is ON
maleMale
marrabbrm.
marriedMarried
matchesMatches
mediaMedia
missingMissing
mngbookmarksGo to Bookmarks
mnuadminAdministration
mnuadvancedsearchAdvanced Search
mnucemeteriesCemeteries
mnufeaturesOther Features
mnufirstnameFirst Name
mnuheaderHome Page
mnuhistoriesHistories
mnulanguageChange Language
mnulastnameLast Name
mnulastnamesSurnames
mnulogonLog In
mnulogoutLog Out
mnumyancestorsPhotos & Histories for Ancestors of [Person]
mnuphotosPhotos
mnuregisterRegister for a User Account
mnureportsReports
mnuresetStart Over
mnusearchSearch
mnusearchfornamesSearch
mnushowlogAccess Log
mnusourcesSources
mnustatisticsStatistics
mnutombstonesHeadstones
mnuwhatsnewWhat's New
mondayMonday
moreMore
moredetailMore detail
morefamMore families
moreindMore individuals
morelinksMore Links
mostwantedMost Wanted
motherMother
nameName
newpassYour new temporary password
newsNews
newsearchNew Search
nicknameNickname
nofirstname[no first name]
noneNone
noresultsNo results found
nosurname[no surname]
notesNotes
notyetlocatedNot yet located
ofof
orientOrientation
othereventsOther Events
ourhistOur Family History
ourhistancOur Family History and Ancestry
ourpagesOur Family Genealogy Pages
pagePage
parentsParents
pdfgenPDF Generator
pedigreePedigree
peoplePeople
people_havepeople have linked a DNA test to
persinfoPersonal Information
person_hasperson has linked a DNA test to
personidPerson ID
pgsetupPage Setup
pgsizePage Size
photosPhotos
photoshistoriesPhotos & Histories
placePlace
placelistPlace List
placesPlaces
plotPlot
portraitPortrait
predictedPredicted
prefixPrefix
problemAn error has occurred in the TNG software. This could be due to a setup issue, an incomplete upgrade or a program bug. If you are the site owner, you may contact TNG support for help with this problem. Please copy the query below and paste it into your message.
pwdsentYour new temporary password has been sent to your e-mail address.
pwrdbyThis site powered by
queryQuery
recordingsRecordings
refreshRefresh
refreshmapRefresh Map
relationshipRelationship
relationship2Relationship
relevant_linksRelevant links
reliabilityReliability
remnumsClear Numbers and Pins
removeRemove
repoinfoRepository Information
reportsReports
repositoriesRepositories
repositoryRepository
resourcesResources
rmarginRight Margin
saturdaySaturday
savechangesSave Changes
sealedpldsSealed P (LDS)
sealedsldsSealed S (LDS)
searchSearch
searchfamsSearch Families
searchingSearching
searchnamesSearch People
searchresultsSearch Results
searchsiteSearch this site
searchsitemenuSearch Site
searchtngnetSearch TNG Network (GENDEX)
seephotoSee photo
shareShare
slidestartSlide Show
sourceSource
sourcesSources
spouseSpouse
srcinfoSource Information
startingindStarting Individual
startnumFirst Number
startswithstarts with
statusStatus
suffixSuffix
suggestSuggest
sundaySunday
surnamelistSurname List
surnamesSurnames
switchmSwitch to mobile site
switchsSwitch to standard site
takenbyTaken by
test_infoTest Information
test_info_displayTest Information To Display
test_numberTest Number/Name
test_resultsTest Results
test_typeTest Type
testgroupTest Group
textText
text_andand
text_forfor
text_nextNext
text_prevPrev
thumbThumb
thursdayThursday
timelineTimeline
titleTitle
tmarginTop Margin
tng_resetReset
tngprintPrint
toto
topTop
treeTree
treesTrees
tuesdayTuesday
typeType
understandI understand
unknownUnknown
unmarkedUnmarked
userUser
usersentYour username has been sent to your e-mail address.
videosVideos
viewphotosView all photos
viewpolicyView policy
wasbornwas born
wasburiedwas buried
waschristenedwas christened
wascrematedwas cremated
wasmarriedMarried
wednesdayWednesday
welcomeWelcome
whatsnewWhat's New
whichbranchWhich branch are you from?
writbywritten by
yearYear
yearsyears
yesabbrY

Database compiled by Robert D. Morss, Sanford ME :: TNG 12.0.3 :: Latest data update: 2019-02-18

MorssWeb