Notes-Expand WWW Refs

From TNG_Wiki
Jump to: navigation, search


Notes-Expand WWW Refs
Summary When displaying notes, the pristine TNG code expands URLs that begin with http into hyperlinks. This mod does the same for web addresses that begin with www, and don't have http:// or https:// in front.
Validation
Mod Updated 3 July 2018
Download link
v12.0.0.1a
TNG 12.0
See Revision History to download older mods
Download stats
Author(s) Robin Richmond
Homepage Robin Richmond's Genealogy Database
Mod Support My Mod Support form or TNG Community Forums
Contact Developer My Mod Support form
Latest Mod v12.0.0.1a
Min TNG V 12.0
Max TNG V at least 12.0.2
Files modified
genlib.php
Related Mods
none
Notes


Purpose of the Mod

To expand WWW references, not just full hyperlinks, when displaying notes. That is, the native TNG code expands URLs that begin with http into hyperlinks. This mod does the same for web addresses that begin with www, and don't have http:// or https:// in front.

Compatibility

No known incompatibilities, but please let me know if you encounter any.

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.
  • You should backup files listed in the panel on the right.

Installation

  1. Remove and delete previous version of this mod.
  2. Backup the files updated by this mod. They are listed in the panel at the upper right.
  3. Download the .zip file, and extract its .cfg file to the mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.

In the event of a problem

  1. Try using the Mod Manager Remove capability
  2. Contact me through My Mod Support form.

Visualizations

Person Notes in a Person Profile BEFORE:

Notes-expand www references-before1.png

Person Notes in a Person Profile AFTER:

Notes-expand www references-after1.png

Revision History

Mod Version TNG Version Date Note
v12.0.0.1a 12.0+ 15 Nov 2018 No functional changes; added an array definition that was required by PHP v7.1
v12.0.0.1 12.0+ 3 July 2018 No functional changes; made compatible with TNGv12.
11.0.0.1 11.0.0+ 19 May 2017 New mod

Sites using this mod

If you download and install this mod, please add your site to the table below.

URL User Note Mod-Version TNG-Version User-language
Robin Richmond's Genealogy Database Robin Richmond Mod developer 11.0.0.1 11.1.1 English