Difference between revisions of "Unused Media"

From TNG_Wiki
Jump to navigation Jump to search
 
(107 intermediate revisions by 33 users not shown)
Line 3: Line 3:
 
| mod_summary    = Adds a tab (Unused Media) to the Admin > Media page
 
| mod_summary    = Adds a tab (Unused Media) to the Admin > Media page
 
| mod_validation  = Admin application, validation not attempted
 
| mod_validation  = Admin application, validation not attempted
|  download_link  = ‎for {{Tv1010}}<br />[[Media:Unused_media_v10.1.0.3.zip | Unused_media_v10.1.0.3.zip]]<hr />‎for {{Tv100}}<br />[[Media:Unused_media_v10.0.0.2.zip | Unused_media_v10.0.0.2.zip]]<hr />‎for {{Tv920}}<br />[[Media:Unused_media_v9.2.0.1.zip | Unused_media_v9.2.0.1.zip]]<hr />for {{Tv90}}<br />[[Media:Unused_media_v9.0.0.1.zip | Unused_media_v9.0.0.1.zip]]<hr />for {{Tv80}}<br />[[Media:Unused_media_v8.1.3.zip‎ | Unused_media_v8.1.3.zip]]<hr />for {{Tv70}}<br />[[Media:Unused_media_v3.0.zip | Unused_media_v3.0.zip]]
+
| mod_last_update = 2 Jan 2023
| mod_author      = Warren S Gilbert  
+
|  download_link  = ‎for {{tv140}}{{Tv130}}<br />[[Media:Unused_media_v14.0.0.10.zip | Unused_media_v14.0.0.10.zip]]<hr />for {{Tv120}}<br />[[Media:Unused_media_v12.0.0.2.zip | Unused_media_v12.0.0.2.zip]]<hr />‎for {{Tv1010}}<br />[[Media:Unused_media_v10.1.0.3.zip | Unused_media_v10.1.0.3.zip]]<hr />‎for {{Tv100}}<br />[[Media:Unused_media_v10.0.0.2.zip | Unused_media_v10.0.0.2.zip]]<hr />‎for {{Tv920}}<br />[[Media:Unused_media_v9.2.0.1.zip | Unused_media_v9.2.0.1.zip]]<hr />for {{Tv90}}<br />[[Media:Unused_media_v9.0.0.1.zip | Unused_media_v9.0.0.1.zip]]<hr />for {{Tv80}}<br />[[Media:Unused_media_v8.1.3.zip‎ | Unused_media_v8.1.3.zip]]<hr />for {{Tv70}}<br />[[Media:Unused_media_v3.0.zip | Unused_media_v3.0.zip]]
| mod_url        = [[Maintenance - Unused Media]]
+
| download_stats  = n/a
| mod_support    = [https://www.gilbert-family-history.net/mod_support.php Support for Warren Gilbert's mods]
+
| mod_author      = [[User:WarrenGilbert|Warren S Gilbert]]
| mod_version    = 10.1.0.3 for TNG 10.1 and above<br />10.0.0.2 for TNG 10.0<br />9.2.0.1 for TNG V9.2<br />9.0.0.1 for TNG V9.0<br />8.1.3 for TNG V8<br />3.0 for TNG V7
+
| mod_url        = [[Unused Media]]
 +
| mod_support    = [https://www.gilbert-family-history.net/mod_support.php?mod={{PAGENAMEE}} Support for Warren Gilbert's mods]
 +
| mod_version    = 14.0.0.10 for TNG 13.0 and above<br />12.0.0.2 for TNG 12.0 and above<br />10.1.0.3 for TNG 10.1 and above<br />10.0.0.2 for TNG 10.0<br />9.2.0.1 for TNG V9.2<br />9.0.0.1 for TNG V9.0<br />8.1.3 for TNG V8<br />3.0 for TNG V7
 
| mod_contact =  
 
| mod_contact =  
 
| min_TNG_ver    = 7.0.0
 
| min_TNG_ver    = 7.0.0
| max_TNG_ver    = 11.0.1
+
| max_TNG_ver    = 14+
| TNG_file_list  = See [[Maintenance_-_Unused_Media#TNG_Modules_Involved | TNG Modules Involved]]
+
| TNG_file_list  = See [[Unused_Media#TNG_Modules_Involved | TNG Modules Involved]]
 
| related_mods    =  
 
| related_mods    =  
 
| notes          =  
 
| notes          =  
}}
+
}}{|align=right
 
 
{|align=right
 
 
|__TOC__
 
|__TOC__
 
|}
 
|}
Line 25: Line 25:
 
== Developer ==
 
== Developer ==
  
This mod was developed by Warren S Gilbert
+
This mod was developed by [[User:WarrenGilbert|Warren S Gilbert]]
  
 
== Requirements ==
 
== Requirements ==
* A working TNG installation. Automated installation has been tested on TNG versions 7.1.3 to 11.0.1.
+
* A working TNG installation. Automated installation has been tested on TNG versions 7.1.3 to 13.0.0
 
* A backup of the [[Maintenance_-_Unused_Media#TNG_Modules_Involved | TNG modules involved]]
 
* A backup of the [[Maintenance_-_Unused_Media#TNG_Modules_Involved | TNG modules involved]]
  
Line 37: Line 37:
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''unused_media.cfg'''.
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''unused_media.cfg'''.
  
'''Note''' that the mod adds 2 entries to customconfig.php.
+
==Custom text additions==
 +
 
 +
The config file includes the English, French, Danish and Dutch language custom texts.
 +
 
 +
For other languages you can modify the config file to add the custom text or manually add to whatever language you like.
 +
 
 +
==Custom config==
 +
 
 
If you do not already have a customconfig.php file, create a file named customconfig.php containing only the php opening and closing tags: -
 
If you do not already have a customconfig.php file, create a file named customconfig.php containing only the php opening and closing tags: -
 
<pre><?php
 
<pre><?php
 
?></pre>
 
?></pre>
 
and copy it to your site in the same folder as the config.php file (usually the TNG root).
 
and copy it to your site in the same folder as the config.php file (usually the TNG root).
 
'''Note''' that the config file only includes the English language changes. If you support multiple languages, you will need to modify the config file to add the custom text for your other languages.
 
  
 
==Revision History==
 
==Revision History==
 
+
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
{| border="1" cellspacing="5" cellpadding="2" width="75%" class="wikitable"
 
 
|-
 
|-
 
! Version
 
! Version
 
! Date
 
! Date
 
! Contents
 
! Contents
|-
+
 
| v10.1.0.3
+
|- style="vertical-align:top;"
| 11 June 2016
+
|14.0.0.10
 +
| style="white-space: nowrap;"|2 Jan 2023
 +
|
 +
*Added a Dutch translation, courtesy of [[User:Severijns|Rob Severijns]]
 +
 
 +
|- style="vertical-align:top;"
 +
|13.0.0.9
 +
| style="white-space: nowrap;"|19 Apr 2022
 +
|
 +
*Ensure folder list file is created when needed.
 +
*Other bug fixes
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.0.8
 +
| style="white-space: nowrap;"|20 May 2021
 +
|
 +
*Added a French translation, courtesy of [[User:MichelKirsch|Michel Kirsch]]
 +
 
 +
|- style="vertical-align:top;"
 +
| 13.0.0.7
 +
| style="white-space: nowrap;"|8 May 2021
 +
|
 +
*Added a Danish translation, courtesy of Brett
 +
 
 +
|- style="vertical-align:top;"
 +
|13.0.0.6
 +
| style="white-space: nowrap;"|20 Oct 2020
 +
|
 +
*Fix code causing php notices
 +
 
 +
|- style="vertical-align:top;"
 +
|13.0.0.4
 +
| style="white-space: nowrap;"|15 Oct 2020
 +
|
 +
* Remove deprecated php function (get_magic_quotes_gpc)
 +
 
 +
|- style="vertical-align:top;"
 +
|13.0.0.3
 +
| style="white-space: nowrap;"|13 Oct 2020
 +
|
 +
*Updated for TNG 13 new Admin layout
 +
 
 +
|- style="vertical-align:top;"
 +
|12.0.0.2
 +
| style="white-space: nowrap;"|7 Sep 2018
 +
|
 +
*Fix bug causing non-creation of a required file
 +
 
 +
|- style="vertical-align:top;"
 +
|12.0.0.1
 +
| style="white-space: nowrap;"|3 Sep 2018
 
|
 
|
* Changed to use preg_replace instead of ereg_replace (function deprecated/removed).
+
*Allow the search to be delayed until values are entered (mod options)
* Added option to check for "dotfiles" (.DS_Store etc.).<br />
+
*Ignore files with specific extensions, files and folders with specific names (mod options)
* Bug fix.
+
*Allow the search to be limited to a single folder (mod options)
|-
+
* Write/read mod specific files to extensions folder rather than TNG root. (see More Information, below)
| v10.1.0.1
+
*Help for this area expanded/re-written for the mod
| 28 January 2015
+
 
 +
|- style="vertical-align:top;"
 +
| 12.0.0.0
 +
| style="white-space: nowrap;"|2 May 2018
 +
|
 +
*Updated for changes in TNG v12
 +
 
 +
|- style="vertical-align:top;"
 +
|10.1.0.3
 +
| style="white-space: nowrap;"|11 Jun 2016
 
|
 
|
* Updated to replace mysql calls with tng (mysqli) calls.  
+
*Changed to use preg_replace instead of ereg_replace (function deprecated/removed).
|-
+
*Added option to check for "dotfiles" (.DS_Store etc.).
| v10.0.0.2
+
*Bug fix.
| 10 May 2014
+
 
 +
|- style="vertical-align:top;"
 +
|10.1.0.1
 +
| style="white-space: nowrap;"|28 Jan 2015
 
|
 
|
* Fix to work when a folder holds more than one media type.  
+
*Updated to replace mysql calls with tng (mysqli) calls.
|-
+
 
| v10.0.0.1
+
|- style="vertical-align:top;"
| 24 Feb 2014
+
|10.0.0.2
 +
| style="white-space: nowrap;"|10 May 2014
 +
|
 +
*Fix to work when a folder holds more than one media type.
 +
 
 +
|- style="vertical-align:top;"
 +
| 10.0.0.1
 +
| style="white-space: nowrap;"|24 Feb 2014
 
|
 
|
* Fix a bug when media is in a subfolder.  
+
* Fix a bug when media is in a subfolder.
 
|}
 
|}
  
  
 +
== More Information==
  
== More Information ==
+
*With this mod installed, files can be deleted from the server either individually or by deleting selected files.
 
+
*Files can be excluded from the report and will then be recorded in file 'unusedmedia.txt' in the extensions folder for v12.0.0.1 or later, in the TNG root folder of your site if you are using TNG v8 or later, or the admin folder of your site if you are using TNG v7. If not already present, 'unusedmedia.txt' will be created the first time you choose to exclude a file. The file is optional, and the report will function whether or not it exists.
With this mod installed, files can be deleted from the server either individually or by deleting selected files.<br />
+
* If you install v12.0.0.1 or later, and have used an earlier version of Unused Media, unusedmedia.txt and unusedmediatemp.txt will be in the TNG root. This version creates them in the extensions folder. unusedmedia.txt contains the names of media to be excluded. If you have excluded files from the report, and wish to continue excluding them, you should move this file to the extensions folder. Otherwise, both files can safely be deleted from the TNG root.
Files can be excluded from the report and will then be recorded in file 'unusedmedia.txt' in the TNG root folder of your site if you are using TNG v8 or later, or the admin folder of your site if you are using TNG v7. If not already present, 'unusedmedia.txt' will be created the first time you choose to exclude a file. The file is optional, and the report will function whether or not it exists.<br />
+
* Excluded files are not normally listed, but there is an option for them to be shown, and they can then be included back in the normal report.
Excluded files are not normally listed, but there is an option for them to be shown, and they can then be included back in the normal report.
 
  
== 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
 
* Or copy the backup versions of the TNG modules involved.
 
* Or copy the backup versions of the TNG modules involved.
  
== Visualization of this mod ==
+
==Visualization of this mod==
  
[[Image:UnusedMedia.jpg]]
+
[[Image:UnusedMedia.png]]
  
== Side effects ==
+
==Side effects==
  
 
As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented.  (Using the [[Mod Manager]] to remove the mod before the upgrade and re-installing the mod after the upgrade greatly simplifies this process).
 
As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented.  (Using the [[Mod Manager]] to remove the mod before the upgrade and re-installing the mod after the upgrade greatly simplifies this process).
  
== TNG Modules Involved ==
+
==TNG Modules Involved==
=== TNG V11, V10, V9 ===  
+
===TNG V14===
The same as in V8
+
*as for TNG V13 (below), but also:
 +
*adds custom text to languages/Dutch/cust_text.php and languages/Dutch-UTF8/cust_text.php
 +
 
 +
===TNG V13===
 +
*as for TNG V12 (below), but also:
 +
*adds custom text to languages/Danish/cust_text.php, languages/Danish-UTF8/cust_text.php, languages/French/cust_text.php, languages/French-UTF8/cust_text.php
  
=== TNG V8 ===
+
===TNG V12, V11, V10, V9, V8===  
In TNG V8, this mod:
+
*modifies the following TNG modules customconfig.php, admin_media.php, admin_editmedia.php, admin_newmedia.php, admin_ordermediaform.php, admin_photoimport.php, admin_thumbnails.php, languages/English/media_help.php
* modifies the following TNG modules customconfig.php, admin_media.php, admin_editmedia.php, admin_newmedia.php, admin_ordermediaform.php, admin_photoimport.php, admin_thumbnails.php, languages/English/media_help.php
+
*adds custom text to languages/English/cust_text.php and languages/English-UTF8/cust_text.php
* adds custom text to languages/English/cust_text.php and languages/English-UTF8/cust_text.php
 
  
=== TNG V7 ===
+
===TNG V7===
 
In TNG V7, this mod:
 
In TNG V7, this mod:
  
* modifies the following TNG modules customconfig.php, admin/media.php, admin/editmedia.php, admin/newmedia.php, admin/ordermediaform.php, admin/photoimport.php, admin/thumbnails.php, and English/media_help.php
+
*modifies the following TNG modules customconfig.php, admin/media.php, admin/editmedia.php, admin/newmedia.php, admin/ordermediaform.php, admin/photoimport.php, admin/thumbnails.php, and English/media_help.php
 
* adds custom text to English/cust_text.php
 
* adds custom text to English/cust_text.php
  
 +
==Sites using this mod==
 +
If you download and install this mod, please add your TNG site to the table below:
  
== Sites using this mod ==
 
If you download and install this mod, please add your TNG site to the table below!
 
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
|-
 
|-
Line 120: Line 197:
 
! User
 
! User
 
! Note
 
! Note
! Mod-Version/TNG-Version
+
! Mod-Version
 +
! TNG-Version
 
! User-language
 
! User-language
|-
+
 
| [https://www.teige.de My family]
+
|- style="vertical-align:top;"
| [[image:Oname.gif‎|bottom]]
+
| [https://www.treichel-familie.de Treichel-Familie.de]
| (no public site)
+
| [[User:EAndy|Andreas Treichel]]
| see at [[File:Oname.gif|bottom|link=User:ojay]] site
+
| Public & Private
| D,(NL),(GB)
+
| 14​.0​.0​.10
|-
+
| 14.0.3
| [http://www.vdheuvel.org Van den Heuvel genealogy]
+
| DE, UK, FR, ES, PL
| [[User:marcombv|Marco van den Heuvel]]
+
 
| ...
+
|- style="vertical-align:top;"
| 9.0.0.1/9.0.3
+
|[http://drzewo.online/ Family tree of Marcin & Emilia Senderski]
| NL, EN
+
|[[User:Mycroft|Marcin Senderski]]
|-
+
|Only home page is public
| The Zausmer Forest
+
|13.0.0.6
| [[User:Joyaa|Joyaa Antares]]
+
|13.0.4
| (no public site)
+
|EN, PL
| 10.1.0.1/10.1.3
+
 
 +
|- style="vertical-align:top;"
 +
|[https://www.teige.de My family]
 +
|[[image:Oname.gif‎|bottom]]
 +
|(no public site)
 +
|see at [[File:Oname.gif|bottom|link=User:ojay]] site
 +
|see at [[File:Oname.gif|bottom|link=User:ojay]] site
 +
|D,(NL),(GB)
 +
 
 +
|- style="vertical-align:top;"
 +
|[http://www.vdheuvel.org Van den Heuvel genealogy]
 +
|[[User:marcombv|Marco van den Heuvel]]
 +
|...
 +
| 9.0.0.1
 +
|9.0.3
 +
|NL, EN
 +
 
 +
|- style="vertical-align:top;"
 +
| [http://www.katiandgraham.com/genealogy/index.php Chamberlain &amp; Eidenbenz Genealogy]
 +
| [[User:Hiraeth|Graham Chamberlain]]
 +
|Public Site
 +
|12.0.0.0
 +
|12.0.0
 +
|EN, FR, DE, SP, NL
 +
 
 +
|- style="vertical-align:top;"
 +
|[https://zausmerforest.com Zausmer Forest]
 +
|[[User:Joyaa|Joyaa Antares]]
 +
|Private site
 +
|14.0.0.10
 +
|14.0.2
 +
|EN, FR
 +
 
 +
|- style="vertical-align:top;"
 +
|[http://nordicancestry.info Nordic Ancestry]
 +
|[[User:Mfenger|Mogens C. Fenger]]
 +
|...
 +
|9.0.0.0
 +
|9.1.1
 +
|EN, DA
 +
 
 +
|- style="vertical-align:top;"
 +
|[http://www.arsenaultfamily.com/ Arsenault and Simpson Family Genealogy]
 +
|[[User:BobA|Bob Arsenault]]
 +
|not a public site
 +
| 9.0.0.0
 +
|9.0.3
 
|EN
 
|EN
|-
+
 
| [http://nordicancestry.info Nordic Ancestry]
+
|- style="vertical-align:top;"
| [[User:Mfenger|Mogens C. Fenger]]
+
|[http://www.appelthaus.com/ AppeltHaus Genealogy]
| ...
+
|[[User:InvernessHighlander|Lawrence Appelt]]
| 9.0.0.0/9.1.1
+
|Not a Public Site.
| EN, DA
+
|10.1.0.1
|-
+
|10.1.0  
| [http://www.arsenaultfamily.com/ Arsenault and Simpson Family Genealogy]
 
| [[User:BobA|Bob Arsenault]]
 
| not a public site
 
| V9.0.0.0/V9.0.3
 
 
| EN
 
| EN
|-
+
 
| [http://www.appelthaus.com/ AppeltHaus Genealogy]
+
|- style="vertical-align:top;"
| [[User:InvernessHighlander|Lawrence Appelt]]
+
|[http://www.whittlesey-whittelseygenealogy.com/ Whittlesey-Whittelsey Family History]
| Not a Public Site.
+
|[[User:wsw9183|Willis S Whittlesey III]]
| V10.1.0.1/TNG 10.1.0  
+
|Public Site
| EN
+
|9.2.0
|-
+
|9.2.0
| [http://www.whittlesey-whittelseygenealogy.com/ Whittlesey-Whittelsey Family History]
+
|EN
| [[User:wsw9183|Willis S Whittlesey III]]
+
 
 +
|- style="vertical-align:top;"
 +
|[http://www.groganmob.com/ Grogan mob]
 +
|[[User:Mgrogan|Margaret Turner]]
 
| Public Site
 
| Public Site
| V9.2.0/ TNG 9.2.0
+
|9.2.0.1
| EN
+
|9.2.0
 +
|EN
 +
 
 
|-
 
|-
| [http://www.groganmob.com/ Grogan mob]
+
|[http://www.turnermob.com/ Turner mob]
| [[User:Mgrogan|Margaret Turner]]
+
|[[User:Mgrogan|Margaret Turner]]
| Public Site
+
|Public Site
| V9.2.0.1/ TNG 9.2.0
+
|9.2.0.1
| EN
+
|9.2.0
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[http://legacygazette.com Legacy Gazette: My Roots - My Legacy]
 +
|[[User:Mylegacy|Melissa Watson Padilla]]
 +
|Public Site
 +
| 9.2.0.1
 +
|9.2.1
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[https://www.gilbert-family-history.net Gilbert Family History]
 +
|[[User:Warren Gilbert|Warren S Gilbert]]
 +
|Public Site
 +
|14.0.0.10
 +
|14.0.0
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[http://www.1820Settlers.com British 1820 Settlers to South Africa]
 +
|[[User:PaulTT|Paul Tanner-Tremaine]]
 +
|Public Site
 +
|10.1.0.1
 +
|10.1.1
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[http://www.djcm.dk DJCM.DK]
 +
|[[User:Clausm|Claus Martinussen]]
 +
|Not a Public Site
 +
| 13.0.0.8
 +
|13.0.4
 +
|DA, EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[https://www.wortelnet.nl Wortelboer Genealogy]
 +
| [[User:Bernard57|Bernard Wortelboer]]
 +
|Public site
 +
|14.0.0.10
 +
|14.0.0
 +
|NL, EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia]
 +
|[[User:bradyfamilytree|Darryl Brady]]
 +
|Public site
 +
|10.1.0.1
 +
|10.1.1
 +
|EN, DE
 +
 
 
|-
 
|-
| [http://www.turnermob.com/ Turner mob]
+
|[https://donquigley.net Quigley Doyle Family Tree]
| [[User:Mgrogan|Margaret Turner]]
+
|[[User:dwqwiz|Don Quigley]]
| Public Site
+
|Public Site
| V9.2.0.1/ TNG 9.2.0
+
|10.1.0.1
| EN
+
|11.0.0
|-
+
|EN
| [http://legacygazette.com Legacy Gazette: My Roots - My Legacy]
+
 
| [[User:Mylegacy|Melissa Watson Padilla]]
+
|- style="vertical-align:top;"
| Public Site
+
| [https://www.kmtrees.com/ Roots & Relatives Remembered]
| v9.2.0.1/ TNG 9.2.1
+
|[[User:Tngrlkrz|Ron Krzmarzick]]
| EN
+
|Public & Private
|-
+
| [https://www.kmtrees.com/mods-installed See Here]
| [https://www.gilbert-family-history.net Gilbert Family History]
+
| [https://www.kmtrees.com/mods-installed See Here]
| [[User:Warren Gilbert|Warren S Gilbert]]
+
|EN,DE,CS
| Public Site
+
 
| v10.1.0.3/ TNG 11.0.1
+
|- style="vertical-align:top;"
| EN
+
|[https://ourfamilyhistory.club OurFamilyHistory]
|-
+
|[[User:Paul Barrett|Paul Barrett]]
-
+
|Public except for living
| [http://www.1820Settlers.com British 1820 Settlers to South Africa]
+
|10.1.0.3
| [[User:PaulTT|Paul Tanner-Tremaine]]
+
|11.1
| Public Site
+
|EN
| v10.1.0.1/ TNG 10.1.1
+
 
| EN
+
|- style="vertical-align:top;"
|-
+
|[https://www.rgstrong-genes.com R G Strong Family Genealogy]
| [http://www.djcm.dk DJCM.DK]
+
|[[User:Rgstrong|Russell Strong]]
| [[User:Clausm|Claus Martinussen]]
+
|Public Site
| Public Site
+
|14.0.0.10
| 10.1.0.1/11.1
+
|14.0.4
| DA, EN
+
|EN, FR, DE, NL
|-
+
 
| [http://www.wortelboer.tk Wortelboer Genealogy]  
+
|- style="vertical-align:top;"
| [[User:Bernard57|Bernard Wortelboer]]
+
|[http://racine-ad.fr/TNG/index.php Racine d'Alsace]
 +
|J-Louis Valory
 +
|Public/Private - Template 1
 +
|12.0.0.0
 +
|12.0
 +
|FR
 +
 
 +
|- style="vertical-align:top;"
 +
|[https://roeljongman.nl Stamboom Jongman]
 +
|[[User:Roelj|Roel Jongman]]
 +
|Public/Private site
 +
|10.1.3
 +
|
 +
| NL, DE, EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[https://www.thebrownfamilytree.com/ The Brown Family Tree]
 +
|[[User:Slowjim|James Brown]]
 +
|Public/Private site
 +
|10.1.0.3
 +
|11.1.1
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[http://bumbery.com/ Bumbery-Wangler]
 +
|[[User:Bob|Bob Bumbery]]
 +
|Public site
 +
|10.1.0.3
 +
|11.1.2
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[http://www.colegenealogy.net/ The Cole / Tanner Family Tree]
 +
|[[User:dlcole|David Cole]]
 +
|Public/Private
 +
|[[User:Dlcole|see here]]
 +
|[[User:Dlcole|see here]]
 +
|EN, DE, FR, ES, NL
 +
 
 +
|- style="vertical-align:top;"
 +
|[https://www.kks-fam.net/ KK's Family History]
 +
|[[User:Kin Khronicler|Kathy Kult]]
 +
|Public/Private site
 +
|14.0.0.10
 +
|{{Tv1402}}
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
| [http://genealogy.oceanwharf.com Hooley Family Links]
 +
|[[User: lastejas|Rick Hooley]]
 +
|Public/Private
 +
|[[User: lastejas|See Here]]
 +
|[[User: lastejas|See Here]]
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[https://ourfamilyhistories.org Our Family Histories]
 +
|[[User: Bsl20b50|Bryan S. Larson]]
 +
|Public site
 +
|[[User: Bsl20b50|See Here]]
 +
|[[User: Bsl20b50|See Here]]
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
|[https://www.duttongenealogy.com The Duttons of New England]
 +
|[[User: Darrin65|Darrin Dutton]]
 +
|Public / Private
 +
|14.0.0.10
 +
|14.0.1
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
| [https://vitter.org/familytree Vitter-Weaver Genealogy]
 +
| [[User:Jeffrey Vitter|Jeffrey Vitter]]
 
| Public site
 
| Public site
| 10.1.0.1 / 11.0.0
+
| 13.0.0.7
 +
|13.0.3
 +
| EN, FR, CH, DE, ES, IT, NO
 +
 
 +
|- style="vertical-align:top;"
 +
| [http://genealogy.mkirsch.be Racines Luxo-hennuyères]
 +
| [[User:MichelKirsch|Michel Kirsch]]
 +
| Public site (registration)
 +
| 13.0.0.8
 +
|13.1.2
 +
| FR/EN/DE/NL
 +
 
 +
|- style="vertical-align:top;"
 +
| [https://www.severijns.family/Severijns The Severijns / Timmer Familytree]
 +
| Rob Severijns
 +
| Public / Private
 +
| 14.0.0.10
 +
| 14.0.4
 
| NL, EN
 
| NL, EN
|-
+
 
| [https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia]
+
|- style="vertical-align:top;"
| [[User:bradyfamilytree|Darryl Brady]]
+
| [https://bastiaanssen.us Bastiaanssen Genealogy]
| Public site
+
| Jan Bastiaanssen
| 10.1.0.1/10.1.1
+
| Public / Private
| EN, DE
+
| 13.0.0.8
|-
+
|13.1.1
| [https://donquigley.net Quigley Doyle Family Tree]
+
| NL, EN, ES
| [[User:dwqwiz|Don Quigley]]
+
 
| Public Site
+
|- style="vertical-align:top;"
| 10.1.0.1/11.0.0
+
|[https://yourtrees.berksfhs.org Berkshire FHS]
 +
| Paul Barrett
 +
|Private/Synology NAS
 +
|13.0.0.8
 +
|13.0.4
 +
|EN
 +
 
 +
|- style="vertical-align:top;"
 +
| [https://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages]
 +
| [[User:Stores|Jim Holt]]
 +
| Private
 +
| [[User:Stores|See Here]]
 +
|[[User: Bsl20b50|See Here]]
 +
| EN
 +
 
 +
|- style="vertical-align:top;"
 +
| [https://www.craswell.ca/ Your Roots are Showing]
 +
| [[User:crashar|Harold Craswell]]
 +
| Public/Private
 +
| [https://www.craswell.ca/rrmodcompare_report.php?power=basic&cachemethod=3&sb=filename&aformat=full&statushilite=1&b1=0 See Here]
 +
| [https://www.craswell.ca/rrmodcompare_report.php?power=basic&cachemethod=3&sb=filename&aformat=full&statushilite=1&b1=0 See Here]|
 
| EN
 
| EN
 +
 +
|- style="vertical-align:top;"
 +
|[https://tng.adler-wien.eu ADLER-Wien]
 +
|[[User:Herbert1961|Herbert Fischer]]
 +
|Public site
 +
|13.0.0.9
 +
|14.0
 +
|DE
 +
 
|-
 
|-
| [https://www.kmtrees.com/ Roots & Relatives Remembered]
+
|[https://osagecountycousins.com Osage County Cousins]
| [[User:Tngrlkrz|Ron Krzmarzick]]
+
|[[User:Milatech|Larry G Banks]]
| Public & Private
+
|Public/Private
| 10.1.0.3/11.1.1
+
| 14​.0​.0​.10 
| EN,DE,CS,ES
+
| 14.0
|-
 
| [https://ourfamilyhistory.club OurFamilyHistory]
 
| [[User:Paul Barrett|Paul Barrett]]
 
| Public except for living
 
| 10.1.0.3/11.1
 
 
| EN
 
| EN
 +
 
|-
 
|-
| [https://www.rgstrong-genes.com R G Strong Family Genealogy]
+
| [https://www.CarrFamilyTree.com Carr's Garage]
| [[User:Rgstrong|Russell Strong]]
+
| |[[User:Regis Carr|Regis Carr]]
| Public Site
+
| Public/Private
| 10.1.0.3/11.0.1
+
| 11.0.0.
| EN, FR, DE, NL
+
| 13.1.2
|-
+
| EN, GR, NO
| [http://racine-ad.fr/TNG/index.php Racine d'Alsace]
+
 
| J-Louis Valory
+
|- style="vertical-align:top;"
| Public/Private - Template 1
+
| [https://datschetzky.genealogenstammtisch.net Stammbaum der Familie Datschetzky]
| 10.1.0.3
+
| style="white-space: nowrap;"|[[User:ChristianD|Christian Datschetzky]]
| 11.1.1
+
| Public
| French
+
| 14.0.0.10
|-
+
| 14.0.3
 +
| DE, EN
 
|}
 
|}
  
 +
[[Category:Mods for TNG v14]]
 +
[[Category:Mods for TNG v13]]
 +
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v10]]
 +
[[Category:Mods for TNG v9]]
 +
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v7]]
 
[[Category:Mods for TNG v7]]
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v9]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v11]]
 
 
[[Category:Admin media.php mods]]
 
[[Category:Admin media.php mods]]
 
[[Category:Admin editmedia.php mods]]
 
[[Category:Admin editmedia.php mods]]

Latest revision as of 23:02, 4 March 2024

Maintenance - Unused Media
Summary Adds a tab (Unused Media) to the Admin > Media page
Validation Admin application, validation not attempted
Mod Updated 2 Jan 2023
Download link ‎for
TNG 14.0
TNG 13.0

Unused_media_v14.0.0.10.zip
for
TNG 12.0

Unused_media_v12.0.0.2.zip
‎for
TNG 10.1.0

Unused_media_v10.1.0.3.zip
‎for
TNG 10.0

Unused_media_v10.0.0.2.zip
‎for
TNG 9.2.0

Unused_media_v9.2.0.1.zip
for
TNG 9.0

Unused_media_v9.0.0.1.zip
for
TNG 8.0

Unused_media_v8.1.3.zip
for
TNG 7.0

Unused_media_v3.0.zip
Download stats n/a
Author(s) Warren S Gilbert
Homepage Unused Media
Mod Support Support for Warren Gilbert's mods
Contact Developer
Latest Mod 14.0.0.10 for TNG 13.0 and above
12.0.0.2 for TNG 12.0 and above
10.1.0.3 for TNG 10.1 and above
10.0.0.2 for TNG 10.0
9.2.0.1 for TNG V9.2
9.0.0.1 for TNG V9.0
8.1.3 for TNG V8
3.0 for TNG V7
Min TNG V 7.0.0
Max TNG V 14+
Files modified
Related Mods
Notes

Purpose of the mod

This mod adds a tab (Unused Media) to the Admin > Media page. It lists files which are present in the media folders on the server, but not registered with TNG.

Developer

This mod was developed by Warren S Gilbert

Requirements

  • A working TNG installation. Automated installation has been tested on TNG versions 7.1.3 to 13.0.0
  • A backup of the TNG modules involved

Automated Installation

  1. Download the appropriate distribution for your TNG version from the download links in the status area in the upper right.
  2. Extract the unused_media.zip to your admin/mod_folder (V7) or mods (v8 or later).
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the unused_media.cfg.

Custom text additions

The config file includes the English, French, Danish and Dutch language custom texts.

For other languages you can modify the config file to add the custom text or manually add to whatever language you like.

Custom config

If you do not already have a customconfig.php file, create a file named customconfig.php containing only the php opening and closing tags: -

<?php
?>

and copy it to your site in the same folder as the config.php file (usually the TNG root).

Revision History

Version Date Contents
14.0.0.10 2 Jan 2023
13.0.0.9 19 Apr 2022
  • Ensure folder list file is created when needed.
  • Other bug fixes
13.0.0.8 20 May 2021
13.0.0.7 8 May 2021
  • Added a Danish translation, courtesy of Brett
13.0.0.6 20 Oct 2020
  • Fix code causing php notices
13.0.0.4 15 Oct 2020
  • Remove deprecated php function (get_magic_quotes_gpc)
13.0.0.3 13 Oct 2020
  • Updated for TNG 13 new Admin layout
12.0.0.2 7 Sep 2018
  • Fix bug causing non-creation of a required file
12.0.0.1 3 Sep 2018
  • Allow the search to be delayed until values are entered (mod options)
  • Ignore files with specific extensions, files and folders with specific names (mod options)
  • Allow the search to be limited to a single folder (mod options)
  • Write/read mod specific files to extensions folder rather than TNG root. (see More Information, below)
  • Help for this area expanded/re-written for the mod
12.0.0.0 2 May 2018
  • Updated for changes in TNG v12
10.1.0.3 11 Jun 2016
  • Changed to use preg_replace instead of ereg_replace (function deprecated/removed).
  • Added option to check for "dotfiles" (.DS_Store etc.).
  • Bug fix.
10.1.0.1 28 Jan 2015
  • Updated to replace mysql calls with tng (mysqli) calls.
10.0.0.2 10 May 2014
  • Fix to work when a folder holds more than one media type.
10.0.0.1 24 Feb 2014
  • Fix a bug when media is in a subfolder.


More Information

  • With this mod installed, files can be deleted from the server either individually or by deleting selected files.
  • Files can be excluded from the report and will then be recorded in file 'unusedmedia.txt' in the extensions folder for v12.0.0.1 or later, in the TNG root folder of your site if you are using TNG v8 or later, or the admin folder of your site if you are using TNG v7. If not already present, 'unusedmedia.txt' will be created the first time you choose to exclude a file. The file is optional, and the report will function whether or not it exists.
  • If you install v12.0.0.1 or later, and have used an earlier version of Unused Media, unusedmedia.txt and unusedmediatemp.txt will be in the TNG root. This version creates them in the extensions folder. unusedmedia.txt contains the names of media to be excluded. If you have excluded files from the report, and wish to continue excluding them, you should move this file to the extensions folder. Otherwise, both files can safely be deleted from the TNG root.
  • Excluded files are not normally listed, but there is an option for them to be shown, and they can then be included back in the normal report.

In the event of a problem

  • Try using the Mod Manager Remove capability
  • Or copy the backup versions of the TNG modules involved.

Visualization of this mod

UnusedMedia.png

Side effects

As with most source code modifications, these changes will likely be overwritten during your next TNG revision upgrade and will need to be re-implemented. (Using the Mod Manager to remove the mod before the upgrade and re-installing the mod after the upgrade greatly simplifies this process).

TNG Modules Involved

TNG V14

  • as for TNG V13 (below), but also:
  • adds custom text to languages/Dutch/cust_text.php and languages/Dutch-UTF8/cust_text.php

TNG V13

  • as for TNG V12 (below), but also:
  • adds custom text to languages/Danish/cust_text.php, languages/Danish-UTF8/cust_text.php, languages/French/cust_text.php, languages/French-UTF8/cust_text.php

TNG V12, V11, V10, V9, V8

  • modifies the following TNG modules customconfig.php, admin_media.php, admin_editmedia.php, admin_newmedia.php, admin_ordermediaform.php, admin_photoimport.php, admin_thumbnails.php, languages/English/media_help.php
  • adds custom text to languages/English/cust_text.php and languages/English-UTF8/cust_text.php

TNG V7

In TNG V7, this mod:

  • modifies the following TNG modules customconfig.php, admin/media.php, admin/editmedia.php, admin/newmedia.php, admin/ordermediaform.php, admin/photoimport.php, admin/thumbnails.php, and English/media_help.php
  • adds custom text to English/cust_text.php

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
Treichel-Familie.de Andreas Treichel Public & Private 14​.0​.0​.10 14.0.3 DE, UK, FR, ES, PL
Family tree of Marcin & Emilia Senderski Marcin Senderski Only home page is public 13.0.0.6 13.0.4 EN, PL
My family Oname.gif (no public site) see at Oname.gif site see at Oname.gif site D,(NL),(GB)
Van den Heuvel genealogy Marco van den Heuvel ... 9.0.0.1 9.0.3 NL, EN
Chamberlain & Eidenbenz Genealogy Graham Chamberlain Public Site 12.0.0.0 12.0.0 EN, FR, DE, SP, NL
Zausmer Forest Joyaa Antares Private site 14.0.0.10 14.0.2 EN, FR
Nordic Ancestry Mogens C. Fenger ... 9.0.0.0 9.1.1 EN, DA
Arsenault and Simpson Family Genealogy Bob Arsenault not a public site 9.0.0.0 9.0.3 EN
AppeltHaus Genealogy Lawrence Appelt Not a Public Site. 10.1.0.1 10.1.0 EN
Whittlesey-Whittelsey Family History Willis S Whittlesey III Public Site 9.2.0 9.2.0 EN
Grogan mob Margaret Turner Public Site 9.2.0.1 9.2.0 EN
Turner mob Margaret Turner Public Site 9.2.0.1 9.2.0 EN
Legacy Gazette: My Roots - My Legacy Melissa Watson Padilla Public Site 9.2.0.1 9.2.1 EN
Gilbert Family History Warren S Gilbert Public Site 14.0.0.10 14.0.0 EN
British 1820 Settlers to South Africa Paul Tanner-Tremaine Public Site 10.1.0.1 10.1.1 EN
DJCM.DK Claus Martinussen Not a Public Site 13.0.0.8 13.0.4 DA, EN
Wortelboer Genealogy Bernard Wortelboer Public site 14.0.0.10 14.0.0 NL, EN
Brady Family Tree in Western Australia Darryl Brady Public site 10.1.0.1 10.1.1 EN, DE
Quigley Doyle Family Tree Don Quigley Public Site 10.1.0.1 11.0.0 EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS
OurFamilyHistory Paul Barrett Public except for living 10.1.0.3 11.1 EN
R G Strong Family Genealogy Russell Strong Public Site 14.0.0.10 14.0.4 EN, FR, DE, NL
Racine d'Alsace J-Louis Valory Public/Private - Template 1 12.0.0.0 12.0 FR
Stamboom Jongman Roel Jongman Public/Private site 10.1.3 NL, DE, EN
The Brown Family Tree James Brown Public/Private site 10.1.0.3 11.1.1 EN
Bumbery-Wangler Bob Bumbery Public site 10.1.0.3 11.1.2 EN
The Cole / Tanner Family Tree David Cole Public/Private see here see here EN, DE, FR, ES, NL
KK's Family History Kathy Kult Public/Private site 14.0.0.10
TNG 14.0.2
EN
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Our Family Histories Bryan S. Larson Public site See Here See Here EN
The Duttons of New England Darrin Dutton Public / Private 14.0.0.10 14.0.1 EN
Vitter-Weaver Genealogy Jeffrey Vitter Public site 13.0.0.7 13.0.3 EN, FR, CH, DE, ES, IT, NO
Racines Luxo-hennuyères Michel Kirsch Public site (registration) 13.0.0.8 13.1.2 FR/EN/DE/NL
The Severijns / Timmer Familytree Rob Severijns Public / Private 14.0.0.10 14.0.4 NL, EN
Bastiaanssen Genealogy Jan Bastiaanssen Public / Private 13.0.0.8 13.1.1 NL, EN, ES
Berkshire FHS Paul Barrett Private/Synology NAS 13.0.0.8 13.0.4 EN
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN
Your Roots are Showing Harold Craswell Public/Private See Here EN
ADLER-Wien Herbert Fischer Public site 13.0.0.9 14.0 DE
Osage County Cousins Larry G Banks Public/Private 14​.0​.0​.10 14.0 EN
Carr's Garage Regis Carr Public/Private 11.0.0. 13.1.2 EN, GR, NO
Stammbaum der Familie Datschetzky Christian Datschetzky Public 14.0.0.10 14.0.3 DE, EN