Add Attachment Link
|Downloads of Add Attachment Link 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
|The latest version of this mod uses the 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:
[See details in the TNGv12 Change Impacts Article][Hide the instructions]
|Add Attachment Link|
|Summary||This mod will add a link on the Suggest form so that the user can add an attachment to his suggestion.|
|Validation||This mod is XHTML compliant.|
|Mod Updated||4 May 2023|
|Download stats||See download statistics|
|Homepage||Add Attachment Link (This page)|
|Mod Support||My Mod Support|
|Contact Developer||My Mod Support|
|Latest Mod||126.96.36.199a for TNG V12+, 188.8.131.52 for TNG V9+, 184.108.40.206 for TNG V8.1.x|
|Min TNG V||8.1|
|Max TNG V||14+|
This mod includes optional French, German, Dutch, Spanish
and Czech translation files.
Purpose of the mod
This mod will add a link to the suggest form that will open the users email client so they can attach a file/s to their suggestion.
This mod was developed by Russ Strong. Layout changes, Spanish and Czech translations provided by Ron Krzmarzick. French translation provided by Michel Kirsch.
- A working TNG installation. The automated installation release was tested at TNG Version 8.1 +.
- An installed current version of the Mod Manager.
- Download the appropriate zip file as shown in the summary in the upper right corner of the page.
- Extract the config file from the downloaded zip file into the mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
Custom Text Additions
Note that the config file includes the English, French, German, and Dutch language changes, see summary for other languages included. 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. Note if using version 9 and greater remove the comment from the last variable to enable it. Note If you would like your language(s) included in the config file, please use the mod support form and include the translations in the message.
// added to open email for attachment to suggest.php by Add Attachement Link mod $text['addattachment'] = "ATTENTION! If you would like to send an attachment of a photo or document for this "; $text['addattachment1'] = " then click on the attachment link below."; $text['addattachment2'] = "This will open your email program where you can attach your file and then fill out the <b>link</b> and <b>description</b> in the body of your message."; $text['addattachment3'] = "There is no need to fill in this form."; $text['message'] = "message"; $text['mediaattached1'] = " with media file attached"; $text['mediaattached2'] = ": Media file attached"; $text['attachment'] = "Add Attachment"; $text['aa_person'] = "person"; $text['aa_family'] = "family"; $text['aa_repository'] = "repository"; $text['aa_source'] = "source"; //$text['aa_place'] = "place"; // added for version 9+ // end attachment messages by Add Attachement Link mod
|220.127.116.11a||4 May 2023||Fixed UTF-8 character display (French, Spanish, German,...) - MichelK|
|18.104.22.168||21 Jan 2022||fixed PHP8 warnings|
|22.214.171.124a||27 Nov 2019||corrected file encoding.|
|126.96.36.199||24 Nov 2019||Updated French translations|
|188.8.131.52||26 Oct 2018||Updated to Mod Manager v12 standards.|
|184.108.40.206||13 Oct 2018||Corrected syntax errors on lines 85 and 94.|
|220.127.116.11||13 Oct 2018||Updated to work with TNG V9+ so mod will translate when suggest.php is called from a placesearch.|
|18.104.22.168||13 Oct 2018||Corrected syntax errors on lines 74 and 83.|
|22.214.171.124||12 Oct 2018||Changed target locations and added text variables for each $typestr so they will translate to other languages when opened from a person page or family page.|
|126.96.36.199||11 Oct 2018||Minor layout changes and re-translated cust_txt.php files for German, French, and Dutch files using DeepL Translator. Added Spanish and Czech files provided by Ron Krzmarzick.|
|188.8.131.52||7 Oct 2018||Corrected spelling errors and re-translated cust_txt.php files for German, French, and Dutch files.|
|184.108.40.206||?||Initial Release (private unpublished)|
In the event of a problem
- Try using the Mod Manager Remove capability
- Contact me through My Mod Support.
Visualization of this mod
Without this mod, the suggest.php displays as shown in the image on
With Mod Installed
With the Add Attachment Link mod installed, the suggest.php includes
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
|R G Strong Family Genealogy||Russell Strong||Developer||220.127.116.11a||13.1.1||EN, DE, FR, NL|
|Roots & Relatives Remembered||Ron Krzmarzick||Public & Private||See Here||See Here||EN,DE,CS|
|Racines Luxo-hennuyères||Michel Kirsch||Public site (registration)||V18.104.22.168||TNG 14.0.1||FR/EN/GE/NL|
|Genealogy Bastiaanssen||Jan Bastiaanssen||Public / Private||V22.214.171.124||TNG 13.1.2||NL EN ES|
|Genealogy of a Dutch East-Indies Family||Rob Severijns||Private||126.96.36.199||TNG 14.0.2||NL, EN|
|MOTYER Family Genealogy||John Mark Motyer||Public site||See here||See here||EN|