Upgrading Mods to TNG v13

Fra TNG_Wiki
Spring til navigation Spring til søgning

Mods eliminated by TNG V13

You should use the Mod Manager to uninstall all your mods prior to the upgrade. If you are not going to uninstall all TNG mods prior to the upgrade, you may end up having to replace some TNG modules that contained mods that were not replaced in the upgrade since the Mod Manager changed the way it handled source that contains terminating blanks or tabs.

The following mods are now incorporated or partially incorporated into TNG v13

16. Custom Event Types: The eventtype ID has been added to the Admin/Custom Event Types page.
https://tng.lythgoes.net/wiki/index.php?title=Add_Event_Type_ID
Do not clean up the mod, but rather Delete it without uninstalling or cleaning it up.
80. Places: An option has been added for each individual place to permanently ignore that place when doing bulk geocoding.
The mod's definition of a "Do not Geocode" Placelevel (value=-1) has been incorporated into TNG13.
The changes that the mod makes to the geocoding workflow are still viable, so the mod will be reworked for TNG13.
79. Places: Fields for last modified date and user have been added to the places table.
The new change date field in the Places table essentially eliminates the need for the mod's creation date field.
TNG13 can also sort by last modified date. The date sort replaces the mod's ability to search for Places created since a specific date.
and Suppress csvReport Mod
81. Settings: An option now exists to turn off CSV report downloads.
General Settings > Privacy section
Allow CSV downloads for reports: (defaults to Yes)
Set to No if you do not want to all users to download reports
90. Settings: An option now allows admins to turn the person/family "Living" box on or off by default for new people & families.
General Settings > Privacy section
Living flag set for new people and families: (defaults to Yes)
Set to No if you do not want to mark new users and families as Living
15. Charts: Family Chart link has been added to end of each family description on the Register and Ahnentafel charts
eliminates part of the mod that added Family Chart Links to the Register and Ahnentagel report
Do not clean up the mod. It will need to be reworked to just remove the lines that add the Family Chart Links to Register and Ahnentafel reports.
Do not clean up the mod is obsolete and replaced with
56. Media: Media in text file format will now be embedded within the TNG page like images (instead of downloading the images or opening them in a separate app).
83. Places: Notes on the public Place page are no longer truncated.
13. Charts: Photos have been added to the vertical ancestry chart. I recommend changing the box and font sizes in the chart settings (160, 80, 10).
https://tng.lythgoes.net/wiki/index.php?title=Verticalchart_Photos_mod

TNG Admin screen impact

4. Admin: The Admin menu will no longer use an HTML "frameset". The layout will be the same, but it will use fixed DIVs instead.

  • impacted the Mod Manager Mod List display
- fixed before TNG v13 beta 1
  • impacts all mods that add entries to the Admin screen
Caution: If you create a syntax error as part of your admin.php mod update, you will get a White Screen of Death
You should know where your PHP errors get written to and may want to install the updated
  • Prolog mod
  • or the Show PHP Error Log mod
before installing your updated mod that changes the admin.php screen
You can click on the [Expand] link on the right to display the hidden instruction section on updating mods that anchor themselves in the Admin left sidebar menu or in the Admin screen top line or [Collapse] to hide it again,
you must now update your mod to use admin.php and admin_leftmenu.php to add new admin buttons and links in the left sidebar
instead of admin_main.php and admin_leftbanner.php
you must now update your mod to use adminlib.php to add links to the top div
instead of admin_rightbanner.php
Note that you also need to change your previously used echo statements to $output .= when updating
  • scripts that run in the TNG Admin main section must now change the body from
echo "
</head>
<body background=\"img/background.gif\">
to use
	echo "
	</head>";

	echo tng_adminlayout();

	echo "
  • Note that if your script also overrode the TNG Admin back.gif like the following Census Plus International mod scripts
echo '<body style="background-image: none; background-color: white">';
you will need to change it to pass the style override by passing it as an argument such as
$args = " style =\"background-image: none; background-color: white\" ";
echo tng_adminlayout($args);	// TNG 13 layout
  • You must now update the footer part of your admin script to change the following
	echo "
	</body>
	</html>";
	exit;
to use
		echo tng_adminfooter();

Mods that work

Based on beta testing, the following mods show OK to Install on TNG v13 and may only require uninstall before the upgrade and re-install after the upgrade. Note that all the mods might not have been tested.

Note that not all mods are in my test wiki, so the page may show as a link
No Popup version
Updated to v13.0.0.3a
new v12.0.0.1 using TNG 12 custom text guidelines
Mod was reworked to eliminate conflict with other mods
New v13.0.0.6 includes languages custom text
Version 7 and above !

Mods that have been updated

The following mods have been updated for TNG 13 and are available

Small code changes & technical upgrades
Small code changes & technical upgrades
Small code changes & technical upgrades
Small code changes & technical upgrades
Small code changes & technical upgrades
Major code changes & technical upgrades
Small code changes & technical upgrades
Small code changes & technical upgrades
Small code changes
Updated for TNG 13 code change in verticalchart.php
Updated to v13.0.0.2Browsemedia Search Form]]
small code changes & technical upgrades
small code changes & technical upgrades
Updated to v13.0.0.5 for code change in getperson.php
Updated to v13.0.0.11 for new Admin layout and to fix PHP undefined variables and indexes
Updated to v13.0.0.8d.
small code changes & technical upgrades
Updated to v13.0.0.8
Updated to v13.0.0.4
Updated to v13.0.0.3
Updated to v13.0.0.7
Small code changes & technical upgrades
Small code changes & technical upgrades
Updated to use new custom text Mod Guidelines for TNG v12+
Small code changes & technical upgrades
Updated to v13.0.0.1
technical upgrades
Updated to v13.0.0.4 for new Admin layout.
Updated to v13.0.0.18
Updated to v13.0.0.11
Small code changes.
Small code changes.
technical upgrades
Updated to v13.0.0.1d
Updated to 13.0.0.7
Updated to v13.0.0.3a
technical upgrades
Small code changes & technical upgrades
Small code changes & technical upgrades
Updated to v13.0.0.4 for new Admin layout.
Updated for TNG 13 new Admin layout.
Small code changes & technical upgrades
Changed Functionality (Spun off another mod) & technical upgrades
Robin's technical upgrades
Small TNG code changes & technical upgrades
technical upgrades
technical upgrades
technical upgrades
Small code changes & technical upgrades
Updated to v13.0.0.2c
Updated to v13.0.0.8 for new Admin layout.
Added functionality
Enhanced functionality. Now updates twelve programs.
Updated to v13.0.0.2c

Mods that Show Cannot Install

Shows OK to Install but doesn't work
Mod was reworked - download v13.0.0.7
Mod was reworked - download new version
Upgraded as Cemetery Burials Table
Mod was reworked - download v13.0.0.11
Mod was reworked - download new version
Mod was reworked - download new version
Mod was updated - download v13.0.0.8
Mod is now obsolete with 86. Settings: An option now exists to turn off CSV report downloads
You should also Delete this mod
Update the option in Admin > Setup > General Settings > Privacy section to prevent CSV download of reports
Mod was updated - download v13.0.0.4
Mod was updated - download v13.0.0.1
Note that Darrin added an option to exclude all notes on an export, not just the notes with the secret flag
Shows OK to Install but doesn't work
Mod was reworked - v13.0.0.4
Mod was updated - download v13.0.0.2
Mod was updated - download v13.0.0.4 and convert Photos collection image maps to new Image Tags after install of this mod and not from the TNG v13 upgrade readme
Mod will not support creating new image maps in TNG and but will support updating image map textarea using code generated from Mapedit and changed to use the Dynamic Drive Tooltip
Mod not yet reworked
mobile version of Person Map
Mod not yet reworked but will be a rename of
Mobile Individual Page Map - Person Map
Mod was updated - download v13.0.0.6
Mod was reworked but does not support dragging the charts
Mod reworked also does not support new Vertical Descendant chart
Shows OK to Install but doesn't work
Mod was reworked - download v13.0.0.4
Might be obsolete with 46. Media: Media can now be made "private" (only seen by users with rights to see private data).
Shows OK to Install but doesn't work
Shows OK to Install but doesn't work
new version required because %name: tag not terminated
new version required because %note: tag not terminated
Mod was reworked - download new version
new version required because %location: tag not terminated
Shows OK to Install but doesn't work
Obsolete with 14:Charts: Photos have been added to the vertical ancestry chart. Recommended box and font sizes in the chart settings (160, 80, 10).

Mods that Show Partially Installed

The following mods show partially installed after an upgrade/span>

This mod is obsolete. Do not Clean Up! bur rather Delete the mod without uninstalling it
This mod is partially incorporated into TNG 13.
Do not Clean up! bur rather Delete the mod without uninstalling it
A new version of the mod will be required.
This mod was incorporated into TNG 13.
Do not Clean up! bur rather Delete the mod without uninstalling it
Do not clean up the mod is likely obsolete or partially obsolete with
46. Media: Media can now be made "private" (only seen by users with rights to see private data).