Eventplaces

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Eventplaces 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 Restricted
Caution 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 Caution
Eventplaces
Summary Displays a table of locations where events have occurred, the types of which have been selected from the menu.
Validation (not yet)
Mod Updated 10 Feb 2025
Download link For
TNG 13.0
TNG 14.0
TNG 15.0

Eventplaces v15.0.0.3c.zip
Download stats Click to see
Author(s) Michał Jarociński
Homepage Eventplaces (This page)
Mod Support Topic on the TNG Community Forum
Contact Developer As above, or my TNG User Page
Latest Mod 15.0.0.3c
Min TNG V 13.0
Max TNG V 15.0
Files modified
places.php
admin_eventtypes.php
admin_editeventtype.php
admin_updateeventtype.php
languages/Polish-UTF8/cust_text.php
languages/English/cust_text.php
languages/English-UTF8/cust_text.php
languages/Norwegian-UTF8/cust_text.php
languages/French-UTF8/cust_text.php
Related Mods
none
Notes

Purpose of the mod

This TNG modification adds an application for viewing locations where events of the types selected from the menu have taken place.

The menu presents event types in three groups: Basic Events, Other Individual Events, and Other Family Events. Events for which the locations are not known, or those locations are few (option), are grayed out or hidden (option) in the menu. You can also disable some event types by the mod option.

The places found for the selected event types are presented in a table, where you can sort them according to the number of associated events. If among the selected event types are funerals or other events related to the commemoration of the deceased (listed in the mod option), additional information is displayed; this is because originally, the main function of the application was to replace the Cemeteries page.

The application is called through the button on the TNG Places page inserted by the mod.

Notes on the list of excluded event types

The list of event types excluded from Eventplaces allows you to reduce the menu from which event types are selected. However, preparing the list “by hand” in the mod options (or editing directly in the .inc file) can be cumbersome, especially when you have to type in a lot of event type descriptions. So I introduced the possibility of modifying this list within the administrative function of editing Event / Attribute Types: exclusion from Eventplaces is just an additional event type attribute there (only for custom events, of course).

Each event type description is parsed to detect whether it starts with a tag-like character sequence; in that case, only that found tag is taken into account. Note: no distinction is made between event types associated to individual or family if the same tag/description is used.

Some more explanations you can find in the cfg file.

Visualization of this mod

My event menu is quite extensive, as I have a relatively large number (several dozen) of custom event types coming from the PC program from which I use to import all data into TNG. Thus, only basic events are here unfolded in the visualization. Event types for which less than 1 place was found were hidden, i.e., if there is any one known place the event option is active. I've allowed LDS events, but no one is actually active.

Eventplaces img1.jpg

Credits

Many thanks to patient and helpful testers: Ron, Roger, Ken, Kare, Katryne, Jim, ...

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary to the right)
  • An installed current version of the Mod Manager.

Revision History

Mod Version TNG Version Date Contents
15.0.0.3c 14.0 ... 15.0 10 Feb 2025 Small update for v15 (still compatible to v14)
14.0.0.3b 14.0 ... 14.0.5 8 Oct 2024 * Table height and pagination can be defined via .inc file (and not via mod option)
* Options (except tag lists) are validated
Thanks for Ron, Kare, and Katryne
14.0.0.3 14.0 ... 14.0.5 26 Sep 2024 * The width of the result table is now limited; scrollbar shows up when needed.
* Background colors are improved
14.0.0.2 14.0 ... 14.0.5 12 Aug 2024 * The app is called using the button (and not just link) in the Places page.
* The list of excluded event types can also be modified through the admin page of editing event types.
14.0.0.1 14.0 23 Jun 2024 First public version

Mod Conflicts

The application introduced by the mod is very loosely coupled with the TNG system - mainly by reading some TNG tables - so it should not conflict with other mods, and should also work with earlier versions of TNG (unfortunately, I don't have a right environment to be sure). However, version 2 further modifies a couple of admin pages, which may cause conflicts with some mods.

Installation

  1. Click on the download link shown in the summary in the upper right corner of the page.

Note: if the download link doesn't work for your browser, you can copy the link and paste it to a new window.

  1. Un-zip the file.
  2. Move/copy/FTP the .cfg file and the Eventplaces_2 folder to the mods folder of your TNG system.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.

In the event of a problem

Uninstalling the mod

Click the Uninstall button.
If you want to completely Remove this mod and all its files, you should also

  • click the Delete button to delete the config file from the mods folder
  • remove "by hand" the mod folder ('Eventtypes_3' folder under the TNG mods folder) and all files inside it
  • remove "by hand" the file eventtypes.inc placed in the extensions folder.

Upgrade

  • Uninstall and eventually Delete the current Mod. In some cases (when hinted in the upgrade) delete the existing .inc file.
  • Proceed as for an installation with the new Mod. If you keep the .inc your default parameters will remain unchanged.

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
Jarocinski Family Database Michał Jarociński
Mod author
Private / public site 15​.0​.0​.3c 15.0 PL,EN
Treichel-Familie.de Andreas Treichel Public & Private 15​.0​.0​.3c
TNG 15.0.1
DE,EN,FR,ES,PL
Roger's Ramblings Roger Moffat Private / public site 14.0.0.1 14.0.5 EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private See here See here EN,DE,CS
Our Roots&Relatives Kåre Kjøllesdal Private site 14.0.0.3 14.0.5 EN,NO
Racine d'Alsace J-Louis Valory Public (registration) 14.0.0.1 14.0.5 FR
Kociubowski Family Grzegorz Kociubowski Public & Private 14.0.0.2 14.0.5 PL
Familjen Johnson Leif Johnson Public site See here See here SE, EN
Duttons of New England Darrin Dutton Public / Private site 14.0.0.3 14.0.5 EN