Difference between revisions of "Whats New Form Mod"
Bob Carver (talk | contribs) (Add reference to TNG Community Forums v/v Mod Support) |
(Added Category.) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
| mod_summary = Adds People and Image Limits to What's New page | | mod_summary = Adds People and Image Limits to What's New page | ||
| mod_validation = | | mod_validation = | ||
− | | mod_last_update = | + | | mod_last_update = 02 Apr 2024 |
− | | download_link = For | + | | download_link = For{{Tv140}}{{Tv130}}{{Tv120}}{{Tv110}}{{Tv100}}<br>[https://tng.lythgoes.net/wiki/images/a/a6/Whatsnew_form_mod_v10.0.1.3.zip Whatsnew_form_mod_v10.0.1.3.zip] |
| download_stats = <!--View download statistics<br />[http://ccount.ojay.de/index.php?action=stats&id=10,13 See download statistics]--> | | download_stats = <!--View download statistics<br />[http://ccount.ojay.de/index.php?action=stats&id=10,13 See download statistics]--> | ||
| mod_author = Original author [[File:Oname.gif|top|link=User:ojay]]<br />Current support [[User:Bob Carver|Bob Carver]] | | mod_author = Original author [[File:Oname.gif|top|link=User:ojay]]<br />Current support [[User:Bob Carver|Bob Carver]] | ||
| mod_url = '''{{PAGENAME}}''' (This page) | | mod_url = '''{{PAGENAME}}''' (This page) | ||
− | | mod_support =[ | + | | mod_support = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums] |
− | | mod_contact = | + | | mod_contact = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums] |
− | | mod_version = 10.0.1. | + | | mod_version = 10.0.1.3 |
− | | min_TNG_ver = 10.0 | + | | min_TNG_ver = 10.0 |
| max_TNG_ver = 14.x | | max_TNG_ver = 14.x | ||
− | | TNG_file_list = whatsnew.php<br />languages/English/cust_text.php<br />languages/English-UTF8/cust_text.php<br />languages/German/cust_text.php<br />languages/German-UTF8/cust_text.php<br />languages/French/cust_text.php<br />languages/French-UTF8/cust_text.php<br />languages/Dutch/cust_text.php<br />languages/Dutch-UTF8/cust_text.php | + | | TNG_file_list = admin_genconfig.php<br/>whatsnew.php<br />languages/English/cust_text.php<br />languages/English-UTF8/cust_text.php<br />languages/German/cust_text.php<br />languages/German-UTF8/cust_text.php<br />languages/French/cust_text.php<br />languages/French-UTF8/cust_text.php<br />languages/Dutch/cust_text.php<br />languages/Dutch-UTF8/cust_text.php<br />languages/English/admintext.php<br />languages/English-UTF8/admintext.php<br />languages/German/admintext.php<br />languages/German-UTF8/admintext.php<br />languages/French/admintext.php<br />languages/French-UTF8/admintext.php<br />languages/Dutch/admintext.php<br />languages/Dutch-UTF8/admintext.php |
| related_mods = | | related_mods = | ||
− | | notes = It | + | | notes = It's possible (though unverified), that lower TNG-versions can handle this change of the Whats New Form Mod. |
}}{| style="margin-right:0.5 em;" align="right" | }}{| style="margin-right:0.5 em;" align="right" | ||
| __TOC__ | | __TOC__ | ||
|} | |} | ||
== Introduction == | == Introduction == | ||
− | This modification | + | 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 == | == Developer == | ||
− | This mod was developed by [[File:Oname.gif|top|link=User:ojay]] | + | This mod was developed by [[File:Oname.gif|top|link=User:ojay]] and is currently supported by [[User:Bob Carver|Bob Carver]]. |
== Revision History == | == Revision History == | ||
+ | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
+ | |- | ||
+ | ! Mod Version | ||
+ | ! TNG Version | ||
+ | ! Date | ||
+ | ! Contents | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |10.0.1.3 | ||
+ | | 10.0 | ||
+ | | style="white-space: nowrap;"|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. | ||
− | + | |- style="vertical-align:top;" | |
− | |||
− | |||
− | |||
− | |||
|10.0.1.2 | |10.0.1.2 | ||
− | |18 Mar 2024 | + | | 10.0 |
+ | | style="white-space: nowrap;"|18 Mar 2024 | ||
|Modify internals to conform to [[Mod Guidelines#Coding%20recommendations|TNG Mod Guidelines]] | |Modify internals to conform to [[Mod Guidelines#Coding%20recommendations|TNG Mod Guidelines]] | ||
− | |- | + | |
− | | 10.0.1.0 || 07 Mar 2024 | + | |- style="vertical-align:top;" |
+ | | 10.0.1.1 | ||
+ | | 10.0 | ||
+ | | style="white-space: nowrap;"|07 Mar 2024 | ||
+ | | | ||
* Prevent SQL error when values absent | * Prevent SQL error when values absent | ||
* Improved form field handling | * Improved form field handling | ||
Line 46: | Line 63: | ||
# Download the appropriate zip file as shown in the mod summary in the upper right corner of the page. | # Download the appropriate zip file as shown in the mod summary in the upper right corner of the page. | ||
# Extract the file from the downloaded zip file into the '''mods''' folder or FTP the extracted file to your mods folder. | # 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 | + | # 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 == | == In the event of a problem == | ||
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability. | * Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability. | ||
− | * Copy the backup of the affected files back to your TNG | + | * Copy the backup of the affected files back to your TNG directory. |
* Retry installing mod. | * Retry installing mod. | ||
* Contact us through the [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums]. | * Contact us through the [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums]. | ||
== Uninstalling the mod == | == Uninstalling the mod == | ||
− | If | + | If you want to completely '''Remove''' (uninstall) this mod and all its tables, you should |
# click the '''Uninstall''' button to uninstall the mod | # click the '''Uninstall''' button to uninstall the mod | ||
# click the '''Delete''' button to delete the config file from the mods folder. | # click the '''Delete''' button to delete the config file from the mods folder. | ||
Line 64: | Line 81: | ||
== Visualization == | == Visualization == | ||
+ | [[File:WhatNewModVisualization1.jpg|left|frame|General Settings >> Miscellaneous Changes]] | ||
+ | <br /> | ||
[[File:WN English extra.png|alt="English-version w/ general What's New text"|left|frame|'''English-version w/ general What's New text''']] | [[File:WN English extra.png|alt="English-version w/ general What's New text"|left|frame|'''English-version w/ general What's New text''']] | ||
− | |||
[[File:WN English.png|left|alt="English-version"|frame|'''English-version''']] | [[File:WN English.png|left|alt="English-version"|frame|'''English-version''']] | ||
<br /> | <br /> | ||
Line 75: | Line 93: | ||
<div style="clear: both;"></div> | <div style="clear: both;"></div> | ||
== Languages == | == 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. | |
<pre> | <pre> | ||
// Whats new: Selection days/Photos per Category | // Whats new: Selection days/Photos per Category | ||
Line 85: | Line 103: | ||
</pre> | </pre> | ||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 107: | Line 124: | ||
|} | |} | ||
− | == Sites using this | + | == Sites using this Mod == |
If you download and install this mod, please add your TNG site to the table below: | If you download and install this mod, please add your TNG site to the table below: | ||
Line 126: | Line 143: | ||
| see [[User:ojay|here]] | | see [[User:ojay|here]] | ||
| DE,NL,EN | | DE,NL,EN | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | |[https://carverfamilytree.us Carver Family Tree] | ||
+ | | style="white-space: nowrap;"|[[User:Bob Carver|Bob Carver]] | ||
+ | |Public / Private | ||
+ | |10.0.1.3 | ||
+ | | {{Tv1404}} | ||
+ | |EN | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
Line 142: | Line 167: | ||
| {{Tv1404}} | | {{Tv1404}} | ||
| EN,DE,FR,NL,ES | | EN,DE,FR,NL,ES | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- style="vertical-align:top; horizontal-align:center;" | |- style="vertical-align:top; horizontal-align:center;" | ||
| [https://www.severijns.family/Severijns The Severijns / Timmer Familytree] | | [https://www.severijns.family/Severijns The Severijns / Timmer Familytree] | ||
− | | Rob Severijns | + | | [[User:Severijns|Rob Severijns]] |
| Public / Private | | Public / Private | ||
− | | 10.0.1. | + | | 10.0.1.3 |
| {{Tv1404}} | | {{Tv1404}} | ||
| NL, EN | | NL, EN | ||
Line 166: | Line 183: | ||
| 14.0.4 | | 14.0.4 | ||
| FR | | FR | ||
− | |||
|} | |} | ||
Line 176: | Line 192: | ||
[[Category:whatsnew.php mods]] | [[Category:whatsnew.php mods]] | ||
+ | [[Category:admin_genconfig.php mods]] | ||
[[Category:cust_text.php English mods]] | [[Category:cust_text.php English mods]] |
Latest revision as of 21:33, 16 April 2024
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] |
|
Whats New Form Mod | ||||||
---|---|---|---|---|---|---|
Summary | Adds People and Image Limits to What's New page | |||||
Validation | ||||||
Mod Updated | 02 Apr 2024 | |||||
Download link | For
Whatsnew_form_mod_v10.0.1.3.zip | |||||
Download stats | ||||||
Author(s) | Original author 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 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.
|
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 |
|
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- 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.
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.
- Retry installing mod.
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and all its tables, you should
- click the Uninstall button to uninstall the mod
- 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
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 | (no public site) | see here | see here | DE,NL,EN | ||
Carver Family Tree | Bob Carver | Public / Private | 10.0.1.3 |
|
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 |
|
EN,DE,FR,NL,ES | |
The Severijns / Timmer Familytree | Rob Severijns | Public / Private | 10.0.1.3 |
|
NL, EN | |
Racine d'Alsace | J-Louis Valory | Public (registration) | 10.0.1.0 | 14.0.4 | FR |