Difference between revisions of "First Names Extra"

From TNG_Wiki
Jump to navigation Jump to search
(Text replacement - "http://www.gilbert-family-history.net" to "https://www.gilbert-family-history.net")
Line 1: Line 1:
 +
{{restricted}}
 
{{TNGmod
 
{{TNGmod
 
| mod_name        = First Names Extra
 
| mod_name        = First Names Extra
 
| mod_summary    = Adds a page to TNG to display forenames not given as a first forename.
 
| mod_summary    = Adds a page to TNG to display forenames not given as a first forename.
 
| mod_validation  = Validated as XHTML 1.0 Transitional.
 
| mod_validation  = Validated as XHTML 1.0 Transitional.
| download_link  = ‎[http://www.katiandgraham.com/genealogy/ccount/click.php?id=19 First_names_extra_v9.0.0.0.zip] for {{Tv90}}{{Tv100}}
+
| download_link  = ‎[http://www.katiandgraham.com/genealogy/ccount/click.php?id=19&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} First_names_extra_v9.0.0.0.zip] for {{Tv90}}{{Tv100}}{{Tv110}}
 
| download_stats = [http://www.katiandgraham.com/genealogy/ccount/index.php?action=stats&groupid=12 See download statistics]
 
| download_stats = [http://www.katiandgraham.com/genealogy/ccount/index.php?action=stats&groupid=12 See download statistics]
 
| mod_author      = Warren Gilbert
 
| mod_author      = Warren Gilbert
Line 86: Line 87:
 
|
 
|
 
| 9.0.0.0
 
| 9.0.0.0
| 10.0.0
+
| 11.1.0
 
| EN, FR, DE, NL, ES
 
| EN, FR, DE, NL, ES
 
|-
 
|-
Line 105: Line 106:
 
[[Category:Mods for TNG v9]]
 
[[Category:Mods for TNG v9]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v10]]
 +
[[Category:Mods for TNG v11]]

Revision as of 07:47, 20 March 2017

Restricted Downloads of First Names Extra are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox


Caution


First Names Extra
Summary Adds a page to TNG to display forenames not given as a first forename.
Validation Validated as XHTML 1.0 Transitional.
Mod Updated {{{mod_last_update}}}
Download link First_names_extra_v9.0.0.0.zip for
TNG 9.0
TNG 10.0
TNG 11.0
Download stats See download statistics
Author(s) Warren Gilbert
Homepage First Names Extra
Mod Support Support for Warren Gilbert's mods
Contact Developer
Latest Mod 9.0.0.0 for TNG V9.2, but should work with TNG v9.0.0 or later and works for TNG v10.0.0
Min TNG V 9.0.0
Max TNG V 10.0.3
Files modified
firstnames-extra.php (new file), cust_text.php (edit)
Related Mods
Notes
You will need to add links to the new firstnames-extra.php file somewhere on your site. The new php file will display a link to the main file of the First Names mod if you have it installed.


Purpose of the mod

This mod will create a new php script - firstnames-extra.php - which produces a report of forenames which have not been used as a first forename by any person in the selected tree(s).

Since TNG 10.1 this First Names Extra Mod is included with the First Names Mod

Developer

This mod was developed by Warren Gilbert.
Specified by Graham Chamberlain.

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary in the upper right corner of the page)

More Information

The mod splits the forename column of the 'people' table into individual names, and compares all 2nd, 3rd, 4th and 5th names found to all 1st names and reports where there is no match. The splitting is done by looking for a space in the forename field.
Note that the mod requires the individual names in forename to be separated by a SINGLE space. If you wish to install the mod but you may have multiple spaces in your firstname data, you can update the people table in your database with the following steps.

  1. Back-up your people table
  2. Run the following SQL in phpMyAdmin (or similar)
UPDATE tng_people
SET firstname = REPLACE(firstname, '  ', ' ');
  1. Re-run the SQL above until no rows are updated

Automated Installation

  1. Download the appropriate zip file as shown in the summary in the upper right corner of the page.
  2. Extract the config file from the downloaded zip file into the mods folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.

Parameters

Once installed, the mod allows some parameters to be changed.

  1. Number of columns to display. This will not be exceeded: Default is 6.
  2. Number of rows to display in each column. This may be adjusted depending on the number of results and the number of columns: Default is 40.
  3. Single quotes in firstname to be ignored? Y or y indicates yes; anything else indicates no. Default is N.
  4. Double quotes in firstname to be ignored? Y or y indicates yes; anything else indicates no. Default is N.
  5. Parentheses - ( and ) - in firstname to be ignored? Y or y indicates yes; anything else indicates no. Default is N.
  6. Brackets - [ and ] - in firstname to be ignored? Y or y indicates yes; anything else indicates no. Default is N.
  7. Braces - { and } in firstname are to be ignored? Y or y indicates yes; anything else indicates no. Default is N.
  8. Characters in firstname to be ignored. Default is *.
  9. A single word to be ignored in firstname. Default is or.

Custom Additions

  1. Create links to firstnames-extra.php in your topmenu, drop down menu, index page or any page of your choice.

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
Gilbert family history Warren Gilbert Mod developer 9.0.0.0 9.2.0 EN
Chamberlain and Eidenbenz Geneaology Graham Chamberlain 9.0.0.0 11.1.0 EN, FR, DE, NL, ES
Mitchell Families Online Roger Mitchell 9.0.0.0 9.2.0 EN
Total Family History Scott Bennett Private Site (For right now) 9.0.0.0 TNG 10.0.1 EN