Difference between revisions of "Admin Places Date"
Robinrichm (talk | contribs) (mod v1b) |
|||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{construction | ||
+ | |notes=Under Construction<br>(The text of this article describes Version 18, but the visualizations are from Version 15.<br>Robin Richmond 28 Sep 2019}} | ||
+ | |||
{{TNGmod | {{TNGmod | ||
| mod_name = Admin Places Date | | mod_name = Admin Places Date | ||
− | | mod_summary = Adds a Creation Date to the Places table, and search features that use it in | + | | mod_summary = Adds a Creation Date to the Places table, and search features that use it in Admin>>Places>>Search |
| mod_validation = | | mod_validation = | ||
− | | mod_last_update = | + | | mod_last_update = 28 Sep 2019 |
− | | download_link = [[Media: | + | | download_link = [[Media:admin_places_date_v12.0.0.3.zip|v12.0.0.3.zip]]{{Tv120}} |
| download_stats = | | download_stats = | ||
| mod_author = [[User:Robinrichm|Robin Richmond]] | | mod_author = [[User:Robinrichm|Robin Richmond]] | ||
Line 10: | Line 13: | ||
| mod_contact = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | | mod_contact = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | ||
| mod_support = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums] | | mod_support = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums] | ||
− | | mod_version = | + | | mod_version = 12.0.0.3 |
| min_TNG_ver = 11.0 (probably earlier) | | min_TNG_ver = 11.0 (probably earlier) | ||
− | | max_TNG_ver = | + | | max_TNG_ver = 12.2 |
− | | TNG_file_list = admin_places.php, installs admin_placesdate_dbsetup.php | + | | TNG_file_list = admin_places.php, installs admin_placesdate_dbsetup.php in TNGv11, and rrplacesdate_dbsetup.php in TNGv12 |
| related_mods = | | related_mods = | ||
| notes = | | notes = | ||
}} | }} | ||
+ | |||
== Purpose of the Mod == | == Purpose of the Mod == | ||
To allow administrators to review the most recently-created Places, this mod installs a setup program that adds a Creation Date field (called 'datecreated') field to the Places table, and modifies admin_places.php (the Admin >> Places >> Search program) to search for places created after a given date, and to display the creation date. | To allow administrators to review the most recently-created Places, this mod installs a setup program that adds a Creation Date field (called 'datecreated') field to the Places table, and modifies admin_places.php (the Admin >> Places >> Search program) to search for places created after a given date, and to display the creation date. | ||
− | |||
− | |||
{| style="margin-right:0.5 em;" align="right" | {| style="margin-right:0.5 em;" align="right" | ||
| __TOC__ | | __TOC__ | ||
|} | |} | ||
− | == | + | |
+ | Before you can use the new 'datecreated' field, you must run the setup program, which is accessible through the expanded status cell in the Mod Manager mod list. The setup program creates the new database field, and populates all Places records with a date of "1 Jan 2000" so that they do not accidentally pick up a current date when they are edited. | ||
+ | }} | ||
+ | |||
+ | == Mod Conflicts == | ||
This mod is compatible with [[Admin Places Search]], [[Admin Places Geocode]], [[Places Subject to Deletion]], [[TreeID-One Column]], [[Google Maps - More Place Levels Mod]] and [[Google maps 15]]. It is '''not compatible with''' [[Tree ID Mod]], but [[TreeID-One Column]] accomplishes the same purpose as [[Tree ID Mod]]. [[TreeID-One Column]] just uses one column instead of two to display the Tree ID and Tree Name, and avoids a couple of mod conflicts. | This mod is compatible with [[Admin Places Search]], [[Admin Places Geocode]], [[Places Subject to Deletion]], [[TreeID-One Column]], [[Google Maps - More Place Levels Mod]] and [[Google maps 15]]. It is '''not compatible with''' [[Tree ID Mod]], but [[TreeID-One Column]] accomplishes the same purpose as [[Tree ID Mod]]. [[TreeID-One Column]] just uses one column instead of two to display the Tree ID and Tree Name, and avoids a couple of mod conflicts. | ||
== Related Mods == | == Related Mods == | ||
* My [[Admin Places Search]] mod coordinates with this mod in that the field buttons defined for the new creation date search field are activated only after [[Admin Places Search]] is installed - along with [[Field Buttons]]. | * My [[Admin Places Search]] mod coordinates with this mod in that the field buttons defined for the new creation date search field are activated only after [[Admin Places Search]] is installed - along with [[Field Buttons]]. | ||
+ | * This mod uses the '''[[Field Buttons]]''' mod to attach small 'field buttons' to several text fields, ''but it is not dependent on [[Field Buttons]]''. Field buttons are configurable (and generally one-character) buttons that are attached to HTML form fields, and that reduce the typing or mouse movements needed to perform several common editing tasks. This mod is not compatible with Field Buttons mod versions earlier than version 3. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{RobinInstallationBoilerplate}} | |
− | |||
− | |||
== Visualizations == | == Visualizations == | ||
Line 61: | Line 55: | ||
== Revision History == | == Revision History == | ||
{| border="0" cellspacing="1" cellpadding="2" class="wikitable" | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
− | + | ! Mod Version!! TNG Version !! Date !! Note | |
− | ! Mod Version | + | |- style="vertical-align:top;" <!-- ############################################################## --> |
− | ! TNG | + | | [[Media:admin_places_date_v12.0.0.3.zip|12.0.0.3]] |
− | ! Date | + | | 12.0 -12.2+ |
− | ! Note | + | | 28 Sep 2019 |
− | |- | + | | |
− | | | + | *Added an InnerModMenu to admin_places.php |
− | | | + | *Now modifies gedimport_misc.php to save the same date/time for all places created by a Gedcom Import. |
− | | | + | *Removed the dummy mod parameter that did nothing more than provide a link to the database setup utility. |
− | | | + | *Changed the database setup program to have tabs for the Mod Manager and the Admin Places Search to make it cleaner for it to be linked from and linked to both programs. |
− | + | *Added a link to the database setup utility in a .cfg file note tag. | |
− | |- | + | |- style="vertical-align:top;" <!-- ############################################################## --> |
− | | 11.0.0. | + | | [[Media:admin_places_date_v12.0.0.2.zip|12.0.0.2]] |
− | | 11.0 - 11.1.2 | + | | 12.0+ |
+ | | 4 May 2018 | ||
+ | | No functional changes; made compatible with TNGv12, and changed the filename of the database setup program. | ||
+ | |- style="vertical-align:top;" <!-- ############################################################## --> | ||
+ | | [[Media:admin_places_date_v11.0.0.1b.zip|11.0.0.1b]] | ||
+ | | 11.0 - 11.1.2 | ||
| 10 Jan 2018 | | 10 Jan 2018 | ||
− | | | + | | No real functional changes. Removed an Admin>>Places tab for running the database setup program, since the it is only meant to be run once. The database setup program is now accessible through the mod description and the mod options in Mod Manager. |
− | |- | + | |- style="vertical-align:top;" <!-- ############################################################## --> |
− | |||
| 11.0.0.1 | | 11.0.0.1 | ||
| 11.0 - 11.1.2+ | | 11.0 - 11.1.2+ | ||
Line 100: | Line 98: | ||
| [[User:Robinrichm|Robin Richmond]] | | [[User:Robinrichm|Robin Richmond]] | ||
| Mod developer | | Mod developer | ||
− | | | + | | 12.0.0.2 |
− | | | + | | 12.0 |
| English | | English | ||
+ | |- | ||
+ | | [https://ourfamilyhistory.club/ Our Family History] | ||
+ | | [[User:Paul Barrett|Paul Barrett]] | ||
+ | | Public/Private site | ||
+ | | 11.0.0.3a | ||
+ | | 11.1.2 | ||
+ | | EN | ||
+ | |- | ||
|} | |} | ||
[[Category:Mods for TNG v11]] | [[Category:Mods for TNG v11]] | ||
+ | [[Category:Mods for TNG v12]] | ||
[[Category:admin_places.php mods]] | [[Category:admin_places.php mods]] |
Revision as of 13:00, 28 September 2019
Under Construction (The text of this article describes Version 18, but the visualizations are from Version 15. Robin Richmond 28 Sep 2019 |
Admin Places Date | ||
---|---|---|
Summary | Adds a Creation Date to the Places table, and search features that use it in Admin>>Places>>Search | |
Validation | ||
Mod Updated | 28 Sep 2019 | |
Download link | v12.0.0.3.zip
| |
Download stats | ||
Author(s) | Robin Richmond | |
Homepage | Robin Richmond's Genealogy Database | |
Mod Support | My Mod Support form or TNG Community Forums | |
Contact Developer | My Mod Support form | |
Latest Mod | 12.0.0.3 | |
Min TNG V | 11.0 (probably earlier) | |
Max TNG V | 12.2 | |
Files modified | admin_places.php, installs admin_placesdate_dbsetup.php in TNGv11, and rrplacesdate_dbsetup.php in TNGv12 | |
Related Mods | ||
Notes |
Purpose of the Mod
To allow administrators to review the most recently-created Places, this mod installs a setup program that adds a Creation Date field (called 'datecreated') field to the Places table, and modifies admin_places.php (the Admin >> Places >> Search program) to search for places created after a given date, and to display the creation date.
Before you can use the new 'datecreated' field, you must run the setup program, which is accessible through the expanded status cell in the Mod Manager mod list. The setup program creates the new database field, and populates all Places records with a date of "1 Jan 2000" so that they do not accidentally pick up a current date when they are edited. }}
Mod Conflicts
This mod is compatible with Admin Places Search, Admin Places Geocode, Places Subject to Deletion, TreeID-One Column, Google Maps - More Place Levels Mod and Google maps 15. It is not compatible with Tree ID Mod, but TreeID-One Column accomplishes the same purpose as Tree ID Mod. TreeID-One Column just uses one column instead of two to display the Tree ID and Tree Name, and avoids a couple of mod conflicts.
Related Mods
- My Admin Places Search mod coordinates with this mod in that the field buttons defined for the new creation date search field are activated only after Admin Places Search is installed - along with Field Buttons.
- This mod uses the Field Buttons mod to attach small 'field buttons' to several text fields, but it is not dependent on Field Buttons. Field buttons are configurable (and generally one-character) buttons that are attached to HTML form fields, and that reduce the typing or mouse movements needed to perform several common editing tasks. This mod is not compatible with Field Buttons mod versions earlier than version 3.
[Show Installation Details]
Requirements
- A working TNG installation.
- An installed current version of the Mod Manager.
- You should backup files listed in the panel on the right.
Procedure
- Remove and delete previous version of this mod.
- Backup the files updated by this mod. They are listed in the panel at the upper right.
- Download the .zip file, Extract its .cfg file to the mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.
Problems?
- Try using the Mod Manager Remove capability
- Contact me through My Mod Support form.
Visualizations
The Admin>>Places>>Search screen After Installation The highlighted items are:
|
Revision History
Mod Version | TNG Version | Date | Note |
---|---|---|---|
12.0.0.3 | 12.0 -12.2+ | 28 Sep 2019 |
|
12.0.0.2 | 12.0+ | 4 May 2018 | No functional changes; made compatible with TNGv12, and changed the filename of the database setup program. |
11.0.0.1b | 11.0 - 11.1.2 | 10 Jan 2018 | No real functional changes. Removed an Admin>>Places tab for running the database setup program, since the it is only meant to be run once. The database setup program is now accessible through the mod description and the mod options in Mod Manager. |
11.0.0.1 | 11.0 - 11.1.2+ | 7 Jan 2018 | New Mod |
Sites using this mod
If you download and install this mod, please add your site to the table below.
URL | User | Note | Mod-Version | TNG-Version | User-language |
---|---|---|---|---|---|
Robin Richmond's Genealogy Database | Robin Richmond | Mod developer | 12.0.0.2 | 12.0 | English |
Our Family History | Paul Barrett | Public/Private site | 11.0.0.3a | 11.1.2 | EN |