Difference between revisions of "Showfolio Admin Mod"
(71 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {{restricted}} | + | {{restricted}}{{TNGmod |
− | {{TNGmod | ||
| mod_name = ''Showfolio Admin'' | | mod_name = ''Showfolio Admin'' | ||
| mod_summary = Control file maintenance for the Showfolio Mod. | | mod_summary = Control file maintenance for the Showfolio Mod. | ||
+ | | mod_last_update = see Revision History | ||
| mod_validation = | | mod_validation = | ||
− | |||
| download_link = | | download_link = | ||
− | <div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id= | + | <div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=259&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} version 14.0.0.16.zip]<div style="float:right;">{{Tv140|float=left}}</div></div> |
− | < | + | <div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=223&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} version 13.0.0.8.zip]<div style="float:right;">{{Tv130|float=left}}</div></div> |
− | |||
<div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=200&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} version 11.0.0.6.zip]<div style="float:right;">{{Tver|ver=11.0|bgcolor=orange|color=black|float=left}}</div></div> | <div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=200&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} version 11.0.0.6.zip]<div style="float:right;">{{Tver|ver=11.0|bgcolor=orange|color=black|float=left}}</div></div> | ||
<!-- https://tng.lythgoes.net/wiki/images/3/36/Admin_showfolio_v11.0.0.6.zip --> | <!-- https://tng.lythgoes.net/wiki/images/3/36/Admin_showfolio_v11.0.0.6.zip --> | ||
− | |||
<div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=118&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} version 10.1.1.1.zip]<div style="float:right;">{{Tver|ver=10.0|bgcolor=#BDEEFF|color=#000000|float=left}}</div></div> | <div style="display:inline-block;width:95%;">[https://bisbeefamily.com/ccount/click.php?id=118&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} version 10.1.1.1.zip]<div style="float:right;">{{Tver|ver=10.0|bgcolor=#BDEEFF|color=#000000|float=left}}</div></div> | ||
<!-- http://tng.lythgoes.net/wiki/images/f/fc/Admin_showfolio_v10.1.1.1.zip --> | <!-- http://tng.lythgoes.net/wiki/images/f/fc/Admin_showfolio_v10.1.1.1.zip --> | ||
− | | download_stats = | + | | download_stats = [https://bisbeefamily.com/ccount/index.php?action=stats&id=118-123-158 View Stats] |
− | [https://bisbeefamily.com/ccount/index.php?action=stats&id=118-123-158 View Stats] | ||
| mod_author = [[User:Kazooter|Rick Bisbee]] | | mod_author = [[User:Kazooter|Rick Bisbee]] | ||
| mod_url = [https://bisbeefamily.com Bisbee Family Connection] | | mod_url = [https://bisbeefamily.com Bisbee Family Connection] | ||
| mod_support = [https://bisbeefamily.com/support.php?mod={{PAGENAMEE}} Support for {{PAGENAMEE}}] | | mod_support = [https://bisbeefamily.com/support.php?mod={{PAGENAMEE}} Support for {{PAGENAMEE}}] | ||
| mod_contact = As above | | mod_contact = As above | ||
− | | mod_version = | + | | mod_version = 14.0.0.16 |
− | |||
− | |||
| min_TNG_ver = 10.0 | | min_TNG_ver = 10.0 | ||
− | | max_TNG_ver = | + | | max_TNG_ver = 14+ |
| TNG_file_list = customconfig.php, admin_leftbanner.php, admin_main.php | | TNG_file_list = customconfig.php, admin_leftbanner.php, admin_main.php | ||
| related_mods = [[Showfolio_Mod]]<br />[[Media_Icons_Mod]] | | related_mods = [[Showfolio_Mod]]<br />[[Media_Icons_Mod]] | ||
| notes = | | notes = | ||
− | }} | + | }}{| style="margin-right:0.5 em;" align="right" |
+ | | __TOC__ | ||
+ | |} | ||
== Introduction== | == Introduction== | ||
− | This is a companion to the [[Showfolio_Mod | Showfolio Mod]]. It adds a panel to the TNG admin page to create or edit | + | This is a companion to the [[Showfolio_Mod | Showfolio Mod]]. It adds a panel to the TNG admin page to create or edit Folios. '''If creating a folio it will register it as media in the TNG database'''. |
− | <b> | + | <b>This mod now registers a folio in the TNG database and can switch to the TNG media editor to add more Folio options and associate it with a person or event.</b> |
Mod was developed by Rick Bisbee based on original work and design by Martin Pannier. | Mod was developed by Rick Bisbee based on original work and design by Martin Pannier. | ||
Line 41: | Line 37: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ Showfolio Admin Mod Tested With following TNG Versions | |+ Showfolio Admin Mod Tested With following TNG Versions | ||
− | ! Version !! 1000 all !! 1100 all !! 1200 all !! 1300 | + | ! Version !! 1000 all !! 1100 all !! 1200 all !! 1300 all !! 1400 all |
|- | |- | ||
| 10.1.1.1 | | 10.1.1.1 | ||
| style="background-color:green;" | | | style="background-color:green;" | | ||
+ | | style="background-color:red;" | | ||
| style="background-color:red;" | | | style="background-color:red;" | | ||
| style="background-color:red;" | | | style="background-color:red;" | | ||
Line 54: | Line 51: | ||
| style="background-color:green;" | | | style="background-color:green;" | | ||
| style="font-size:x-small;color:yellow;background-color:green;" |PHP 5.6/7.2 | | style="font-size:x-small;color:yellow;background-color:green;" |PHP 5.6/7.2 | ||
+ | | style="background-color:red;" | | ||
| style="background-color:red;" | | | style="background-color:red;" | | ||
|- | |- | ||
− | | 13.0.0. | + | | 13.0.0.8 |
| style="background-color:red;" | | | style="background-color:red;" | | ||
| style="background-color:red;" | | | style="background-color:red;" | | ||
| style="background-color:red;" | | | style="background-color:red;" | | ||
− | | style="font-size:x-small;color:yellow;background-color:green;" |PHP 5.6/7.4 | + | | style="font-size:x-small;color:yellow;background-color:green;" |PHP 5.6/7.4/8.1 |
+ | | style="background-color:red;" | | ||
+ | |||
+ | |- | ||
+ | | 14.0.0.16 | ||
+ | | style="background-color:red;" | | ||
+ | | style="background-color:red;" | | ||
+ | | style="background-color:red;" | | ||
+ | | style="background-color:red;" | | ||
+ | | style="font-size:x-small;color:yellow;background-color:green;" |PHP 7.4/8.2 | ||
|} | |} | ||
Line 75: | Line 82: | ||
|- valign="top" | |- valign="top" | ||
− | | align="center"| | + | | align="center"|14.0.0.16|| <center>8 JUl 2023</center> || |
+ | * Magnifier (showmagnifier) is no longer a selectable option - user selects while on page | ||
+ | * Bug fix - inconsistent handling of collection folder path sometimes led to using bad path | ||
+ | |||
+ | |- valign="top" | ||
+ | | align="center"|14.0.0.15|| <center>22 JUN 2023</center> || | ||
+ | * Bug fix - filter filenames out of directory list (fatal error) | ||
+ | |||
+ | |- valign="top" | ||
+ | | align="center"|14.0.0.14|| <center>27 FEB 2023</center> || | ||
+ | * Bug fix refrerence tng_real_escape_string() | ||
+ | |||
+ | |- valign="top" | ||
+ | | align="center"|14.0.0.13|| <center>21 FEB 2023</center> || | ||
+ | * Removes long temporary database interface for MySQLi and now uses the standard TNG database interface (tngconnect.php) | ||
+ | * Improves the search algorithm to find more folios | ||
+ | * Admin_showfolio mod v14.0.0.12 was not released | ||
+ | |||
+ | |- valign="top" | ||
+ | | align="center"|14.0.0.11|| <center>11 FEB 2023</center> || | ||
+ | * Fixes problem creating a correct database record. | ||
+ | |||
+ | |- valign="top" | ||
+ | | align="center"|14.0.0.10|| <center>11 FEB 2023</center> || | ||
+ | Updates the folio search algorithm. Last element in the search path | ||
+ | can be completely ambiguous to find paths containing that string inside | ||
+ | that path element (see example below) | ||
+ | |||
+ | |- valign="top" | ||
+ | | align="center"|14.0.0.9|| <center>28 Dec 2022</center> || | ||
+ | * Initial update for TNGv14 | ||
+ | |||
+ | |- valign="top" | ||
+ | | align="center"|13.0.0.8|| <center>26 Dec 2021</center> || | ||
+ | * Fixed bug that prevented searching for folios in native TNG collection folders | ||
+ | * Verified compatibility with PHP 8.1 | ||
+ | |||
+ | |- valign="top" | ||
+ | | align="center"|13.0.0.7<br />11.0.0.6 || <center>9 Nov 2020</center> || | ||
* Fixed minor bugs | * Fixed minor bugs | ||
+ | * Fixed a bug that prevented creation of a Filio in a Standard TNG collection folder. | ||
* Simplified steps to create a Folio | * Simplified steps to create a Folio | ||
|- valign="top" | |- valign="top" | ||
− | | align="center"| | + | | align="center"|13.0.0.5 || <center>21 Sep 2020</center> || |
* Totally updated to work with TNGv13 | * Totally updated to work with TNGv13 | ||
* New features make it more convenient to use | * New features make it more convenient to use | ||
|- valign="top" | |- valign="top" | ||
− | | align="center"| | + | | align="center"|11.0.0.4 || <center>9 Apr 2019</center> || |
* Added Dutch-UTF8 language support courtesy of Daniel Aelbrecht | * Added Dutch-UTF8 language support courtesy of Daniel Aelbrecht | ||
* Fixes language files copy probem | * Fixes language files copy probem | ||
Line 99: | Line 145: | ||
== Ambiguous Folio Name == | == Ambiguous Folio Name == | ||
− | [[file: | + | The last element in the search path can be ambiguous. Using an example from my own site: |
+ | |||
+ | [[file:asf0020.jpg|frame|left]] | ||
+ | In this example, "'''geo'''" is ambiguous, that is, can match several folio paths. | ||
+ | <br style="clear:both" /> | ||
+ | [[file:asf0021.jpg|frame|left]] | ||
+ | If the folio path or name is ambiguous, you will be presented with a list of all matching folios to choose from for editing. | ||
+ | |||
<br style="clear:both" /> | <br style="clear:both" /> | ||
== Create/Edit Control File == | == Create/Edit Control File == | ||
− | [[file:asf003.jpg|frame|left|'''Edit/view the control file to change and save local options''']] | + | Each Folio folder contains a control file -- folio.php -- which contains options for displaying Folio pages and also acts as the "media" file in the TNG database. |
+ | |||
+ | An index.php file can be added to the folder to redirect visitors to the correct URL to view the Folio. | ||
+ | |||
+ | Admin_showfolio will create both files for you as well as register the folio in the database. | ||
+ | |||
+ | The edit page lets you select options and actions. | ||
+ | |||
+ | [[file:asf003.jpg|frame|left|'''Edit/view the control file to change and save local options, or Edit Folio in TNG''']] | ||
<br style="clear:both" /> | <br style="clear:both" /> | ||
+ | A word about the tab map. You can map tabs to folio pages using a string (no quotes). For example | ||
+ | <pre> | ||
+ | Cover, Info, [1-350],Index,[352-394] | ||
+ | </pre> | ||
+ | Numbers inside square brackets represent a range. Above, the first page tab is labeled "''Cover''", the second is "''Info''" followed by pages numbered 1 to 350, then ''"Index''", followed by tabs (pages) 352 to 394. | ||
+ | |||
+ | Tab labels are not bound to the actual page content. If you use a numbering scheme like the one shown above, you will have to modify it if you add or remove a page from the folder to keep the tabs "synced". | ||
== Control File == | == Control File == | ||
[[file:asf004.jpg|control file]] | [[file:asf004.jpg|control file]] | ||
<br style="clear:both" /> | <br style="clear:both" /> | ||
+ | |||
+ | '''Folio.php is created by the Showfolio Admin mod'''. | ||
== Index File == | == Index File == | ||
Line 114: | Line 184: | ||
[[file:asf005.jpg|index file]] | [[file:asf005.jpg|index file]] | ||
<br style="clear:both" /> | <br style="clear:both" /> | ||
+ | |||
+ | '''Index.php is created by the Showfolio Admin mod to redirect visitor to the Folio'''. | ||
== Disclaimer == | == Disclaimer == | ||
As always, there is no warranty. Use this mod at your own risk. | As always, there is no warranty. Use this mod at your own risk. | ||
+ | |||
+ | |||
+ | == TNG Sites using this mod == | ||
+ | If you download and install this mod, please add your TNG site to the table below so we will know if it is worth maintaining. | ||
+ | |||
+ | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
+ | |- | ||
+ | ! URL | ||
+ | ! User | ||
+ | ! Note | ||
+ | ! TNG-Version | ||
+ | ! Mod-Version | ||
+ | ! User-language | ||
+ | |||
+ | |- | ||
+ | | [https://bisbeefamily.com Bisbee Family Connection] | ||
+ | | [[User:kazooter|Rick Bisbee]] | ||
+ | | Easiest way to create and maintain Folios | ||
+ | | 14.0.1 | ||
+ | | 14.0.0.10 | ||
+ | | EN | ||
+ | |- valign="middle" | ||
+ | | [https://alineofmalkins.com A Line of Malkins' in New Zealand - Nu Tirani] | ||
+ | | [[User:RickM|Rick Malkin]] | ||
+ | | Excellent companion Mod to the ShowFolio Mod | ||
+ | | 14.0.2 | ||
+ | | 14.0.0.16 | ||
+ | | EN | ||
+ | |- | ||
+ | | [https://lisaandroger.com/tng/showfolio.php?mediaID=513 William Ernest Moffat World War One Service Record] | ||
+ | | [[User:TheKiwi|Roger Moffat]] | ||
+ | | Great way to create and maintain Folios | ||
+ | | 14.0.1 | ||
+ | | 14.0.0.10 | ||
+ | | EN | ||
+ | |- | ||
+ | | [https://genealogy.clanmoffat.org/showfolio.php?mediaID=860 Clan Moffat Genealogy Online] | ||
+ | | [[User:TheKiwi|Roger Moffat]] | ||
+ | | Fantastic way to create and maintain Folios | ||
+ | | 14.0.1 | ||
+ | | 14.0.0.10 | ||
+ | | EN | ||
+ | |||
+ | |} | ||
[[Category:Media]] | [[Category:Media]] | ||
+ | [[Category:Mods for TNG v14]] | ||
+ | [[Category:Mods for TNG v13]] | ||
+ | [[Category:Mods for TNG v12]] | ||
+ | [[Category:Mods for TNG v11]] | ||
[[Category:Mods for TNG v10]] | [[Category:Mods for TNG v10]] | ||
[[Category:Other Scripts]] | [[Category:Other Scripts]] |
Latest revision as of 15:35, 7 February 2024
Downloads of Showfolio Admin 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 | ||
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
|
Showfolio Admin | |||||
---|---|---|---|---|---|
Summary | Control file maintenance for the Showfolio Mod. | ||||
Validation | |||||
Mod Updated | see Revision History | ||||
Download link | version 14.0.0.16.zip
version 13.0.0.8.zip
version 11.0.0.6.zip
version 10.1.1.1.zip
| ||||
Download stats | View Stats | ||||
Author(s) | Rick Bisbee | ||||
Homepage | Bisbee Family Connection | ||||
Mod Support | Support for Showfolio_Admin_Mod | ||||
Contact Developer | As above | ||||
Latest Mod | 14.0.0.16 | ||||
Min TNG V | 10.0 | ||||
Max TNG V | 14+ | ||||
Files modified | customconfig.php, admin_leftbanner.php, admin_main.php | ||||
Related Mods | |||||
Notes |
Introduction
This is a companion to the Showfolio Mod. It adds a panel to the TNG admin page to create or edit Folios. If creating a folio it will register it as media in the TNG database.
This mod now registers a folio in the TNG database and can switch to the TNG media editor to add more Folio options and associate it with a person or event.
Mod was developed by Rick Bisbee based on original work and design by Martin Pannier.
Compatibility
Version | 1000 all | 1100 all | 1200 all | 1300 all | 1400 all |
---|---|---|---|---|---|
10.1.1.1 | |||||
11.0.0.6 | PHP 5.6/7.2 | ||||
13.0.0.8 | PHP 5.6/7.4/8.1 | ||||
14.0.0.16 | PHP 7.4/8.2 |
*green: compatible red: not compatible white: not tested
See Multisite Testbed for information on how this mod is tested and managed.
Revisions
Version | Date Released | Showfolio — What's New |
---|---|---|
14.0.0.16 |
| |
14.0.0.15 |
| |
14.0.0.14 |
| |
14.0.0.13 |
| |
14.0.0.11 |
| |
14.0.0.10 |
Updates the folio search algorithm. Last element in the search path can be completely ambiguous to find paths containing that string inside that path element (see example below) | |
14.0.0.9 |
| |
13.0.0.8 |
| |
13.0.0.7 11.0.0.6 |
| |
13.0.0.5 |
| |
11.0.0.4 |
|
TNG Admin Panel
Select Folio
Ambiguous Folio Name
The last element in the search path can be ambiguous. Using an example from my own site:
In this example, "geo" is ambiguous, that is, can match several folio paths.
If the folio path or name is ambiguous, you will be presented with a list of all matching folios to choose from for editing.
Create/Edit Control File
Each Folio folder contains a control file -- folio.php -- which contains options for displaying Folio pages and also acts as the "media" file in the TNG database.
An index.php file can be added to the folder to redirect visitors to the correct URL to view the Folio.
Admin_showfolio will create both files for you as well as register the folio in the database.
The edit page lets you select options and actions.
A word about the tab map. You can map tabs to folio pages using a string (no quotes). For example
Cover, Info, [1-350],Index,[352-394]
Numbers inside square brackets represent a range. Above, the first page tab is labeled "Cover", the second is "Info" followed by pages numbered 1 to 350, then "Index", followed by tabs (pages) 352 to 394.
Tab labels are not bound to the actual page content. If you use a numbering scheme like the one shown above, you will have to modify it if you add or remove a page from the folder to keep the tabs "synced".
Control File
Folio.php is created by the Showfolio Admin mod.
Index File
Index.php is created by the Showfolio Admin mod to redirect visitor to the Folio.
Disclaimer
As always, there is no warranty. Use this mod at your own risk.
TNG Sites using this mod
If you download and install this mod, please add your TNG site to the table below so we will know if it is worth maintaining.
URL | User | Note | TNG-Version | Mod-Version | User-language |
---|---|---|---|---|---|
Bisbee Family Connection | Rick Bisbee | Easiest way to create and maintain Folios | 14.0.1 | 14.0.0.10 | EN |
A Line of Malkins' in New Zealand - Nu Tirani | Rick Malkin | Excellent companion Mod to the ShowFolio Mod | 14.0.2 | 14.0.0.16 | EN |
William Ernest Moffat World War One Service Record | Roger Moffat | Great way to create and maintain Folios | 14.0.1 | 14.0.0.10 | EN |
Clan Moffat Genealogy Online | Roger Moffat | Fantastic way to create and maintain Folios | 14.0.1 | 14.0.0.10 | EN |