Difference between revisions of "Expand Search"

From TNG_Wiki
Jump to navigation Jump to search
 
(53 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<b>This mod replaces the [[Direct Line Search]] mod. Uninstall before installing this mod.<br>
+
{{caution
It also replaces the [[Search Page Expansion]] mod. Uninstall before installing this mod.<br></b>
+
|notes= Expand Search replaces: [[Direct Line Search]], [[Search Page Expansion]]. You must uninstall them both first.{{TNG 13.0}}
 
+
}}
 +
{{V12_cust_text}}
 
{{TNGmod
 
{{TNGmod
 
| mod_name        = Expand Search
 
| mod_name        = Expand Search
 
| mod_summary    = Adds search functionality and a user search page with filters.
 
| mod_summary    = Adds search functionality and a user search page with filters.
| download_link  = for {{Tv120}}[[Media:Expand_search_v2.zip | Expand_search_v2.zip]]
+
| mod_last_update = 25 May 2023
 +
| mod_validation  =
 +
| download_link  = for
 +
{{Tv140}}[[Media:Exapndsearchv14.1b.zip ‎| Expand Search for TNG 14.1b ]]
 +
{{Tv130}}[[Media:ExpandSearch_v13.0.zip | Expand Search for TNG 13 ]]
 +
{{Tv120}}[[Media:Expand_search_v7.zip | Expand Search for TNG 12  ]]
 
<hr />  
 
<hr />  
 
| download_stats  =
 
| download_stats  =
Line 12: Line 18:
 
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_contact    = [http://adupree.com/wp/1120-2]
 
| mod_contact    = [http://adupree.com/wp/1120-2]
| mod_version    = 12.0.0.2
+
| mod_version    = 14.0.0.1b
 
| use_mod_manager = Yes
 
| use_mod_manager = Yes
 
| manual_install  = No
 
| manual_install  = No
| min_TNG_ver    = 11 ?
+
| min_TNG_ver    = 12
| max_TNG_ver    = 12
+
| max_TNG_ver    = 14
 
| TNG_file_list  = search.php searchform.php
 
| TNG_file_list  = search.php searchform.php
| related_mods    = [[Direct Line Search]] [[Search Page Expansion]]
+
| related_mods    = [[Direct Line Search]] [[Search Page Expansion]] [[Expand Statistics]] [[Sosa]]
| notes          = An amalgam of the related mods - UNINSTALL them before installing this mod.
+
| notes          = An amalgam of [[Direct Line Search]] and [[Search Page Expansion]] - UNINSTALL them before installing this mod.
 
}}
 
}}
 
{|align=right
 
{|align=right
Line 28: Line 34:
 
In larger and larger databases, it can be frustrating to hone in attention on the people we need to research.   
 
In larger and larger databases, it can be frustrating to hone in attention on the people we need to research.   
  
This mod helps by providing searching aids to get right to the right people.  
+
This mod helps by providing searching aids to get right to the right people.
  
It adds the following functionality:<br>
+
It adds the following functionality:<br>'''To the Search Page'''
'''To the Search Page'''
 
 
# Search end of lines - finds individuals with no parents. Use with branches or [[Sosa]] to find top of the line ancestors
 
# Search end of lines - finds individuals with no parents. Use with branches or [[Sosa]] to find top of the line ancestors
 
# No sources - returns records that do not have citations. Useful for improving your data
 
# No sources - returns records that do not have citations. Useful for improving your data
 
# Sosa search - Search for folks with sosa numbers. Shows up if you have [[Sosa]] installed
 
# Sosa search - Search for folks with sosa numbers. Shows up if you have [[Sosa]] installed
 
# New Search criteria - Adds CAPS (for capital letters) and does not contain to the search criteria
 
# New Search criteria - Adds CAPS (for capital letters) and does not contain to the search criteria
'''To the Search Results'''
+
# A "residence" search that allows searching across all places -- birth, death, burial and baptism -- at once. An "all residence" option includes all events.
Only for logged in users:
+
'''To the Search Results''' Only for logged in users:
 
# Sources, notes and media numbers are added to the table
 
# Sources, notes and media numbers are added to the table
 
# A filter bar for branches, sosa (shows if mod installed), sources, notes and media.
 
# A filter bar for branches, sosa (shows if mod installed), sources, notes and media.
Line 60: Line 65:
  
 
==Requirements==
 
==Requirements==
* A working TNG installation. This has only been tested on TNG V 12.0.3
+
* A working TNG installation and the appropriate file for your version number of tng.  
 
* An installed current version of the [[Mod Manager]].
 
* An installed current version of the [[Mod Manager]].
  
 
==Revision History==
 
==Revision History==
 +
# (14) V1.b - Missing code line returned.
 +
# (14) V1a - Removes hard coded Sosa table name
 +
# (14) V1 - Errors and improvements for working with [[Expand Statistics]]
 +
# (14) V0a - Cleaned for php 8 (thanks Ron and Ken)
 +
# (14) V0 - Can be installed on tng 14.
 +
# V7 - Includes search code from Expand Statistics and fixes long url strings.
 +
# V6 - Note there was no V5. V6 provides functionality to [[Expand_Statistics]]. Also some small fixes. Adds search in residence for All USA places.
 +
# V4a - Adds an option to control the way the Residence search field displays.
 +
# V4 - Fixes error when sosa is not installed.
 +
# V3 - Adds residence search.
 
# V2 - filters are now persistent across pages and the next time you search. Also a message tells you how many records are displayed on the page.
 
# V2 - filters are now persistent across pages and the next time you search. Also a message tells you how many records are displayed on the page.
  
 
==[[Mod Manager - Installing Config Files | Automated Installation]] ==
 
==[[Mod Manager - Installing Config Files | Automated Installation]] ==
 
# Download the zip file in the status area in the upper right.
 
# Download the zip file in the status area in the upper right.
# Extract the direct_line_search.zip to your mod folder.   
+
# Extract the zip file to your mod folder.   
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''expand_search.cfg'''.
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''expand_search.cfg'''.
  
Line 82: Line 97:
 
$text['allcaps'] = "All CAPS for";
 
$text['allcaps'] = "All CAPS for";
 
$text['dncontain'] = "does not contain";
 
$text['dncontain'] = "does not contain";
 +
$text['residence'] = "Residence";
 +
$text['residenceisin'] = "residence is in";
 +
$text['withoutparents'] = "without parents";
 +
$text['noattachedsources'] = "no attached sources";
 +
$text['allresidences'] = "all residences";
 
// Expand Search
 
// Expand Search
 
</pre>
 
</pre>
Line 107: Line 127:
 
| [[User:mkoche|A.S. DuPree]]
 
| [[User:mkoche|A.S. DuPree]]
 
| Mod Developer
 
| Mod Developer
| 12.0.0.1
+
| 14.0.0.1
| 12.0.3
+
| 14.0.1b
 
| English
 
| English
 +
|-
 +
| [https://www.kmtrees.com/index.php Roots & Relatives Remembered]
 +
| [[User:tngrlkrz| Ron Krzmarzick]]
 +
| Public & Private
 +
| [https://www.kmtrees.com/mods-installed See Here]
 +
| [https://www.kmtrees.com/mods-installed See Here]
 +
| EN,DE,CS
 +
|-
 +
| [http://genealogy.mkirsch.be Racines Luxo-hennuyères]
 +
| [[User:MichelKirsch|Michel Kirsch]]
 +
| Public site (registration)
 +
| V14.0.0.1b
 +
| TNG 14.0.2
 +
| FR/EN/GE/NL
 
|-
 
|-
 
| [http://racine-ad.fr/TNG/index.php Racine d'Alsace]
 
| [http://racine-ad.fr/TNG/index.php Racine d'Alsace]
 
| [[User:Louis42|J-Louis Valory]]
 
| [[User:Louis42|J-Louis Valory]]
| Public- private - T17 customized
+
| Public (registration)
| 12.0.0.1
+
| 13.0.0.0
| 12.1
+
| 13.0.4
 
| FR
 
| FR
 
|-
 
|-
| [https://www.kmtrees.com/index.php Roots & Relatives Remembered]
 
| [[User:tngrlkrz| Ron Krzmarzick]]
 
| Public & Private
 
| 12.0.0.2
 
| [https://kmtrees.com/modlist_wiki?whichoptions=basic&cachemethod=3&sortby=filename See Here]
 
| EN,DE,CS,ES
 
 
|-
 
|-
 +
|[https://huygens-vandemoortel-ancestry.be/ Huygens - Van de Moortel]
 +
|[https://tng.lythgoes.net/wiki/index.php/User:Fluffy82 Tom Huygens]
 +
|Public/Private on WordPress
 +
|13.0.0.0
 +
|13.1.2
 +
|NL
 +
|-
 +
|[https://scealta.nl/ Scealta]
 +
| [[User:Ton|Ton van Lil]]
 +
|Public & Private
 +
|14.0.0.0a
 +
|14.0.1
 +
|NL/EN
 +
|-
 +
|[https://clan.chauvigne.info/ GénéaKat]
 +
| [[User:Katryne|Katryne]]
 +
|Public & Private
 +
|14.0.0.1b
 +
|14.0.3
 +
|FR/EN
 +
|-
 +
|[http://mes-racines.com/saga// La saga BIGEY]
 +
| [[User:Yegib|François B]]
 +
|Public
 +
|13​.0​.0​.10a
 +
|14.0.2
 +
|FR
 
|}
 
|}
 
[[Category:Mods for TNG v12]]
 
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v13]]
 +
[[Category:Mods for TNG v14]]
 
[[Category:search.php mods]]
 
[[Category:search.php mods]]

Latest revision as of 11:08, 26 September 2023

Caution Expand Search replaces: Direct Line Search, Search Page Expansion. You must uninstall them both first.
TNG version: 13.0.0
Caution



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



Expand Search
Summary Adds search functionality and a user search page with filters.
Validation
Mod Updated 25 May 2023
Download link for
TNG 14.0

Expand Search for TNG 14.1b

TNG 13.0

Expand Search for TNG 13

TNG 12.0

Expand Search for TNG 12


Download stats
Author(s) A. S. DuPree
Homepage Expand_Search (this page)
Mod Support TNG Community Forums
Contact Developer [1]
Latest Mod 14.0.0.1b
Min TNG V 12
Max TNG V 14
Files modified
search.php searchform.php
Related Mods
Notes
An amalgam of Direct Line Search and Search Page Expansion - UNINSTALL them before installing this mod.


Introduction

In larger and larger databases, it can be frustrating to hone in attention on the people we need to research.

This mod helps by providing searching aids to get right to the right people.

It adds the following functionality:
To the Search Page

  1. Search end of lines - finds individuals with no parents. Use with branches or Sosa to find top of the line ancestors
  2. No sources - returns records that do not have citations. Useful for improving your data
  3. Sosa search - Search for folks with sosa numbers. Shows up if you have Sosa installed
  4. New Search criteria - Adds CAPS (for capital letters) and does not contain to the search criteria
  5. A "residence" search that allows searching across all places -- birth, death, burial and baptism -- at once. An "all residence" option includes all events.

To the Search Results Only for logged in users:

  1. Sources, notes and media numbers are added to the table
  2. A filter bar for branches, sosa (shows if mod installed), sources, notes and media.

It can be used as a stand alone or in conjunction with the Bold Ancestor Child Links mod or Sosa mod to identify direct and end-of-line ancestors where many of us want to focus our attention.

Search Page

What this looks like on your search page:

Es1.png

Search Results

Es2.png

Developer

This mod was developed by A.S. DuPree (a novice, happy for any help on improving it)

Requirements

  • A working TNG installation and the appropriate file for your version number of tng.
  • An installed current version of the Mod Manager.

Revision History

  1. (14) V1.b - Missing code line returned.
  2. (14) V1a - Removes hard coded Sosa table name
  3. (14) V1 - Errors and improvements for working with Expand Statistics
  4. (14) V0a - Cleaned for php 8 (thanks Ron and Ken)
  5. (14) V0 - Can be installed on tng 14.
  6. V7 - Includes search code from Expand Statistics and fixes long url strings.
  7. V6 - Note there was no V5. V6 provides functionality to Expand_Statistics. Also some small fixes. Adds search in residence for All USA places.
  8. V4a - Adds an option to control the way the Residence search field displays.
  9. V4 - Fixes error when sosa is not installed.
  10. V3 - Adds residence search.
  11. V2 - filters are now persistent across pages and the next time you search. Also a message tells you how many records are displayed on the page.

Automated Installation

  1. Download the zip file in the status area in the upper right.
  2. Extract the zip file to your mod folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the expand_search.cfg.

Language

Mod is only in English but can be modified for any language by revising the code below and copying into the cust_text.php file for your language. Replace the words between the quotes with your translation.

// Expand Search
$text['displaying'] = "Displaying";
$text['recordsfrom'] = "records from";
$text['srcmsg'] = "No citations - person and one family (slow)";	
$text['eolmsg'] = "Search end of lines (children but no parents)";
$text['allcaps'] = "All CAPS for";	
$text['dncontain'] = "does not contain";
$text['residence'] = "Residence";
$text['residenceisin'] = "residence is in";
$text['withoutparents'] = "without parents";
$text['noattachedsources'] = "no attached sources";
$text['allresidences'] = "all residences";
// Expand Search

Conflicts and Issues

I have not found any conflicts or issues with this mod but I suspect there may be some. Please let me know if you find any. The language is ONLY in English.

In the event of a problem with your TNG site

  1. Try using the Mod Manager to Remove the mod

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
Adupree.com A.S. DuPree Mod Developer 14.0.0.1 14.0.1b English
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS
Racines Luxo-hennuyères Michel Kirsch Public site (registration) V14.0.0.1b TNG 14.0.2 FR/EN/GE/NL
Racine d'Alsace J-Louis Valory Public (registration) 13.0.0.0 13.0.4 FR
Huygens - Van de Moortel Tom Huygens Public/Private on WordPress 13.0.0.0 13.1.2 NL
Scealta Ton van Lil Public & Private 14.0.0.0a 14.0.1 NL/EN
GénéaKat Katryne Public & Private 14.0.0.1b 14.0.3 FR/EN
La saga BIGEY François B Public 13​.0​.0​.10a 14.0.2 FR