Difference between revisions of "Special List"

From TNG_Wiki
Jump to: navigation, search
(Purpose of the mod)
(Custom Text Additions: add a missing $)
Line 148: Line 148:
 
$sltab = "Plus Remarquable";<br />
 
$sltab = "Plus Remarquable";<br />
 
$slperson = "Personne Remarquable";<br />
 
$slperson = "Personne Remarquable";<br />
slphoto = "Photos notables";<br />
+
$slphoto = "Photos notables";<br />
 
$sllinkvar = 0;<br />
 
$sllinkvar = 0;<br />
 
$sllink = "mostwanted.php";<br />
 
$sllink = "mostwanted.php";<br />

Revision as of 12:53, 5 December 2018

Restricted Downloads of Special List 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



In TNGv12 and beyond, this mod uses the new 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]


Special List
Summary Adds a tab to the Admin Misc. page to add a 'Special List' option. Adds Most Notable page in Miscellaneous.
Validation This mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 27 Nov 2018
Updated sllink variables (All Versions)
Download link special_list_v12.1.1b
TNG 12.0.2


TNG 11.1.2
special_list_v11.1.2b

TNG 10.1.3
special_list_v10.1.3b

TNG 9.2.2
special_list_v9.1.2b

Download stats See download statistics
Author(s) {{{mod_author}}}
Homepage Special List (This page)
Mod Support TNG Community Forums
Contact Developer TNG Community Forums
Latest Mod 12.1.1b for TNG v12
11.1.2b for TNG v11.1.2
10.1.3b for TNG v10.1.3
9.1.3b for TNG v9.2.2
For more information,
TNG Version
Min TNG V 9.2.2
Max TNG V 12.0.2
Files modified

languages/English-UTF8/cust_text.php, languages/English/cust_text.php, customconfig.php, genlib.php, admin_misc.php, admin_whatsnewmsg, admin_mostwanted, mostwanted, admin_data_validation.php, admin_valreport.php, admin_backup.php, admin_optimize.php, admin_restore.php, admin_utilities.php, admin_genconfig.php, ajx_updateorder.php, admin_changetree.php, admin_renumber.php, admin_updateconfig.php, admin_getphotodetails.php
Related Mods
Notes
All version tested in the latest TNG Version, TNGv12 tested in all versions.


Purpose of the mod

  • Adds a tab to the Admin Misc. page to add a 'Special List' option. Adds Most Notable page in Miscellaneous.
  • This mod is a duplicate of Most Wanted and is used for the purpose to "Create a list of notable people and photos, to give more publicity for the items that you wish to highlight".
  • The Special List mod was named Most Notable to highlight Nobility for family member viewing. The mod highlights the Nobility Person and or Nobility Photos which exists in our genealogy.
  • Note: You can rename Most Notable to suit your own needs (f ex Most Notorious) in the config file or mod manager Edit Options.
  • Scroll down to view screenshot of mod installed: Viewing the Most Notable entries.
  • Special List description will appear in the language you use. "It will not change" language

Developer

  • Personal Mod added to public tng users.
  • Mod updated from TNGv9.0.0 thru TNGv12.0


Admin > Miscellaneous

  • As seen below we have named the Special List config file Most Notable to highlight the nobility in our website.
  • You can rename Most Notable to suit your own needs (f ex Most Notorious) in the config file or Edit Options in mod manager.
Most Notable screenshot of Admin Miscellaneous.


Admin > Miscellaneous > Most Notable > Add New or (edit, delete)

  • Notable People you can write some interesting facts from your notes.
  • Notable Photos you can add some interesting photos if available.
Most Notable screenshot of Admin to add, edit, or delete.


Viewing Mod Manager

  • Below is a screenshot of mod after installing, included are some instructions.
  • Please note the table added is named tng_speciallist, backup in Admin > Utilities.
Mod Manager View.


Viewing Most Notable

  • Below is a screenshot of Most Notable view after install and adding description.
Public viewing.


UPDATED Link Variable

  • Below is a screenshot Most Notable updated link variable.
  • Updated the link variable to show link below header, to add a link download a new copy.
Link added below header.



Working TNG Versions

  • These files have been tested on our test site in these TNG Versions only, however they may work in other versions!

Tested TNGv 12.01.-12.0.2 PHP Versions 5.6, 7.0
Tested TNGv 11.1.2 PHP Version 5.6
Tested TNGv 10.1.3 PHP Version 5.6
Tested TNGv 9.2.2 PHP Version 5.6

Requirements

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

Files Modified

Please backup the following files prior to installing.
languages/English/cust_text.php, languages/English-UTF8/cust_text.php, customconfig.php, genlib.php, admin_misc.php, admin_whatsnewmsg, admin_mostwanted, mostwanted, admin_data_validation.php, admin_valreport.php, admin_backup.php, admin_optimize.php, admin_restore.php, admin_utilities.php, admin_genconfig.php, ajx_updateorder.php, admin_changetree.php, admin_renumber.php, admin_updateconfig.php, admin_getphotodetails.php

New Files Created

These files will be created.
admin_editspeciallist.php, admin_updatespeciallist.php, admin_findslmedia.php, admin_speciallist.php, speciallist.php, languages/English/speciallist_help.php, languages/English-UTF8/speciallist_help.php, js/speciallist.js

Automated Installation

  1. Download Special List Mod, upload and extract to the mods folder. Instructions are included in Mod Manager.
  2. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install.
  3. After install open mod manager click on special_list_v12.0.1b and follow the installation instructions.

Custom Text Additions

The config file does include the English languages custom text.

$sltab = "Most Notable";
$slperson = "Notable People";
$slphoto = "Notable Photos";
$sllinkvar = 0;
$sllink = "mostwanted.php";
$sllinktext = "View our most notable page here ...";
$sltellus = "Tell us what you think of this";
$admtext['miscitems'] = "Notes, What's New, Most Wanted, $sltab";
$admtext['slblurb'] = "Create a list of notable people and photos, to give more publicity for the items that you wish to highlight.";
$admtext['speciallist'] = $sltab;
$text['speciallist'] = "Most Notable";
$text['slperson'] = $slperson;
$text['slphoto'] = $slphoto;
$text['sltellus'] = $sltellus;
$admtext['slperson'] = $slperson;
$admtext['slphoto'] = $slphoto;
$admtext['sltype'] = "Type";
$admtext['confremsl'] = "Are you sure you want to remove this item?";


The config file does not include the French languages custom text.
You will have to add it in your language custom text file.

$sltab = "Plus Remarquable";
$slperson = "Personne Remarquable";
$slphoto = "Photos notables";
$sllinkvar = 0;
$sllink = "mostwanted.php";
$sllinktext = "Voir notre page la plus remarquable ici ....";
$sltellus = "Dites-nous ce que vous en pensez";
$admtext['miscitems'] = "Notes, Quoi de neuf, les plus recherchés, $sltab";
$admtext['slblurb'] = "Créez une liste de personnes et de photos notables, pour donner plus de publicité aux éléments que vous souhaitez mettre en valeur";
$admtext['speciallist'] = $sltab;
$text['speciallist'] = "Plus Remarquable";
$text['slperson'] = $slperson;
$text['slphoto'] = $slphoto;
$text['sltellus'] = $sltellus;
$admtext['slperson'] = $slperson;
$admtext['slphoto'] = $slphoto;
$admtext['sltype'] = "Type";
$admtext['confremsl'] = "Êtes-vous sûr de vouloir supprimer cet élément ?";

Language(s)

Currently available in English

  • For French manually add to the language folder in its cust_text language file.
  • For other languages you can manually add to the language in its cust_text file.
  • The default language you select will not change description to other languages!

In the event of a problem

Sites using this mod

Support this mod by adding your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
Our Acadian Family Randal Suire Mod author 12.1.1b 12.0.2 EN, FR