Difference between revisions of "Remove Last Gedcom Import Messages"
(Removed download restriction) |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{TNGver | ||
+ | |ver=10.1.0 | ||
+ | |notes= | ||
+ | This mod is redundant from TNG v10.1 where, by default, the 'Date of Last Import' will not be displayed on the whatsnew.php and statistics.php pages. The 'Date of Last Import' can be configured to display on these pages by setting a default tree in 'Admin >> Setup >> Configuration >> General Settings >> Site Design and Definition' and the 'Show last import' option in 'Admin >> Setup >> Configuration >> General Settings >> Miscellaneous' being set to 'Yes'.}} | ||
{{TNGmod | {{TNGmod | ||
− | | mod_name = | + | | mod_name = Remove Last Gedcom Import messages |
− | | mod_summary = Disables | + | | mod_summary = Disables display of date of last gedcom import(except for Admin >> Trees) |
| mod_validation = The mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]] | | mod_validation = The mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]] | ||
− | | download_link = [ | + | | download_link = [http://www.katiandgraham.com/genealogy/ccount/click.php?id=32&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} remove_latest_gedcom_messages_V10.0.0.0.zip] {{Tv100}} |
| download_stats = [http://www.katiandgraham.com/genealogy/ccount/index.php?action=stats&groupid=17 See download statistics] | | download_stats = [http://www.katiandgraham.com/genealogy/ccount/index.php?action=stats&groupid=17 See download statistics] | ||
| mod_author = Graham Chamberlain<br />Config file by Graham Chamberlain | | mod_author = Graham Chamberlain<br />Config file by Graham Chamberlain | ||
Line 11: | Line 15: | ||
| mod_version = V10.0.0.0 for TNG V10+ | | mod_version = V10.0.0.0 for TNG V10+ | ||
| min_TNG_ver = not yet tested with versions lower than v10 | | min_TNG_ver = not yet tested with versions lower than v10 | ||
− | | max_TNG_ver = 10 | + | | max_TNG_ver = 10.0.3 |
| TNG_file_list = genlib.php; statistics.php | | TNG_file_list = genlib.php; statistics.php | ||
| related_mods = | | related_mods = | ||
− | | notes = | + | | notes = '''<span style="color: Red">This mod is redundant from TNG v10.1</span>''' |
}} | }} | ||
{|align=right | {|align=right | ||
Line 22: | Line 26: | ||
== Purpose of Mod == | == Purpose of Mod == | ||
− | This mod is intended for those who do not wish to display the date of the last GEDCOM file import. | + | This mod is intended for those who do not wish to display the date of the last GEDCOM file import. This information is displayed on the '''What's New''', '''Statistics''' and '''Admin > Trees''' pages. |
+ | |||
+ | '''NOTE''': The mod does not delete the last import date from the Admin > Trees page | ||
Line 38: | Line 44: | ||
== Alternative Method == | == Alternative Method == | ||
+ | |||
+ | '''IMPORTANT: Be sure to backup your tng_trees table before making any of the following changes'''. | ||
The 'Last Gedcom Import ' messages can also be inhibited by editing the '''tng_trees''' table and deleting the date in the 'lastimportdate' field. | The 'Last Gedcom Import ' messages can also be inhibited by editing the '''tng_trees''' table and deleting the date in the 'lastimportdate' field. | ||
+ | |||
+ | The change to the 'lastimportdate' field can be made with a query using the following SQL code: | ||
+ | |||
+ | Use this if you have more than one tree name: | ||
+ | UPDATE tng_trees SET lastimportdate = NULL WHERE 'gedcom' = 'your_tree_ID'; | ||
+ | otherwise just use: | ||
+ | UPDATE tng_trees SET lastimportdate = NULL | ||
+ | It is recommended that you run this SQL in phpMyAdmin. It can also be run in TNG > Admin > Reports but warnings may be displayed depending on various settings on your server. However, the change will still be made in the table. | ||
Line 68: | Line 84: | ||
! User-language | ! User-language | ||
|- | |- | ||
− | | . | + | |http://dojoba-verlag.de/Stammbaum |
− | | | + | |barjo07 |
− | | | + | | |
− | | . | + | |v10.0.0 |
− | | | + | |Dutch/German/English |
|- | |- | ||
Latest revision as of 04:03, 16 April 2017
Remove Last Gedcom Import messages | ||
---|---|---|
Summary | Disables display of date of last gedcom import(except for Admin >> Trees) | |
Validation | The mod is XHTML compliant. | |
Mod Updated | {{{mod_last_update}}} | |
Download link | remove_latest_gedcom_messages_V10.0.0.0.zip
| |
Download stats | See download statistics | |
Author(s) | Graham Chamberlain Config file by Graham Chamberlain | |
Homepage | Remove Last Gedcom Import Messages (This page) | |
Mod Support | My Mod Support | |
Contact Developer | Contact Developer | |
Latest Mod | V10.0.0.0 for TNG V10+ | |
Min TNG V | not yet tested with versions lower than v10 | |
Max TNG V | 10.0.3 | |
Files modified | genlib.php; statistics.php | |
Related Mods | ||
Notes | This mod is redundant from TNG v10.1 |
Purpose of Mod
This mod is intended for those who do not wish to display the date of the last GEDCOM file import. This information is displayed on the What's New, Statistics and Admin > Trees pages.
NOTE: The mod does not delete the last import date from the Admin > Trees page
Mod Developer
The Mod Developer is Graham Chamberlain.
Automated Installation
- Download the appropriate file for your TNG version from the download links in the mod summary area in the upper right.
- Extract the downloaded zip 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 appropriate file.
Alternative Method
IMPORTANT: Be sure to backup your tng_trees table before making any of the following changes.
The 'Last Gedcom Import ' messages can also be inhibited by editing the tng_trees table and deleting the date in the 'lastimportdate' field.
The change to the 'lastimportdate' field can be made with a query using the following SQL code:
Use this if you have more than one tree name:
UPDATE tng_trees SET lastimportdate = NULL WHERE 'gedcom' = 'your_tree_ID';
otherwise just use:
UPDATE tng_trees SET lastimportdate = NULL
It is recommended that you run this SQL in phpMyAdmin. It can also be run in TNG > Admin > Reports but warnings may be displayed depending on various settings on your server. However, the change will still be made in the table.
Revision History
Version | Date | Contents |
---|---|---|
v10.0.0.0 | 9 Oct 2014 | Initial version |
TNG User 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 |
---|---|---|---|---|
http://dojoba-verlag.de/Stammbaum | barjo07 | v10.0.0 | Dutch/German/English |