TNG Mods – Hyperlinked Statistics Page

The default Statistics page in TNG does not link back to the pages it shows statistics on.

This page adds Hyperlinks to the values as appropriate.

tngstats

Just download the file below, unzip the statistics.php file, and FTP to your TNG folder, overwriting the existing statistics.php file. (Remember to keep a backup just in case!)

statistics

This ONLY works with TNG 10.1.x. It WILL NOT work with earlier versions of TNG due to changes in the version of PHP/mySQL.

 

Facebooktwitterredditpinterestlinkedinmailby feather

TNG Mods – Reports Search

This is a TNG Mod that adds a search box to the public reports page, which is useful if you have a large number of reports.

This mod has been written for TNG 10.1.2 but may work on earlier versions.

reportsearch_v10.1.2.0

tngrptbox

An earlier version of this mod, that works on TNG 9.x but without the ‘You searched for’ and ‘Show all available reports again’ options can be downloaded below:

reportsearch_v9.1.0.0

In either case, just unzip the download, then upload to your Mods folder, then install…

Facebooktwitterredditpinterestlinkedinmailby feather

TNG Mods – Homepage Scripts

I’ve written 3 scripts which can enhance the TNG homepage. These show

  • The number of places in the tree, and the number geo coded
  • The media types in the tree and gives the number of each type
  • A tag cloud of the most popular surnames

The tag cloud comes in two versions, tc.php which shows the cloud in alpha order, and tc1.php which shows the cloud in random order.

You need to upload the scripts to your TNG templates folder, then edit your homepage (index.php) to reference these files, the code you need to add would be something along the lines of

<?php include ‘tc.php’; ?>

replaces tc.php with the name of the file you want to reference.

more resources on editing your TNG templates can be found on the TNG Forum or TNG Wiki

Download Scripts

 

Facebooktwitterredditpinterestlinkedinmailby feather

TNG Mods – Reports

TNG does not come with any reports out of the box. The majority of these reports were downloaded off the web (somewhere that I’ve long since forgotten!). I’ve amended these reports in two ways; 1) a lot of the comments/column headings were in German and these have been removed or converted into English, 2) some of the reports didn’t work if you had more than one Tree loaded into TNG, this has now been fixed on all reports, although on a couple I’ve had to hardcode the tree GEDCOM details into the report. Some reports are specific to my Tree such as having a hardcoded surname such as Willingale or using a specific event tag which may be different in your tree. It should be relatively easy for anyone to modify these particular reports to work with their tree.

There are 158 reports in total covering such things as

  • Star signs
  • Twins & triplets
  • Occupations
  • Cause of death
  • Missing data; e.g. dates, parents
  • Frequency reports; birth, death etc
  • Maintenance; faulty dates, recent changes, incomplete families

To install into TNG: Download this file. Extract the backup file from the archive, then FTP the backup to your TNG backup folder. Then do a restore of the reports table (Admin > Utilities > Restore). THIS WILL OVERWRITE ANY EXISTING REPORTS THAT YOU HAVE.

 

Facebooktwitterredditpinterestlinkedinmailby feather

TNG Mods – First Names

TNG Genealogy is a powerful PHP and MySQL based application that displays family trees, it has lots of built in features. However, one of the good things about it is that a large community that writes various add-ons or mods as they are called, to enhance its functionality further.

TNG is good at displaying surnames but had no facility to list first names in a similar manner. For TNG versions 8 & 9 i cobbled some code together that displayed first names, and first & middle names in a similar manner.

First names

Roger Moffat took over the mod and tidied it up and updated it for TNG 10. The mod can be downloaded from the TNG wiki

The Mod was subsequently included in later TNG version as part of the core product.

Facebooktwitterredditpinterestlinkedinmailby feather

TNG – UK Timeline

TNG Genealogy is a powerful PHP and MySQL based application that displays family trees, it has lots of built in features. However, one of the good things about it is that a large community that writes various add-ons or mods as they are called, to enhance its functionality.

TNG has a timeline feature that can show notable events that happened during the life of a person in the family tree. I forget where I obtained this list of events, but I’ve edited and improved this list with predominately UK specific events.

Timeline

Timeline

Download the tng_timelineevents.txt file below. Change the file extension from .txt to .bak, then FTP to your TNG backup folder.  Then do a restore of the Timeline Events table with the Admin > Utilities > Tables > Backup, Restore & Optimise function. (this will wipe any existing timeline you may have)

tng_timelineevents

Facebooktwitterredditpinterestlinkedinmailby feather

TNG – Search Media by Owner & Date

TNG Genealogy is a powerful PHP and MySQL based application that displays family trees, it has lots of built in features. However, one of the good things about it is that a large community that writes various add-ons or mods as they are called, to enhance its functionality.

TNG allows you to add photos, documents and other types of media to a person in the tree, and record various metadata about the media, such as the date of the photo or its owner. TNG does not, however, have a facility that allows you to search this metadata. To overcome this deficiency I’ve designed an add-in that searches by either the date or owner:

This page lists all the media owners and how many items they have in the family tree:

List of media owners

List of media owners

Clicking one of the links shows all the media for that owner and who its linked to in the family tree:

Media results by owner

Media results by owner

The search by date functions in a similar manner.

This mod works with TNG version 8, 9 and 10. (Note that later versions of TNG are optimised for display on mobile devices – this mod is NOT optimised for mobiles)

Download the mod here: listmedia_v10.0.0.1

See the TNG WIKI link for details on how to install into TNG

Facebooktwitterredditpinterestlinkedinmailby feather