Difference between revisions of "Research Tools"

From TNG_Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
| mod_validation  =  
 
| mod_validation  =  
 
| mod_last_update = 9 Mar 2019
 
| mod_last_update = 9 Mar 2019
| download_link  = for {{Tv120}}[[research_tools_V12.0.0.1.cfg.zip  | research_tools_V12.0.0.1.cfg.zip  ]]
+
| download_link  = for {{Tv120}}[[Research_tools_V12.0.0.1.zip  | Research_tools_V12.0.0.1.zip  ]]
 
<hr />
 
<hr />
 
| download_stats  =
 
| download_stats  =
Line 16: Line 16:
 
| manual_install  = No
 
| manual_install  = No
 
| min_TNG_ver    =  
 
| min_TNG_ver    =  
| max_TNG_ver    =  
+
| max_TNG_ver    = 12
| TNG_file_list  =  
+
| TNG_file_list  = getperson.php
 
| notes          = External sites can change at any moment. This mod connects but it is necessary to understand what it is doing.
 
| notes          = External sites can change at any moment. This mod connects but it is necessary to understand what it is doing.
 
}}
 
}}
Line 57: Line 57:
  
 
The bar on the top of the menu contains menu buttons to allow you to add in additional information or to restrict your search by adding quotes around names.  
 
The bar on the top of the menu contains menu buttons to allow you to add in additional information or to restrict your search by adding quotes around names.  
 
Mod options - choose which links you want, change the width of the popup, add in one custom search.
 
  
 
WARNING - Search engines change the method of their searches regularly. A dead link can cause your webpage to 'hang.' If this happens disable the link in the mod options.  Also this mod employs iframes, something which should be avoided but are the only way I know to bring information like this onto the site. The research links mod will open links in a new tab and is a viable alternative.
 
WARNING - Search engines change the method of their searches regularly. A dead link can cause your webpage to 'hang.' If this happens disable the link in the mod options.  Also this mod employs iframes, something which should be avoided but are the only way I know to bring information like this onto the site. The research links mod will open links in a new tab and is a viable alternative.
Line 130: Line 128:
 
FindmyPast<br>
 
FindmyPast<br>
 
https://search.findmypast.com/search/world-records?firstname={$ihfirstname}&firstname_variants=true&lastname={$ihsurname}<br>
 
https://search.findmypast.com/search/world-records?firstname={$ihfirstname}&firstname_variants=true&lastname={$ihsurname}<br>
 +
 +
== Customizations in Mod Manager==
 +
# Choose links/tools to display
 +
# Placement of popup (width, height, left and top)
 +
# Add a custom search -- if you dare!
  
 
== Sites using this mod ==
 
== Sites using this mod ==
Line 151: Line 154:
 
| English
 
| English
  
[[Category:]]
+
[[Category:Mods for TNG v12]]
[[Category:]]
+
[[Category:getperson.php mods]]

Revision as of 19:24, 10 March 2019

Research Tools
Summary Adds tools for external searches or information relevant to the individual page
Validation
Mod Updated 9 Mar 2019
Download link for
TNG 12.0

Research_tools_V12.0.0.1.zip


Download stats
Author(s) A. S. DuPree
Homepage Research_Links (this page)
Mod Support TNG Community Forums
Contact Developer [1]
Latest Mod
Min TNG V
Max TNG V 12
Files modified
getperson.php
Related Mods
Notes
External sites can change at any moment. This mod connects but it is necessary to understand what it is doing.


Introduction

The mod adds a customized set of links on the right hand side of the page as "Research Tools" or just a single link (i.e. Google) if you only choose one. In some ways it is similar to the research links mod.

Mod allows you to choose to display up to five links: Surnamedb, Wikipedia, Geni, Google and FamilySearch. These links will open the page in a popup window, and perform a search on the individual. Surnamedb just searches on the surname.

Rt1.png

Which expands to this:

Rt2.png

When link is opened a popup shows a webpage search with useful information pre-filled:

Here is a surname search on surnamed:

Rt4.png

Or a simple google search:

Rt5.png

The bar on the top of the menu contains menu buttons to allow you to add in additional information or to restrict your search by adding quotes around names.

WARNING - Search engines change the method of their searches regularly. A dead link can cause your webpage to 'hang.' If this happens disable the link in the mod options. Also this mod employs iframes, something which should be avoided but are the only way I know to bring information like this onto the site. The research links mod will open links in a new tab and is a viable alternative.

Finally, Familysearch requires login. So you need to login and then go back to find the page you were on. This is irritating and potentially confusing for public sites. It is thus set by default to only be visible to logged in users of a site.

Developer

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

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.

Language

The mod is only in English but is easily customized for other languages.

  1. There is a language option in the mod manager to choose your language. This attempts on some sites to get the version in your language if available.
  2. . The text is revisable. Change the text between quotes below and place into your cust_text.php file in your language folders.


$text['aboutsurname'] = "About Surname";
$text['onlinetree'] = "Geni";
$text['opennewtab'] = "Open in New Tab";
$text['surnameonly'] = "Surname only";
$text['placeonly'] = "Search place";
$text['morerestrict'] = "Restrict search";
$text['addspouse'] = "Add spouse(s)";
$text['addmother'] = "Add mother";
$text['addparents'] = "Add parents";
$text['wikisearch'] = "Wikipedia";
$text['treesearch'] = "Search an online tree for this person";
$text['internetsearch'] = "Do an internet search for this person";
$text['rightclick'] = "Right click link for new tab";
$text['familysearch'] = "Requires login. Will go to new page. Log in. Hit back button. Refresh. Does not work in all browsers";
$text['Research Tools'] = "Research Tools";

Revision History

Automated Installation

  1. Download the zip file in the status area in the upper right.
  2. Extract the research_tools_V12.0.0.1.cfg to your mod folder.
  3. Note both the cfg file and the folder called "researchtools" need to be placed in the mod folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files .

Conflicts and Issues

This is an early version but all attempts have been made to minimize conflicts.

Other issues might emerge for dead links. And the familysearch link requires some trial and error as described above.

In the event of a problem with your TNG site

  1. Try using the Mod Manager to Remove the mod

Search Strings

If you find a search string that works and want to share it. Feel free to copy it below this text:
Note: Search strings include:
List of Variables
Paste exactly as provided
Person's Surname - {$ihsurname}
Person's Firstname - {$ihfirstname}
Person's Birth Year - {$ihbirthyear}
Person's Birth Year Range - {$ihyrrange}
Website Language - {$ihlang}
*********************************************
i.e.:
FindaGrave
https://www.findagrave.com/cgi-bin/fg.cgi?page=gsr&GSfn={$ihfirstname}&GSmn=&GSln={$ihsurname}&GSbyrel=all&GSby=&GSdyrel=all&GSdy=&GScntry=0&GSst=0&GSgrid=&df=all&GSob=n'
FindmyPast
https://search.findmypast.com/search/world-records?firstname={$ihfirstname}&firstname_variants=true&lastname={$ihsurname}

Customizations in Mod Manager

  1. Choose links/tools to display
  2. Placement of popup (width, height, left and top)
  3. Add a custom search -- if you dare!

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 12.0.0.1 12.0.3 English