Family Preview Mod

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Family Preview Mod 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


Family Preview Mod.
Summary This mod adds a person preview on mouseover of family member's name on an individual's page.
Validation This mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 3 Jan 2022
Download link for
TNG 14.0
TNG 13.0

eliminates PHP 8 warnings
Family_preview_v13.0.0.4.zip

Mouseover preview
TNG 13.0
TNG 12.0
TNG 11.0
TNG 10.1.0

family_preview_v10.1.0.2c.zip

TNG 10.0


family_preview_v10.0.0.0.zip

TNG 9.0

family_preview_v9.0.0.2.zip

Click Mag-Glass icon for popup
TNG 12.0
TNG 11.0
TNG 10.1.0

family_preview_v10.1.0.3lb.zip

TNG 10.0


family_preview_v10.0.0.1lb.zip

TNG 9.0


family_preview_v9.0.0.2lb.zip


Download stats See download statistics
For v13.0.0.3/4
Author(s) Jeff Robison
Homepage Robison and Blythe Genealogy
Mod Support TNG Community Forums
Contact Developer My Mod Support
Latest Mod 13.0.0.4 for TNG 13+
10.1.0.2c/10.1.0.2lb
Min TNG V 9.1
Max TNG V 14+
Files modified
css/genstyle.css
getperson.php
img/
Related Mods
Notes

Purpose of the mod

  • Version v9.0.0.2 and v10.0.0.0 adds a person preview on mouseover of family member's name on an individual's page comparable to the preview in search.php but the preview position is fixed on the page.
  • Versions v9.0.0.2lb and v10.0.0.0alb adds a mag-glass icon after a person's name. A lite box popup is displayed when clicked. Navigation or more popups are available from the popup.
TNG version: 12.0.0
  • The Family Preview Mod Version 10.1.0.2c is complementary to two other mods if installed (Note the feature is only available on TNG 12 and is disabled for mobile devices):
    • The Add Person Siblings Row mod
      - person preview popups of sibling and sibling spouses(partners) possible.
    • The Show All Family mod
      - person preview popups of children's spouses(partners), oldest ancestors spouses(partners), parents other spouses(partners), and spouses other spouses(partners)

Developer

This mod was developed by Jeff Robison.
* View all mods by Jeff Robison

Updated for TNG v13 by Ken Roy and Brent Hemphill to eliminate PHP 8 warnings

Requirements

  • A working TNG installation. The automated installation release was tested at TNG Version 9.0.3.
  • An installed current version of the Mod Manager.

Automated Installation

  1. Remove/Delete all previous versions of this mod.
  2. Download the .zip file. Upload and Extract to the mods folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install.

In the event of a problem

Revision History

Version Date Contents
13.0.0.4 3 Jan 2022 Updated by Ken Roy
  • to resolve PHP 8 fatal error
code change was modified by Brent Hemphill on TNG Community Forum
13.0.0.3 27 Jun 2021 Updated by Ken Roy
  • to resolve PHP 7 warning errors
  • to add comments where changes are made
  • to move familyprevlib101.php to a subfolder
which was modified by Brent Hemphill to eliminate PHP 8 warnings
10.1.0.2c/10.1.0.2lb 24 Jan 2015 Updated for TNG v10.1.
10.0.0.0alb 03 Mar 2014 Revised mod version V10.0.0.0lb so 'Cremated' is displayed instead of 'Burial' where applicable.
10.0.0.0 03 Mar 2014 Revised mod version V9.0.0.2 so 'Cremated' is displayed instead of 'Burial' where applicable.
9.0.0.2 23 Jul 2013 This mod and the Custom Event Show/Hide mod do not like each other on a mobile browser so....
Some popular mobile device detection was added. Popups disabled if detected.
Devices: Phone|Mobile|iPhone|iPod|iPad|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|webOS|hpwOS|Fennec|Minimo|Opera Mobi|Opera Mini|Blazer|Dolfin|Dolphin|Skyfire|Zune.
9.0.0.1 0 May 2013 This mod adds a person preview on mouseover of a family member's name on an individual's page.
The popup content is limited by the browser window height only so for the most part all info may be viewed.
9.0.0.2lb 14 May 2013 Compatible with Living Color Mod.
9.0.0.0lb 10 May 2013 This version utilizes TNG's litbox.js popup functions and installs a modified copy of ajx_perspreview.php.
Click the blue mag-glass after a name.
The modified ajx_perspreview.php allows for navigation and/or more popups.
Popup width/height parameters are available for edit in Mod Manager after installation.
No known conflicts.
9.0.0.0 02 May 2013 This mod adds a person preview on mouseover of a family member's name on an individual's page.
Comparable to the preview in search.php but the preview position is fixed on the page. No scrolling!

Custom Text Additions

Note: The config file only includes the English language changes, so if you support multiple languages you can modify the config file to add the custom text for those other languages, or manually add the following custom text to each of your other languages with appropriate translations of course.

$text['preview'] = "Preview";
$text['clicktopreview'] = "Click to preview";

Custom CSS

The class governing the properties of the popup window is .LB_window. By default the background color is the same as .databack in genstyle.css and templatestyle.css

To change the background color add the following to your mytngstyle.css or to mygenstyle.css. Replace the hex color code ' #e0e0f7 ' with the color of your choice.
Note: Changing the background color affects all other litbox popups on your site resulting in a content with .databack color and the popup background will be the new color.

.LB_window {
    background: #e0e0f7;
}

To use a seamless background image for the background.
Replace filename with the actual file name.
Note: This example assumes the image is in the img directory. If not the background color will be #fff (white)

.LB_window {
  background: #fff url(../img/filename) repeat;
}

TNG User sites using this mod

Please add TNG site that you have found that utilize this modification:

URL User Note Mod-Version TNG-Version User-language
Treichel-Familie.de Andreas Treichel Public & Private 13​.0​.0​.4 14.0.3 DE, UK, FR, ES, PL
Ahnenforschung Joachim Drexel Joachim Drexel Public 10.1.0.2c 12.3.0 German
William Moffat on Roger's Online Genealogy Roger Moffat Public/Private 10.1.0.2c 12.1.0 DE, EN
Families all over the World Hans Weebers Public/Private 10.1.0.2c 11.0.0.0 NL/DE/ENG/FR
Robison and Blythe Genealogy Jeff Robison Mod developer 10.1.0.2c 13.0.2 EN
Nordic Ancestry Mogens C. Fenger Not a public site 9.0.0.0 9.1.0 DA, EN
Kemp(e) Family History Andrew Kemp see User:Kempons see User:Kempons EN
Grogan Mob Margaret Turner Public site 0.1.0.2c 10.1.1 EN
Turner Mob Margaret Turner Public site 0.1.0.2c 10.1.1 EN
Sorenson-Robey Family History Darlene Bittaker 9.0.0.2lb 9.1.1 EN
Genealogies of the peat colonies in the North of the Netherlands Henny Savenije 9.0.0.0 9.2.1 EN, Du, DE, Fr, Sp, etc
British 1820 Settlers to South Africa Paul Tanner-Tremaine Public site 10.1.0.2c 12.3 EN
MOTYER Family Genealogy John Mark Motyer Public site See here See here EN
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Wortelboer Genealogy Bernard Wortelboer public site 13.0.0.4 14.0.0 NL, EN
Stamboom familie Boersma Jan Boersma public site 10.1.0.2c 12.0.3 NL, EN
Brady Family Tree in Western Australia Darryl Brady Public site 10.1.0.2c 10.1.1 EN, DE
Bastiaanssen Genealogy Jan Bastiaanssen Public / Private 13.0.0.4 13.1.2 EN, NL, ES
Roy~Royes Family Links Bruce Roy Public site 10.1.0.2c 10.1.2 EN
Quigley Doyle Family Tree Don Quigley Public Site 10.1.0.2c 11.0.0 EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS
Chamberlain & Eidenbenz Genealogy Graham Chamberlain Public 10.1.0.2c 12.0.i EN, FR, DE, ES, NL
The Grahams of Helensburgh Jim Graham Public/Private 10.1.0.2c 12.0 EN
Familienforschung Riehl & Kröber Otto Riehl (no public site) 10.1.0.2c 11.1.2 DE, EN, ES, FR, PT
Luithlenfamilie Ingo Wagner Not a Public site 10.1.0.2c 11.1.2 DE, EN, NO, FR
Rintoul/Bowman Family Andrew Rintoul Public/Private 10.1.0.2c 12.0 EN, DE, ES, FR
Genealogy of the Weir and Drain Families Beverley Stimpson Public Site 10.1.0.2c 11.1.2 EN
Bumbery-Wangler Bob Bumbery Public/Private Site 10.1.0.2c 13.0.0 EN
The Cole / Tanner Family Tree David Cole Public/Private see here see here EN, DE, FR, ES, NL
Martius family Hendrik Martius Half public 10.1.0.2c 12.0.1 DE, EN, FR, NL
Eskeland and Haugland family User:helland71 Private 10.1.0.2c 12.0.2 NO, EN
Genealogische Datenbank JPB Public site see here see here DE, EN, FR
Familienforschung SCABELL Helga Scabell Public/Private 10.1.0.2 12.1 DE, EN, PT
Journeys in Genealogy Patrick Thrush Public WordPress/TNG bundle 10.1.0.2c 12.1 EN
Racines luxo-hennuyeres Michel Kirsch Public/Private 10.1.0.2c 13.0.3 FR/EN/NL/GE/SP
Our Immigrant Ancestors Jim Larson Private 13.0.0.4 14.0.4 EN, NO
Familenforschung Kattau Uwe Kattau Public / Private 10.1.0.2c 13.0.2 DE
Vitter-Weaver Genealogy Jeffrey Vitter Public site 10.1.0.2c 13.0.3 EN, FR, CH, DE, ES, IT, NO
Our Roy and Boucher Family Ken Roy Updated with Brent Hemphill to eliminate PHP 8 warnings 13.0.0.4
TNG 14.0.4
EN, FR
Die Familie Assent-Metternich Rainer Assent Private 13.0.0.3 13.0.3 DE
Osage County Cousins Larry G Banks Public / Private 13.0.0.4 14.0 EN
Sejarah Thümann Jeffrey Thümann Public 13.0.0.3 13.0.3 NL, EN
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN
Huygens - Van de Moortel Tom Huygens Public/Private on WordPress 13.0.0.3 13.1.2 NL
Your Roots are Showing Harold Craswell Public/Private See Here See Here EN
R G Strong Family Genealogy Russell Strong Public 13.0.0.4 14.0.4 EN, DE, FR, NL
The Severijns / Timmer Familytree Rob Severijns Public / Private 13.0.0.4 14.0.4 NL, EN