Group custom events

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Group custom events 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


Ambox notice.png 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:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0


Group custom events
Summary Regroup any custom event in one field
Validation
Mod Updated 09 Dec 2023
Download link For
TNG 13.1.0
TNG 14.0

v 13.1.2.5f


For
TNG 13.0

v 13.0.3.4b
Download stats Show statistics
Author(s) Michel Kirsch
Homepage Racines luxo-hennuyeres
Mod Support TNG Community Forums
Contact Developer MyMail
Latest Mod 13.0.3.4b for TNG v13+
13.1.2.5f for TNG 13.1.2+
Min TNG V 13.0.3
Max TNG V n.c.
Files modified
getperson.php
personlib.php
Related Mods
Notes

Notes

Caution If you use them,

- install Display_Jobs_Facts version < 13.1.0.2b then this Mod then Regroup Person Profile
- install this Mod then Regroup Person Profile
- install this Mod then Remove Person ID Row
(read Known Problems below)

Caution


Purpose of the Mod

Allows you to regroup any event (tag) in one collapsible field on get_person.php.
You indicate your self the list of events to be grouped in the parameters.
To define this list, got to Administration >> Mod Manager >> Click on this Mod >> Edit Options button.
From version 5; you can mix tags and eventtypeID in your list (example : OCCU,2,REVIEW) To collapse the field, the "Collapse Event" option for this event must be set on "yes".
Change the "Collapse Event" option. (Menu Administration >> Custom Event Types >> Edit)

image_alt_name

Development

Written by : Michel Kirsch from Charleroi - Hainaut - Belgium

Requirements

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

Revision History

Mod Version Date Contents
13.1.2.5f 09 Dec 2023 Change location #2 in personlib.php - Added global $events_table in personlib Loc#2 - Fixed a warning on evtypID in personlib.php
13.1.2.5e 07 Oct 2023 Fixed location #2 in personlib.php for compatibility with the Display Jobs Facts and Hide private and living persons mods (Thx to Ken Roy).
13.1.2.5d 29 Sep 2023 Fixed location #1 in getperson.php for compatibility with the Optional Person Rows Mod (Version 1a).
13.1.2.5c 15 Jan 2023 On 'open' sites, fix an error leading to white page on living/private persons - Disable display of the Event 'description' field - Fix a bad location in getperson.php.
13.1.2.5a 10 Jan 2023 Fixed a Bad location in personlib.php.
13.1.2.5a 10 Jan 2023 Compatible with the Age at event Mod v3.
13.1.2.5 10 Jan 2023 From this version, it is possible to mix tags and eventtypeID in you list of event to group. Compatible with Census Plus International vxxx.13a and Hide events v xxx.2a
13.1.2.4c 26 Oct 2022 TNG 14 ready.
13.1.2.4b 05 Apr 2022 TNG 13.1.2 ready.
13.0.3.4b 09 Feb 2022 Adds Danish translation by Hanne. Suppress obsolete parameters.
13.0.3.4a 08 Jan 2022 Compatible with Census Plus International Mod
13.0.3.4 04 Jan 2022 No more possibility to edit event. Please use the Edit facilities - event edition Mod - Compatible with Add Person Siblings Row Mod.
13.0.3.3e 21 Dec 2021 Fix a compatibility problem with the new version of Age at event Mod.
13.0.3.3d 18 Dec 2021 Fix a potential error when the list of events to group is empty.
13.0.3.3c 16 Dec 2021 Adapted to work with Age at event Mod.
13.0.3.3a 18 Oct 2021 Fix a parameter issue with icon height - Change the text for the arrow.
13.0.3.3 18 Oct 2021 Adding parameters for the icon edition (name, placed before/after + dimensions).
13.0.3.2 13 Oct 2021 PHP8 ready.
13.0.3.1e 02 May 2021 If there is only one occurennce for an event, it is displayed normally.
The magnifying glass is present for the places.
Events are displayed ont he event map.
Sources are displayed.
Fix some other little bugs.
13.0.3.1c 24 Apr 2021 Add German, Dutch and English languages. Display "Click Arrow" message only if needed
13.0.3.1b 24 Apr 2021 The previous version doesn't install on a "clean" version of personlib.php. Changing the location #2 of personlib.php
13.0.3.1a 22 Apr 2021 Editing an event was not responding !
13.0.3.1 22 Apr 2021 First online version. Medias are now visible in the event. New code.

Known Problems

if you use the Display Jobs Facts Mod version < 14.0.0.0), you have to install it before installing Group Custom Events.
If you use the Regroup Person Profile, you must install it after the install of Group Custom Events.
if you use the Remove Person ID Row, you must install it after the install of Group Custom Events.

TNG Modules Impacted

You can click on the [Expand] link on the right to display the list of TNG Modules change and the [Collapse] link to hide this section again.

The following TNG Modules are modified, and should be backed up prior to installing this mod:

getperson.php
personlib.php

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. 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

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Uninstall button to uninstall the mod
  2. click the Delete button to delete the config file from the mods folder.

Upgrade

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

Visualization

The normal view, without the Mod. The "Collapse Event" option is set to "yes". All the events are displayed.

image_alt_name

The normal view, with the Mod installed. The "Collapse Event" option is set to "no".

image_alt_name

The view with the Mod installed. The "Collapse Event" option is set to "yes".

image_alt_name

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:
If you have any problem to do it, send me a mail...

URL User Note Mod-Version TNG-Version User-language
Racines luxo-hennuyeres Michel Kirsch Mod's Developper 13.1.2.5d 14.0.3 FR/EN/DU/GE/SP
Fam. van Seeventer Sandor van Seeventer Public site 13.0.3.5c 14.0 NL, DE, EN
Stegemüller Family History Hanne B. Stegemüller Public site 14.0.0.4b 14.0 EN, DE, DA
Généalogie des MALVACHE Cédric Malvache 13.0.3.1 13.0.3 FR/EN/ES
Racine d'Alsace J-Louis Valory Public site (registration) 13.0.3.3d 13.1 FR
Scealta Ton van Lil Public / Private 13​.1​.2​.5a 14.0 NL/EN
The Severijns / Timmer Familytree Rob Severijns Public / Private 13.1.2.5f 14.0.4 NL, EN
Bastiaanssen Genealogy Jan Bastiaanssen Public / Private 13.0.3.4b 13.1.2 NL, EN, ES
Sejarah Thümann Jeffrey Thümann Public 13.0.3.3a 13.0.3 NL, EN
Barta Joggele aus Mauren Liechtenstein Gerald Meier Private site 13.1.2.5b 14.0 DE, EN, SP, IT, PT, CZ
Your Roots are Showing Harold Craswell Public/Private See Here See Here EN
OurAncestral.Family James Bryant Needs Registration 13​.1​.2​.5c 14.0.1 EN
Private ADC Private 13​.1​.2​.5c 14.0.3 EN
GénéaKat Katryne Public/Private 13​.1​.2​.5e 14.0.3 FR/EN