Difference between revisions of "Lat-Long NSEW"
Line 186: | Line 186: | ||
{| | {| | ||
! Map Page Before Installation | ! Map Page Before Installation | ||
− | |||
|- | |- | ||
| [[File:Lat_Long-NSEW_Mod_v14_img-before.png|800x117px|Individual Page before]] | | [[File:Lat_Long-NSEW_Mod_v14_img-before.png|800x117px|Individual Page before]] | ||
+ | |- | ||
+ | ! Map Page After Installation | ||
|- | |- | ||
| [[File:Lat_Long-NSEW_Mod_v14_img-after.png|800x119px|Individual Page after]] | | [[File:Lat_Long-NSEW_Mod_v14_img-after.png|800x119px|Individual Page after]] |
Revision as of 09:36, 11 September 2023
Downloads of Lat-Long NSEW are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account | ||
If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox
|
The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]
If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:
[See details in the TNGv12 Change Impacts Article][Hide the instructions] |
|
Note re Versions 13.1.0.1a / 13.0.0.9 The original file lat-long_nsew_v13.0.0.9.zip uploaded on 3rd Nov 2021 had changes for TNG v13.1, but was not compatible with TNG v13.0.x . That has been resolved and new files uploaded for both.
As of the 8th Sep 2023 support for this Mod available through the TNGUSERS List |
|
Lat-Long NSEW | |||||
---|---|---|---|---|---|
Summary | Shows N S E W after decimal co-ordinates. | ||||
Validation | The mod is XHTML compliant. | ||||
Mod Updated | 03 May 2023 | ||||
Download link | For
For
For
For
| ||||
Download stats | See download stats for all versions | ||||
Author(s) | Rick Malkin | ||||
Homepage | Lat-Long_NSEW (This page) | ||||
Mod Support | TNG Users List | ||||
Contact Developer | TNG Users List | ||||
Latest Mod | 12.0.0.2 / 13.0.0.9 13.1.0.1a / 14.0.0.3f | ||||
Min TNG V | 12.0 | ||||
Max TNG V | 14.0.2 | ||||
Files modified | |||||
Related Mods | |||||
Notes |
Purpose of the mod
This Mod shows Latitude / Longitude N S E W. You need to be using degrees eg: -41.327312, 174.807598 (Wellington (NZ) International Airport Co-ordinates) when entering geolocation info for places, cemeteries, plots etc. Mod will show 41.327312° S, 174.807598° W. It does not alter anything in the Admin Editing Screens.
Mod DOES NOT determine if any data entries for Latitude/Longitude are correctly entered, it ONLY works with degrees as explained above.
Developer
This mod is developed by Rick Malkin, with much support from Michel Kirsch for v14.x. If you have problems or ideas for further development contact me on the TNG Modifications Forum (You will need to Login to do so), or the TNG Users2 Email List (You may need to register for this List).
I would appreciate if you choose to use the Mod please add your details below, so I do know how many folks are using it. Cheers
Credits
My Thanks to Erik & Brett for their help with both code and ensuring the mod meets the standard. Appreciate your help and input guys.
My MOST humble THANKS to Michel Kirsch for his expertise and coding changes to resolve clashes with this v14.0 Mod and Hide Google Earth Links, also a more efficient code structure. Merci beaucoup To Rob Severijns also, for pointing out the clash.
Thanks to Ron K for advising about php 'Warning: Deprecated' error and again Thanks to Michel Kirsch for providing the code to rectify..
Future possible Updates
I would like to look at including an option to use North, South, East, West, instead of N, S, E, W where appropriate. Would appreciate feedback via the TNG Forum if you are interested.
Requirements
- A working TNG installation v12.0 or higher.
- A backup of all affected files (see below)
- An installed current version of the Mod Manager.
- Both English and English-UTF8 folders be on your site. Other supported language folders/files are optional.
Conflicts
TNG v12.3
If you use OpenStreetMap it must be installed before installing the Lat-Long NSEW Mod. You must uninstall in the reverse order.
TNG v13.0 TNG v13.1
As of 4th November 2021 there have been no conflicts advised/found with v13.x Mods
Mod v14.0.0.3f
Clashed with [User:MichelKirsch|Michel Kirsch's] Hide Google Earth Links Mod Is Resolved
Revision History
Mod Version | TNG Versions | Date of Revision | Note |
---|---|---|---|
14.0.0.3f | 14.0.x | 05 May 2023 | Updated to resolve PHP 'deprecated warning', with much thanks to Ron K for spotting and reporting and Michel for the Fix.. Added Degrees °; symbol and some missing language translation lines. |
14.0.0.3d / 14.0.0.3e | 14.0.x | 05 May 2023 | Not Published |
14.0.0.3c | 14.0.x | 22 Jan 2023 | Updated to resolve conflict between Michel Kirschs' Hide Google Earth links Mod along with major coding changes for better management, with much thanks to Michel Kirsch for his magic abilities.. Added admin_merge.php changes. Some layout changes to improve aesthetics. |
14.0.0.3a / 14.0.0.3b | 14.0.x | 22 Jan 2023 | Not Published |
14.0.0.1 | 14.0.x | 02 Jan 2023 | Updated for TNG v14.0 |
13.1.0.1a | 13.1.x | 04 Nov 2021 | Updated for TNG v13.1 Various bug and mistyping fixes (Note new file for TNG v13.1.x) |
13.0.0.9 | 13.0.x | 03 Nov 2021 | Updated Various bug and mistyping fixes. (Note file is no longer for TNG v13.1.x but for TNG versions 13.0 - 13.04) |
13.0.0.6 | 13.0.x | 26 Oct 2020 | Various bug and mistyping fixes |
13.0.0.2 | 13.0 | 01 Oct 2020 | Minor bug fixes to Admin Places page |
13.0.0.1 | 13.0 | 24 Sep 2020 | Added admin_cemeteries & admin_places to shows NSEW. Made some minor code changes for consistency |
13.0.0.0 | 13.0 | 23 Sep 2020 | Updated for compatibility with Ver 13 |
12.0.0.2 | 12.0+ | 04 Oct 2020 | Resolved a couple of bugs and added Admin Place & Admin Cemeteries |
12.0.0.1 | 12.0+ | 20 Aug 2020 | Initial version for TNG12 |
Installation
- Download the appropriate zip file as shown in the summary in the upper right corner of the page.
- For v 12.x TNG Users: If you are intending to use the OpenStreetMap Mod you must install it first.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
TNG Files Modified
|
|
Language(s)
Currently available in Danish (thanks Hanne), Dutch (Thanks Rob) English, French, German & Italian (Thanks Martin), & Swedish (Thanks Erik again!)
Custom Text
This MOD contains custom text in cust_text.php in the English / English-UTF8 folders.
$text['N'] = "N"; $text['W'] = "W"; $text['S'] = "S"; $text['E'] = "E"; $text['placelevel'] = "PlaceLevel"; $text['lat-long'] = "Lat / Long"; $text['lat'] = "Lat"; $text['long'] = "Long"; $text['north'] ="North"; $text['south'] = "South"; $text['east'] = "East"; $text['west'] ="West";
For other languages you can modify the config file to add the custom text or manually add to cust_text.php in the respective language folder.
If you would like other languages included in the Mod please let me know via the TNG Forum and Private Message me.
Before & After Install ScreenShots Mod ver 13
The following screen shots show some of the changes made by the mod
Map Page Before Installation | Map Page After Installation |
---|---|
Before & After Install ScreenShots Mod ver 14
The following screen shots show some of the changes made by the mod
Map Page Before Installation |
---|
Map Page After Installation |
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
URL | User | Note | Mod-Version | TNG-Version | User-language |
---|---|---|---|---|---|
A Line of Malkins | Rick Malkin | Public and Private | 14.0.0.3f | 14.0.3.b2 | EN |
Les Lapierre d'Amérique | Normand Lapierre | Public and Private | 14.0.0.3c | 14.0 | FR, EN |
Mosley-A New look at our Family History | Martin Mosley | Public and Private | 14.0.0.3f | 14.0.2 | EN, FR GE, IT |
The Severijns / Timmer Familytree | Rob Severijns | Public / Private | 14.0.0.3f | 14.0.2 | NL, EN |
MOTYER Family Genealogy | John Mark Motyer | Public site | See here | See here | EN |
Roots & Relatives Remembered | Ron Krzmarzick | Public & Private | See Here | See Here | EN,DE,CS |
In the event of a problem
- Try using the Mod Manager Remove capability
- Copy the backup of the affected files back to your TNG directory
- TNG Community Forums: TNG Specific - Code Discussion - Addons
Uninstalling the mod
If you want to completely Remove (uninstall) this mod, you should
- For v 12.x TNG Users: Make sure you uninstall BEFORE uninstalling the OpenStreetMap Mod
- Click the Uninstall button to uninstall the mod and then
- Click the Delete button to delete the config file from the mods folder.