TNG WordPress Plugin Extended Characters Fix

 

This is a small TNG Mod Manager file that makes a change to the enhanced-text-widget so that it will display extended characters correctly when they’re called into a WordPress page from the TNG database.

Upload the .cfg file to your TNG ——>mods folder and then go to the TNG Mod Manager to install the Mod.

 Posted by at 9:19 am

Create a Google SiteMap

 

This version is a Mod Manager .cfg file that allows you to install the Create Site Map file from inside Mod Manager. This version is for TNG 12 and higher. If you’re looking for the version for TNG 10.1 and TNG 11 use this version, and if you’re looking for the version for TNG 10.0 and lower use this version

To use this, download the file, unzip it, and put it in your mods folder and then install it from the Mod Manager.

Once installed it places a button in Secondary Processes to click to “Create Site Map. This allows you to automatically create a Google sitemap.xml file to use to submit your TNG site’s contents to Google.com for indexing.

Version History
TNG Sitemap Creator v0.6 – ©2006 Stephen Hoover
Modified by Rush to current Google time standards – 08 Jan 2008
Tweaked by Roger to work with TNG 8 Mod Manager – 18 Feb 2011
Tweaked by Roger to work with TNG 9 Mod Manager – 31 Jan 2012
Tweaked by Roger to add gzip compression to the output files – 8 Mar 2013
10.1.0.0 – Updated for TNG Version 10.1-11 Jan 2015
10.1.0.1 – Updated by Roger to support http/https using {$http} – 15 Jun 2015
10.1.0.2 – Updated by Roger to change the calculation of the path to write the file to and to properly handle the genealogy URL in WordPress environments – 6 August 2015
10.1.0.3 – Updated by Roger to work with newer sitemap practices, including indexing images, and to allow options to include or exclude people, families and media – 24 Aug 2015, and cleaned up some syntax without altering function 21 Sep 2015
10.1.0.4 – Unpublished – added the ability to exclude Living and Private People – June 2018
10.1.0.5 – Updated to better count links that are included and excluded, as well as to better handle Media and folios, as well as media linked to Living and Private people. Thanks to Rick Bisbee for this bit of code. 14 November 2018
12.0.0.0 – a minor revision that makes the Mod compatible with the new targets in cust_text.php files – no functional changes. 14 November 2018
12.0.0.1 – a minor update that allows for the & character in media file names – uses htmlspecialchars to encode the &. 30 October 2019
12.0.0.2 – a minor update updates the Mod for TNG 12 Mod Manager standards
12.0.0.3 – a minor update that changes the way files are counted – the first file will now contain 50,000 links instead of 50,001

 Posted by at 8:25 pm

Put Gender First and Remove Name on getperson.php

 

This Mod is similar to the “Put Gender First on getperson.php” Mod, but in addition also removes the display of the Name from the table of data.

It works with TNG 10.x, TNG 11.x, TNG 12.x, and TNG 13.x

 Posted by at 6:50 am

Put Gender First on getperson.php

 

This Mod moves the “Gender” line on the getperson.php page so that it is the first item listed.

It works with TNG 10.x, TNG 11.x, TNG 12.x and TNG 13.x

 Posted by at 2:22 pm

Relationship to Site Owner Mod

 

This Mod for TNG v11.x, TNG 12.x, and TNG 13.x and higher adds a line to the getperson.php page indicating the relationship (if any) of the person on that page to a single pre-defined individual – typically the TNG Site Owner – to the person shown on the page.

15 Oct 2018 – Version 11.0.0.2 now correctly identifies half cousin relationships.
3 Oct 2020 – Version 12.0.0.3 uses TNG Mod Manager Rules for text insertion
23 Oct 2020 – Version 12.0.0.4 now supports Czech & German (thanks to Ingrid Schuster) and Dutch (thanks to Rob Severijns). No functional changes
23 Oct 2020 – Version 12.0.0.5 changes to match the TNG file relationship.php
29 Oct 2020 – Version 12.0.0.6 includes changes from Ken Roy to allow for saving of the parameters so that they persist over upgrades to the Mod’s .cfg file

 Posted by at 2:10 pm

Page Title Change for TNG and WordPress

 

This is a TNG Mod .cfg file that changes a function in WordPress that lets the TNG page title show rather than the WordPress page title.

This works with the Suffusion 4.x.x theme, but since it actually modifies a WordPress function it may work with other WordPress themes also. (This is untested by me though).

It is assuming that you have WordPress in a folder that is beside your TNG folder, AND that the WordPress folder is called “wp” – i.e. your setup is as shown in this TNG Wiki article .

To use this, copy the downloaded .cfg file to the “mods” folder in your TNG installation, and then install it using the TNG Mod Manager.

 Posted by at 9:42 pm

Bold Ancestor Child Links

 

This is a TNG Mod .cfg file that makes some changes to TNG v11.0, TNG v12.x, and TNG v13.x to show your identified Ancestors’ names bolded on their parents’ page so that you can follow down your line of ancestors by clicking on the bold links.

Version 12.0.0.3 updates the Mod to TNG v12 standards – added the Author tag to the .cfg file

Version 11.0.0.2 properly fixes the conflict with the Family Preview Mod.

Version 11.0.0.1 corrects an issue that prevented installation if you also had the Family Preview Mod installed.

To create the necessary Branch, go to TNG Admin ——> Branches and “Add New” a branch using settings like this – you MUST use the Branch ID “Ancestors”.

Add New Branch

Click on “Save” to get to this screen.

Add Labels

Then click on “Add Labels” to get this dialogue box and click on “Add Labels”.

Add Labels

Once the Mod is installed you should now see the names of your ancestors in bold on pages where they are shown as children. Note the Tooltip pops up when hovering over the bold name to indicate “Ancestor”.

Example

 Posted by at 5:09 pm

Google maps Add 4 Place Levels

 

This add on, delivered in the form of a “Mod Manager” config file will add 4 more place levels to the sequence of place levels available when geocoding places, AND it changes the layout of the Pin Legend under the Google map on the getperson.php pages from [pin] [=text] [pin] [=text] [pin] [=text] to a row of pins with the text (dynamically) superimposed on the pin. You can see the differences in this image:

TNG Map Pins Modification

This mod makes use of the Mod Manager is built into TNG.

To install this, download the .zip file. Unzip it and place the contents (a file and a folder) into “mods” folder in your TNG folder, then install it from the Mod Manager in TNG Admin.

It will:

  1. Copy a TrueType font – LiberationSans-Regular.ttf – to your TNG folder
  2. copy 5 map pin files to the img folder
  3. create 1 new files in your TNG folder
    • google_text_marker.php – a script which combines the text and pin image into a single image
  4. Make some changes to TNG files to accommodate the extra place levels. Files changed are listed on the TNG Wiki article

This change is language aware – ie it will write the description on the pin in whatever language people are viewing your site in.

If you want to change the place levels that you have previously assigned to your places without editing each place you can add this mod for TNG Google maps Update Place Levels to do this. More details, including instructions on how to update your tng_places table to use the extra place levels can be found on the TNG Wiki on this page.

Updates:

Version 10.1.0.0 is released to comply with the changes to Mod Manager made by TNG 10.1
Version10.1.0.1 is released to allow for the various Mods that make parts of TNG more “responsive” for mobile devices.
Version 12.0.0.2 updates the Mod to TNG 12 changes, and adds translations provided by Pierre Landry for French, Spanish, Italian, and German to the UTF-8 language files.
Version 12.0.0.3 aligns the translated list of place levels with the English list.

 Posted by at 3:55 pm

Google maps Change Pin Legend

 

This add on, delivered in the form of a “Mod Manager” config file will change the layout of the Pin Legend under the Google map on the getperson.php pages from [pin] [=text] [pin] [=text] [pin] [=text] to a row of pins with the text (dynamically) superimposed on the pin. You can see the differences in this image:

TNG Map Pins Modification

To use this you must be using the Mod Manager Add-on for TNG – see http://tng.lythgoes.net/wiki/index.php?title=Mod_Manager.

This mod makes use of the Mod Manager which is built into TNG.

To install this download the .zip file. Unzip it and place the contents (a file and a folder) into “mod_folder” folder in your TNG/admin folder, then install it from the Mod Manager in TNG Admin.

It will:

  1. Copy a TrueType font – LiberationSans-Regular.ttf – to your TNG folder
  2. Create a file google_text_marker.php – a script which combines the text and pin image into a single image

This change is language aware – ie it will write the description on the pin in whatever language people are viewing your site in.

More details are available on the TNG Wiki at this page.

Updates:
Version 10.1.0.0 released to take in to account the changes in Mod Manager introduced in TNG 10.1

Version 10.1.0.1 makes minor changes to make this Mod compatible with others that are part of the changes to make TNG more Responsive on smart phones and tablets.

Version 10.1.0.2 updates the Mod to TNG 12 specifications, but no functional changes.

 Posted by at 3:55 pm

Top 10 Surnames

 

A script that displays the top 10 surnames appearing in your TNG database with links to the lists of people with these surnames.

Version 10.1.x is for TNG 10.1 and above, and works with WordPress to include in the WordPress Text Widget as well as with TNG.

 Posted by at 10:56 pm

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close