Whats New Form Mod

From TNG_Wiki
Jump to navigation Jump to search


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


Whats New Form Mod
Summary Adds People and Image Limits to What's New page
Validation
Mod Updated 02 Apr 2024
Download link For
TNG 14.0
TNG 13.0
TNG 12.0
TNG 11.0
TNG 10.0

Whatsnew_form_mod_v10.0.1.3.zip
Download stats
Author(s) Original author Oname.gif
Current support Bob Carver
Homepage Whats New Form Mod (This page)
Mod Support TNG Community Forums
Contact Developer TNG Community Forums
Latest Mod 10.0.1.3
Min TNG V 10.0
Max TNG V 14.x
Files modified
admin_genconfig.php
whatsnew.php
languages/English/cust_text.php
languages/English-UTF8/cust_text.php
languages/German/cust_text.php
languages/German-UTF8/cust_text.php
languages/French/cust_text.php
languages/French-UTF8/cust_text.php
languages/Dutch/cust_text.php
languages/Dutch-UTF8/cust_text.php
languages/English/admintext.php
languages/English-UTF8/admintext.php
languages/German/admintext.php
languages/German-UTF8/admintext.php
languages/French/admintext.php
languages/French-UTF8/admintext.php
languages/Dutch/admintext.php
languages/Dutch-UTF8/admintext.php
Related Mods
Notes
It's possible (though unverified), that lower TNG-versions can handle this change of the Whats New Form Mod.

Introduction

This modification provides the means whereby the public What's New page includes the capability to limit the inclusion of recent Persons and Families that have changed, and the maximum number of media files to preview (e.g., Photos, Documents, Headstones). When the What's New page is first used within a browser session, these two limits will start out as per values selected by a system administrator using General Settings >> Miscellaneous options.

Developer

This mod was developed by Oname.gif and is currently supported by Bob Carver.

Revision History

Mod Version TNG Version Date Contents
10.0.1.3 10.0 02 Apr 2024 This version focuses on the General Setting > Miscellaneous interface where, instead of the earlier use of hard-coded defaults, the values for Days and Photos are now selected.
  • Both values are now designated using drop-down lists (thereby preventing erroneous input).
  • Field labels, type, and explanations were modified to more accurately reflect the purpose of these default values. (See Visualization below)
  • Support for Dutch, French, and German versions of field labels and explanations is provided.
  • These default values serve as the starting point for parallel options on the What's New page.
10.0.1.2 10.0 18 Mar 2024 Modify internals to conform to TNG Mod Guidelines
10.0.1.1 10.0 07 Mar 2024
  • Prevent SQL error when values absent
  • Improved form field handling
  • Added non-UTF text for French, German, Dutch
  • Address some minor language idiosyncrasies

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

General Settings >> Miscellaneous Changes


"English-version w/ general What's New text"
English-version w/ general What's New text
"English-version"
English-version


"German-version"
German-version


"Dutch-version"
Dutch-version


"French-version"
French-version

Languages

Support for French, German and Dutch languages is included. If you would like to have another language supported, you can certainly add our own cust_text.php file, or the author would be happy to work with you to include that with the Mod.

// Whats new: Selection days/Photos per Category
$text['wndays'] = "Days";
$text['wnfotos'] = "Photos";
$text['wnlast'] = "(Last ";
$text['wndayswalo'] = "Days With A Limit of";
$text['wnphotospc'] = "Photos per Category)";
cust_text.php
...=...;
English Deutsch Nederlands Français
$text['wndays'] "Days" "Tage" "Dagen" "Jours"
$text['wnfotos'] "Photos" "Fotos" "Fotos" "Photos"
$text['wnlast'] "(Last " "(Letzte " "(Laatste " "("
$text['wndayswalo'] "Days With A Limit of" "Tage mit max." " dagen met max. " "derniers jours avec une limite de"
$text['wnphotospc'] "Photos per Category)" " Fotos pro Kategorie)" "Foto's per categorie)" "Photos par catégorie)"

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
My family Oname.gif (no public site) see here see here DE,NL,EN
Carver Family Tree Bob Carver Public / Private 10.0.1.3
TNG 14.0.4
EN
Bumbery-Wangler Bob Bumbery Public site 10.0.0.0 11.1.2 EN
Auf den Spuren meiner Ahnen Michael Klein Public/Private site 10​.0​.1​.0
TNG 14.0.4
EN,DE,FR,NL,ES
The Severijns / Timmer Familytree Rob Severijns Public / Private 10.0.1.3
TNG 14.0.4
NL, EN
Racine d'Alsace J-Louis Valory Public (registration) 10.0.1.0 14.0.4 FR