Difference between revisions of "Submit Photo/Document Form Mod"
(Display change. Added category.) |
|||
(32 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
− | {{restricted}}{{TNGmod | + | {{SupportNeeded}}{{restricted}}{{TNGmod |
− | | mod_name = | + | | mod_name = {{PAGENAME}} |
− | | mod_summary = Allows visitors to submit photos or documents. | + | | mod_summary = Allows visitors to submit photos or documents. |
− | | mod_validation = | + | | mod_validation = |
− | | mod_last_update = | + | | mod_last_update = 30 March 2024 |
− | | download_link = | + | | download_link = For{{Tv140}}{{Tv1302}}[[Media:submitphotoform_V13.0.2.1.zip|submitphotoform_V13.0.2.1.zip]]<hr style="clear: both;"/>For{{Tv120}}{{Tv110}}{{Tv1010}}[http://www.robisonandblythe.org/ccount/click.php?id=94&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} submitphotoform_V10.1.0.1.zip]<hr style="clear: both;"/>For{{Tv100}}{{Tv90}}<br />[http://www.robisonandblythe.org/ccount/click.php?id=76&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} submitphotoform_V9.0.0.12.zip] |
− | | download_stats = [http://www.robisonandblythe.org/ccount/index.php?action=stats&groupid=1 See download statistics] | + | | download_stats = [http://www.robisonandblythe.org/ccount/index.php?action=stats&groupid=1 See download statistics] |
− | | mod_author = Jeff Robison | + | | mod_author = Jeff Robison |
− | | mod_url = [http://www.robisonandblythe.org/ Robison and Blythe Genealogy] | + | | mod_url = '''{{PAGENAME}}''' (This page)<!-- [http://www.robisonandblythe.org/ Robison and Blythe Genealogy] --> |
− | | mod_support = [ | + | | mod_support = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums] |
− | | mod_contact = [http://www.robisonandblythe.org/mod_support.php My Mod Support] | + | | mod_contact = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums]<!-- [http://www.robisonandblythe.org/mod_support.php My Mod Support] --> |
− | | mod_version = 13.0.1 | + | | mod_version = 13.0.2.1 |
− | | min_TNG_ver = 9.0 | + | | min_TNG_ver = 9.0 |
− | | max_TNG_ver = | + | | max_TNG_ver = 14.0 |
− | | TNG_file_list = <br /> | + | | TNG_file_list = getperson.php<br />familygroup.php<br />submit_photo.php<br />languages/English/cust_text.php<br />languages/English-UTF8/cust_text.php |
− | | related_mods = [[Submit Photo Tab Mod]]<br />[[Submit Photo Mod]] | + | | related_mods = [[Submit Photo Tab Mod]]<br />[[Submit Photo Mod]] |
− | | notes = | + | | notes = <center>'''Custom Text Mods for'''<br />'''Submit Photo/Document Form Mod'''</center> |
[[Media:submitphotoform_v9.0.0.3_dutch.zip | submitphotoform_v9.0.0.3_dutch.zip]]<br />Dutch custom text mod by Bart Degryse.<br />[[Media:submitphotoform_v9.0.0.3_french.zip | submitphotoform_v9.0.0.3_french.zip]]<br />French custom text mod by Bart Degryse.<br />[[Media:Submitphotoform_v10.1.0.0_german.zip | submitphotoform_v10.1.0.0_german.zip]]<br />German custom text mod by Martin Pannier. | [[Media:submitphotoform_v9.0.0.3_dutch.zip | submitphotoform_v9.0.0.3_dutch.zip]]<br />Dutch custom text mod by Bart Degryse.<br />[[Media:submitphotoform_v9.0.0.3_french.zip | submitphotoform_v9.0.0.3_french.zip]]<br />French custom text mod by Bart Degryse.<br />[[Media:Submitphotoform_v10.1.0.0_german.zip | submitphotoform_v10.1.0.0_german.zip]]<br />German custom text mod by Martin Pannier. | ||
− | }} | + | }}{| style="margin-right:0.5 em;" align="right" |
− | + | | __TOC__ | |
− | {|align=right | ||
− | |__TOC__ | ||
|} | |} | ||
− | |||
== Purpose of the mod == | == Purpose of the mod == | ||
− | This is a base form which allows visitors to submit photos and/or documents for an individual or family.<br />Various mods that link to this form are listed in the panel to the right. Note that you ''must'' install one of these mods with this mod in order for it to work. | + | This TNG modification is a base form which allows visitors to submit photos and/or documents for an individual or family.<br />Various mods that link to this form are listed in the panel to the right. Note that you ''must'' install one of these mods with this mod in order for it to work. |
== Developer == | == Developer == | ||
− | + | This mod was developed by [[User:Jefr58|Jeff Robison]]. View all mods by [[User:Jefr58|Jeff]].<br />Updated for TNG 13.0.1 by [[User:Tngrlkrz|Ron Krzmarzick]]. | |
− | |||
==Requirements== | ==Requirements== | ||
− | + | * A working TNG installation. | |
− | * A working TNG installation. | + | * A backup of all affected files (see the list in the summary to the right) |
* An installed current version of the [[Mod Manager]]. | * An installed current version of the [[Mod Manager]]. | ||
+ | * Both '''English''' and '''English-UTF8''' folders be on your site | ||
*A link to the form. Several are listed under '''Related Mods''' in the panel to the right.<br /> | *A link to the form. Several are listed under '''Related Mods''' in the panel to the right.<br /> | ||
'''Note:''' You can place a custom link to this form anywhere on your site but if no person or family ID is available, the name of your website will be displayed. | '''Note:''' You can place a custom link to this form anywhere on your site but if no person or family ID is available, the name of your website will be displayed. | ||
− | == | + | == Revision History == |
− | + | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | |
− | + | |- | |
− | + | ! Mod Version | |
+ | ! TNG Version | ||
+ | ! Date | ||
+ | ! Contents | ||
− | == | + | |- style="vertical-align:top;" |
+ | | 13.0.2.1 | ||
+ | | 13.0 | ||
+ | | style="white-space: nowrap;"|30 Mar 2024 | ||
+ | | Fixed conflict with [[Simple SEO]] mod by [[User:Tngrlkrz|Ron Krzmarzick]]. | ||
− | + | |- style="vertical-align:top;" | |
− | + | | 13.0.2.0 | |
− | + | | 13.0 | |
− | + | | style="white-space: nowrap;"|17 Jan 2021 | |
+ | | Fixed some bugs.- Jeff Robison | ||
− | == | + | |- style="vertical-align:top;" |
+ | | 13.0.1.2a | ||
+ | | 13.0 | ||
+ | | style="white-space: nowrap;"|14 Jan 2021 | ||
+ | | No functional change. The cfg version corrected. | ||
− | + | |- style="vertical-align:top;" | |
− | + | | 13.0.1.2 | |
− | + | | 13.0 | |
− | + | | style="white-space: nowrap;"|12 Jan 2021 | |
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | |- | ||
− | |||
− | | 12 | ||
| Updated for TNG 13.0.1 by [[User:Tngrlkrz|Ron Krzmarzick]]. | | Updated for TNG 13.0.1 by [[User:Tngrlkrz|Ron Krzmarzick]]. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 05 | + | | 10.1.0.1 |
+ | | 10.1 | ||
+ | | style="white-space: nowrap;"|05 Sep 2015 | ||
| Fixed SMTP mail issue. | | Fixed SMTP mail issue. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 31 | + | | 10.1.0.0b |
+ | | 10.1 | ||
+ | | style="white-space: nowrap;"|31 Aug 2015 | ||
| Fixed conflict with [[Simple SEO]] mod. | | Fixed conflict with [[Simple SEO]] mod. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 28 | + | | 10.1.0.0a |
+ | | 10.1 | ||
+ | | style="white-space: nowrap;"|28 Feb 2015 | ||
| Menu/Tabs wrapping on acknowledgement page fixed for templates 9,10,11,13 and 14. | | Menu/Tabs wrapping on acknowledgement page fixed for templates 9,10,11,13 and 14. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 17 | + | | 10.1.0.0 |
+ | | 10.1 | ||
+ | | style="white-space: nowrap;"|17 Jan 2015 | ||
| Updated for TNG v10.1. | | Updated for TNG v10.1. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 22 | + | | 9.0.0.11b |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|22 Oct 2014 | ||
| Menu/Tabs wrapping on acknowledgement page fixed for templates 9,10,11,13 and 14. | | Menu/Tabs wrapping on acknowledgement page fixed for templates 9,10,11,13 and 14. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 09 | + | | 9.0.0.11 |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|09 Aug 2014 | ||
| Allows multiple file attachments. | | Allows multiple file attachments. | ||
* Max number of attachments edit parameter in Mod Manager after installation | * Max number of attachments edit parameter in Mod Manager after installation | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 14 | + | | 9.0.0.10a |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|14 Jul 2014 | ||
| Custom text for the submit button fixed. | | Custom text for the submit button fixed. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 13 | + | | 9.0.0.10 |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|13 Jul 2014 | ||
| Several changes....... | | Several changes....... | ||
* Obsolete code removed. | * Obsolete code removed. | ||
* Added custom text to handle email acknowledgements. | * Added custom text to handle email acknowledgements. | ||
* Person/Family headers and tabs added to email acknowledgement page. (No 'Close Window' button needed) | * Person/Family headers and tabs added to email acknowledgement page. (No 'Close Window' button needed) | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 06 | + | | 9.0.0.9b |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|06 Jul 2014 | ||
| submit_photo.php file would not create - Fixed. | | submit_photo.php file would not create - Fixed. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 07 | + | | 9.0.0.9a |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|07 Jun 2014 | ||
| Updated to allow for TNG sites using SMTP email. | | Updated to allow for TNG sites using SMTP email. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 20 | + | | 9.0.0.9 |
− | | | + | | 9.0 |
− | Session cookies replaced with variables. Fixes issue where the cookie values were being passed between browser tabs. | + | | style="white-space: nowrap;"|20 Apr 2014 |
+ | |Session cookies replaced with variables. Fixes issue where the cookie values were being passed between browser tabs. | ||
* The submit_photo.php file is now created vs. a file copy. | * The submit_photo.php file is now created vs. a file copy. | ||
You will need to replace the following mods which have been revised for this version........ | You will need to replace the following mods which have been revised for this version........ | ||
Line 118: | Line 140: | ||
* [[Submit Photo Tab Mod]] | * [[Submit Photo Tab Mod]] | ||
* [[Submit Headstone Photo Mod]] | * [[Submit Headstone Photo Mod]] | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 12 | + | | 9.0.0.8a |
− | | | + | | 9.0 |
− | + | | style="white-space: nowrap;"|12 Jun 2013 | |
+ | |Added parameters to edit in Mod Manager after installation | ||
* Captcha option (0=No captcha / 1=Use captcha). | * Captcha option (0=No captcha / 1=Use captcha). | ||
* Captcha file name (TNG_captcha.php). | * Captcha file name (TNG_captcha.php). | ||
* Accepted extensions (jp?g|pdf|png|gif|doc|docx|odt). Change or add to. <span style="color: Red">Note the separator used.</span> | * Accepted extensions (jp?g|pdf|png|gif|doc|docx|odt). Change or add to. <span style="color: Red">Note the separator used.</span> | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 4 | + | | 9.0.0.7 |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|4 Nov 2012 | ||
| | | | ||
* Added file extension verification. | * Added file extension verification. | ||
* Hard coded acceptable file extensions are .gif, .jpg, .jpeg, and .docx. | * Hard coded acceptable file extensions are .gif, .jpg, .jpeg, and .docx. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 8 | + | | 9.0.0.6 |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|8 Nov 2012 | ||
| | | | ||
* Added file extension verification. | * Added file extension verification. | ||
* Hard coded acceptable file extensions are .gif, .jpg, .jpeg, and .docx. | * Hard coded acceptable file extensions are .gif, .jpg, .jpeg, and .docx. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 28 | + | | 9.0.0.5 |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|28 Oct 2012 | ||
| | | | ||
* TNG person and family page headers are used eliminating the need of a 'Cancel' button. | * TNG person and family page headers are used eliminating the need of a 'Cancel' button. | ||
* Registered user name, Registered user email address, burial info fields are auto-filled if info is available. | * Registered user name, Registered user email address, burial info fields are auto-filled if info is available. | ||
* Link to person or family added to email. | * Link to person or family added to email. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 27 | + | | 9.0.0.4 |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|27 Oct 2012 | ||
| | | | ||
* TNG person and family page headers are used eliminating the need of a 'Cancel' button. | * TNG person and family page headers are used eliminating the need of a 'Cancel' button. | ||
* Registered user name, Registered user email address, burial info fields are auto-filled if info is available. | * Registered user name, Registered user email address, burial info fields are auto-filled if info is available. | ||
* Link to person or family added to email. | * Link to person or family added to email. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 29 | + | | 9.0.0.3 |
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|29 Sep 2012 | ||
| Deprecated PHP function "session_unregister" removed. | | Deprecated PHP function "session_unregister" removed. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 19 May 2012 | + | | 9.0.0.2 |
− | | Revised to allow for TNG user assigned links to the form such as a link on your home page, menu etc. | + | | 9.0 |
− | |- | + | | style="white-space: nowrap;"|19 May 2012 |
− | | | + | | Revised to allow for TNG user assigned links to the form such as a link on your home page, menu etc. See [[Submit_Photo/Document_Form_Mod#TNG User Defined Link|TNG User Defined Link]] |
− | | | + | |
+ | |- style="vertical-align:top;" | ||
+ | | 9.0.0.1 | ||
+ | | 9.0 | ||
+ | | style="white-space: nowrap;"|06 May 2012 | ||
| Revised for changes made to [[Submit Headstone Photo Mod]].<br />Does not affect other mods linking to the form. | | Revised for changes made to [[Submit Headstone Photo Mod]].<br />Does not affect other mods linking to the form. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | | + | | 9.0.0.0 |
− | | | + | | 9.0 |
− | |- | + | | style="white-space: nowrap;"|04 Dec 2011 |
− | | | + | | submit_photo.php and CaptchaSecurityImages.php are now modules copied to your root directory.<br />Form for [[Submit Headstone Photo Mod]] has more fields. |
− | | 27 | + | |
− | | | + | |- style="vertical-align:top;" |
− | |- | + | | 8.1.5a |
− | | | + | | 8.1 |
− | | 11 | + | | style="white-space: nowrap;"|27 Nov 2010 |
− | | | + | | my_sql query error after going to media fixed.<br>Still no spam reported using the CaptchaSecurityImages function.<br>'''Note:''' I can no longer address problems concerning ReCaptcha. I know nothing about it. |
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 07 | + | | 8.1.4c<br>1.0.2b |
− | | | + | | style="white-space: nowrap;"|11 Oct 2010 |
− | |- | + | | 8.1 |
− | | | + | | Another email fix (Mail was not being sent).<br>Still no spam reported using the CaptchaSecurityImages function.<br>Got the file version right in V1.0.2b.<br>Thank you for your patience. |
− | | 27 | + | |
+ | |- style="vertical-align:top;" | ||
+ | | 8.1.4b | ||
+ | | 8.1 | ||
+ | | style="white-space: nowrap;"|07 Oct 2010 | ||
+ | | Some spam got through with previous version. Security code changed to include numbers.<br>Testing on several sites. No spam reported! | ||
+ | |||
+ | |- style="vertical-align:top;" | ||
+ | | 8.1.4a<br>1.0.2a | ||
+ | | 8.1 | ||
+ | | style="white-space: nowrap;"|27 Sep 2010 | ||
| Email routine changed. Fix works for at least one Mac user. This version is suggested for all. | | Email routine changed. Fix works for at least one Mac user. This version is suggested for all. | ||
Common variables within mods that use this form are included to eliminate Mod Manager conflicts. | Common variables within mods that use this form are included to eliminate Mod Manager conflicts. | ||
If you currently use one of the Submit mods, remove/delete and upload/install the current version of the particular mod. | If you currently use one of the Submit mods, remove/delete and upload/install the current version of the particular mod. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 17 | + | | 8.1.3c<br>1.0.1 |
+ | | 8.1 | ||
+ | | style="white-space: nowrap;"|17 Sep 2010 | ||
| Email 'Subject' field fixed. | | Email 'Subject' field fixed. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 28 | + | | 8.1.3b |
+ | | 8.1 | ||
+ | | style="white-space: nowrap;"|28 Aug 2010 | ||
| User logout upon submission fixed. | | User logout upon submission fixed. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 24 | + | | 8.1.3a |
+ | | 8.1 | ||
+ | | style="white-space: nowrap;"|24 Aug 2010 | ||
| Unnecessary variables removed. | | Unnecessary variables removed. | ||
− | |- | + | |
− | | | + | |- style="vertical-align:top;" |
− | | 29 | + | | 1.0.0 |
+ | | 8.1 | ||
+ | | style="white-space: nowrap;"|29 Aug 2010 | ||
| For those who like spam or prefer to use another captcha routine ([[Captcha Mod]]). | | For those who like spam or prefer to use another captcha routine ([[Captcha Mod]]). | ||
|} | |} | ||
+ | == Conflicts and Issues == | ||
+ | No known conflicts. | ||
+ | |||
+ | == Installation == | ||
+ | # Uninstall and delete previous version of this mod (if installed) | ||
+ | # Download the appropriate zip file as shown in the mod summary in the upper right corner of the page. | ||
+ | # Extract the file from the downloaded zip file into the '''mods''' folder or FTP the extracted file to your mods folder. | ||
+ | # Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the mod. | ||
+ | |||
+ | == In the event of a problem == | ||
+ | * Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability. | ||
+ | * Copy the backup of the affected files back to your TNG directory. | ||
+ | * Retry installing mod. | ||
+ | * Contact us through the [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums]. | ||
+ | |||
+ | == Uninstalling the mod == | ||
+ | If you want to completely '''Remove''' (uninstall) this mod and all its tables, you should | ||
+ | # click the '''Uninstall''' button to uninstall the mod | ||
+ | # click the '''Delete''' button to delete the config file from the mods folder. | ||
+ | |||
+ | == Upgrade == | ||
+ | *Uninstall and eventually Delete the current Mod. | ||
+ | *Proceed as for an installation with the new Mod. | ||
+ | |||
+ | ==TNG User Defined Links== | ||
+ | * '''For TNG user defined links (i.e. Link on home page) to the submit photo/document form.''' | ||
+ | # Within HTML: <a href="submit_photo.php">Submit Photo/Document</a> | ||
+ | # For [[Custom Drop Down Menu]] mod customconfig.php file: $custommenulinks[$i]['target'] = "submit_photo.php"; | ||
== Custom Text Additions == | == Custom Text Additions == | ||
− | |||
'''Note:''' The config file only includes the English language $text variables. If you support multiple languages you can modify the config file to add the custom text for those other languages, or manually add them to each of your other languages with the appropriate translations. | '''Note:''' The config file only includes the English language $text variables. If you support multiple languages you can modify the config file to add the custom text for those other languages, or manually add them to each of your other languages with the appropriate translations. | ||
− | + | <syntaxhighlight lang="php" > | |
− | <syntaxhighlight lang="php | ||
// Added for Submit Photo/Document Form Mod | // Added for Submit Photo/Document Form Mod | ||
$text['enteratt'] = "Please select a file to attach"; | $text['enteratt'] = "Please select a file to attach"; | ||
Line 235: | Line 316: | ||
Please add the following if you wish to add Italian to your page - | Please add the following if you wish to add Italian to your page - | ||
− | <syntaxhighlight lang="php | + | <syntaxhighlight lang="php" > |
// Aggiunto per inviare foto/documento modulo Mod | // Aggiunto per inviare foto/documento modulo Mod | ||
$text ['enteratt'] = "Seleziona un file da allegare"; | $text ['enteratt'] = "Seleziona un file da allegare"; | ||
Line 259: | Line 340: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | == Visualization | + | == Visualization == |
− | + | The following screen captures show the changes made by the mod: | |
− | {| | + | {|| |
− | | | ||
|[[Image:submitCapture.jpg|1280px|right]] | |[[Image:submitCapture.jpg|1280px|right]] | ||
|} | |} | ||
− | == | + | == Sites using this mod == |
+ | If you download and install this mod, please add your TNG site to the table below: | ||
+ | *[https://www.treichel-familie.de Treichel-Familie.de] | ||
+ | *[https://dubuc-landry.ca/getperson.php?personID=I224&tree=dubuc/ Généalogie Dubuc-Landry] Français - English - German - Italian - Spanish | ||
*[https://www.we4kings.com/ Things of KINGS] Happy user | *[https://www.we4kings.com/ Things of KINGS] Happy user | ||
*[http://www.houseofproctor.org/ House Of Proctor] Joe Proctor: Author of original Submit Photo / Document code. | *[http://www.houseofproctor.org/ House Of Proctor] Joe Proctor: Author of original Submit Photo / Document code. | ||
Line 293: | Line 376: | ||
*[http://www.duttongenealogy.com The Duttons of New England] | *[http://www.duttongenealogy.com The Duttons of New England] | ||
*[https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia] | *[https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia] | ||
− | *[ | + | *[https://bastiaanssen.us Bastiaanssen Genealogy] |
− | |||
*[http://geneagraphie.com/ Families all over the World] - [[User:Henri_Textor| Hans Weebers]] | *[http://geneagraphie.com/ Families all over the World] - [[User:Henri_Textor| Hans Weebers]] | ||
*[http://rgstrong-genes.com R G Strong Family Genealogy] - [[User:Rgstrong| Russell Strong]] | *[http://rgstrong-genes.com R G Strong Family Genealogy] - [[User:Rgstrong| Russell Strong]] | ||
Line 302: | Line 384: | ||
*[http://racine-ad.fr/TNG/index.php Racine d'Alsace] | *[http://racine-ad.fr/TNG/index.php Racine d'Alsace] | ||
*[http://bumbery.com/ Bumbery-Wangler Genealogy Research Project] | *[http://bumbery.com/ Bumbery-Wangler Genealogy Research Project] | ||
− | *[http://colegenealogy | + | *[http://www.colegenealogy.net/ The Cole / Tanner Family Tree] |
*[http://kks-fam.net/ KK's Family History] | *[http://kks-fam.net/ KK's Family History] | ||
*[http://www.wfjansen.nl/genealogy/ Voorvaderen en nazaten] | *[http://www.wfjansen.nl/genealogy/ Voorvaderen en nazaten] | ||
*[https://www.brabantse-genealogie.nl/ Brabantse Genealogie] | *[https://www.brabantse-genealogie.nl/ Brabantse Genealogie] | ||
*[https://www.lookingbackwards.net/tng/ LookingBackwards - All Our Relations] | *[https://www.lookingbackwards.net/tng/ LookingBackwards - All Our Relations] | ||
− | *[https:// | + | *[https://www.kentuckykindred.com/ Kentucky Kindred] |
− | + | *[https://www.lathro.pe/ Lathrope Family Genealogy] | |
+ | *[http://cw.ourfamilyroots.org Coon White Family History] | ||
+ | *[https://www.kmtrees.com/ Roots & Relatives Remembered] - [[User:Tngrlkrz|Ron Krzmarzick]] | ||
+ | [[Category:Mods for TNG v14]] | ||
[[Category:Mods for TNG v13]] | [[Category:Mods for TNG v13]] | ||
[[Category:Mods for TNG v12]] | [[Category:Mods for TNG v12]] | ||
Line 315: | Line 400: | ||
[[Category:Mods for TNG v10]] | [[Category:Mods for TNG v10]] | ||
[[Category:Mods for TNG v9]] | [[Category:Mods for TNG v9]] | ||
+ | |||
+ | [[Category:getperson.php mods]] | ||
+ | [[Category:familygroup.php mods]] | ||
+ | [[Category:submit_photo.php mods]] | ||
+ | |||
+ | [[Category:Cust text.php English mods]] |
Latest revision as of 03:15, 13 April 2024
The mod Submit Photo/Document Form Mod needs a new support person since the original mod developer or subsequent developers are no longer available to support the mod |
Downloads of Submit Photo/Document Form 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
|
Submit Photo/Document Form Mod | ||||||||
---|---|---|---|---|---|---|---|---|
Summary | Allows visitors to submit photos or documents. | |||||||
Validation | ||||||||
Mod Updated | 30 March 2024 | |||||||
Download link | For
For
For
submitphotoform_V9.0.0.12.zip | |||||||
Download stats | See download statistics | |||||||
Author(s) | Jeff Robison | |||||||
Homepage | Submit Photo/Document Form Mod (This page) | |||||||
Mod Support | TNG Community Forums | |||||||
Contact Developer | TNG Community Forums | |||||||
Latest Mod | 13.0.2.1 | |||||||
Min TNG V | 9.0 | |||||||
Max TNG V | 14.0 | |||||||
Files modified | getperson.php familygroup.php submit_photo.php languages/English/cust_text.php languages/English-UTF8/cust_text.php | |||||||
Related Mods | ||||||||
Notes | Submit Photo/Document Form Mod Dutch custom text mod by Bart Degryse. submitphotoform_v9.0.0.3_french.zip French custom text mod by Bart Degryse. submitphotoform_v10.1.0.0_german.zip German custom text mod by Martin Pannier. |
Purpose of the mod
This TNG modification is a base form which allows visitors to submit photos and/or documents for an individual or family.
Various mods that link to this form are listed in the panel to the right. Note that you must install one of these mods with this mod in order for it to work.
Developer
This mod was developed by Jeff Robison. View all mods by Jeff.
Updated for TNG 13.0.1 by Ron Krzmarzick.
Requirements
- A working TNG installation.
- A backup of all affected files (see the list in the summary to the right)
- An installed current version of the Mod Manager.
- Both English and English-UTF8 folders be on your site
- A link to the form. Several are listed under Related Mods in the panel to the right.
Note: You can place a custom link to this form anywhere on your site but if no person or family ID is available, the name of your website will be displayed.
Revision History
Mod Version | TNG Version | Date | Contents |
---|---|---|---|
13.0.2.1 | 13.0 | 30 Mar 2024 | Fixed conflict with Simple SEO mod by Ron Krzmarzick. |
13.0.2.0 | 13.0 | 17 Jan 2021 | Fixed some bugs.- Jeff Robison |
13.0.1.2a | 13.0 | 14 Jan 2021 | No functional change. The cfg version corrected. |
13.0.1.2 | 13.0 | 12 Jan 2021 | Updated for TNG 13.0.1 by Ron Krzmarzick. |
10.1.0.1 | 10.1 | 05 Sep 2015 | Fixed SMTP mail issue. |
10.1.0.0b | 10.1 | 31 Aug 2015 | Fixed conflict with Simple SEO mod. |
10.1.0.0a | 10.1 | 28 Feb 2015 | Menu/Tabs wrapping on acknowledgement page fixed for templates 9,10,11,13 and 14. |
10.1.0.0 | 10.1 | 17 Jan 2015 | Updated for TNG v10.1. |
9.0.0.11b | 9.0 | 22 Oct 2014 | Menu/Tabs wrapping on acknowledgement page fixed for templates 9,10,11,13 and 14. |
9.0.0.11 | 9.0 | 09 Aug 2014 | Allows multiple file attachments.
|
9.0.0.10a | 9.0 | 14 Jul 2014 | Custom text for the submit button fixed. |
9.0.0.10 | 9.0 | 13 Jul 2014 | Several changes.......
|
9.0.0.9b | 9.0 | 06 Jul 2014 | submit_photo.php file would not create - Fixed. |
9.0.0.9a | 9.0 | 07 Jun 2014 | Updated to allow for TNG sites using SMTP email. |
9.0.0.9 | 9.0 | 20 Apr 2014 | Session cookies replaced with variables. Fixes issue where the cookie values were being passed between browser tabs.
You will need to replace the following mods which have been revised for this version........ |
9.0.0.8a | 9.0 | 12 Jun 2013 | Added parameters to edit in Mod Manager after installation
|
9.0.0.7 | 9.0 | 4 Nov 2012 |
|
9.0.0.6 | 9.0 | 8 Nov 2012 |
|
9.0.0.5 | 9.0 | 28 Oct 2012 |
|
9.0.0.4 | 9.0 | 27 Oct 2012 |
|
9.0.0.3 | 9.0 | 29 Sep 2012 | Deprecated PHP function "session_unregister" removed. |
9.0.0.2 | 9.0 | 19 May 2012 | Revised to allow for TNG user assigned links to the form such as a link on your home page, menu etc. See TNG User Defined Link |
9.0.0.1 | 9.0 | 06 May 2012 | Revised for changes made to Submit Headstone Photo Mod. Does not affect other mods linking to the form. |
9.0.0.0 | 9.0 | 04 Dec 2011 | submit_photo.php and CaptchaSecurityImages.php are now modules copied to your root directory. Form for Submit Headstone Photo Mod has more fields. |
8.1.5a | 8.1 | 27 Nov 2010 | my_sql query error after going to media fixed. Still no spam reported using the CaptchaSecurityImages function. Note: I can no longer address problems concerning ReCaptcha. I know nothing about it. |
8.1.4c 1.0.2b |
11 Oct 2010 | 8.1 | Another email fix (Mail was not being sent). Still no spam reported using the CaptchaSecurityImages function. Got the file version right in V1.0.2b. Thank you for your patience. |
8.1.4b | 8.1 | 07 Oct 2010 | Some spam got through with previous version. Security code changed to include numbers. Testing on several sites. No spam reported! |
8.1.4a 1.0.2a |
8.1 | 27 Sep 2010 | Email routine changed. Fix works for at least one Mac user. This version is suggested for all.
Common variables within mods that use this form are included to eliminate Mod Manager conflicts. If you currently use one of the Submit mods, remove/delete and upload/install the current version of the particular mod. |
8.1.3c 1.0.1 |
8.1 | 17 Sep 2010 | Email 'Subject' field fixed. |
8.1.3b | 8.1 | 28 Aug 2010 | User logout upon submission fixed. |
8.1.3a | 8.1 | 24 Aug 2010 | Unnecessary variables removed. |
1.0.0 | 8.1 | 29 Aug 2010 | For those who like spam or prefer to use another captcha routine (Captcha Mod). |
Conflicts and Issues
No known conflicts.
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
In the event of a problem
- Try using the Mod Manager Remove capability.
- Copy the backup of the affected files back to your TNG directory.
- Retry installing mod.
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and all its tables, you should
- click the Uninstall button to uninstall the mod
- click the Delete button to delete the config file from the mods folder.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
TNG User Defined Links
- For TNG user defined links (i.e. Link on home page) to the submit photo/document form.
- Within HTML: <a href="submit_photo.php">Submit Photo/Document</a>
- For Custom Drop Down Menu mod customconfig.php file: $custommenulinks[$i]['target'] = "submit_photo.php";
Custom Text Additions
Note: The config file only includes the English language $text variables. If you support multiple languages you can modify the config file to add the custom text for those other languages, or manually add them to each of your other languages with the appropriate translations.
// Added for Submit Photo/Document Form Mod
$text['enteratt'] = "Please select a file to attach";
$text['enteraccept'] = "Accepted file types: ";
$text['enterdescr'] = "File description missing.";
$text['submitphotofor'] = "Photo/Document Submission: ";
$text['submitphotohdr'] = "Submit Photo / Document";
$text['optional'] = "Optional";
$text['sharephoto'] = "Submit Photo / Doc";
$text['submitphotocredit'] = "Credit / Source";
$text['submitphotodescription'] = "Description";
$text['submitphotoattachment'] = "Attachment";
$text['submitphotorequiredfield'] = "Required Field";
$text['submitremove'] = "Remove";
$text['submitaddattachment'] = "Add another attachment";
$text['submitphotoprivacy'] = "We respect your privacy - your name and email address will not be publicly displayed or released.";
$text['submitphotobutton'] = "Submit Attachment(s)";
$text['submitmessage1'] = "Thank you xxx (yyy).";
$text['submitmessage2'] = "File(s) submitted for review to ";
$text['submitsendcopy'] = "You should receive a copy soon.";
$text['submitregards'] = "Best Regards,";
$text['submitmailnotsent'] = "We're sorry, but your submission could not be delivered.";
Please add the following if you wish to add Italian to your page -
// Aggiunto per inviare foto/documento modulo Mod
$text ['enteratt'] = "Seleziona un file da allegare";
$text ['enteraccept'] = "tipi di file accettati:";
$text ['enterdescr'] = "File Descrizione mancante.";
$text ['submitphotofor'] = "foto/documento di presentazione:";
$text ['submitphotohdr'] = "Inviare foto / documento";
$text ['optional'] = "Optional";
$text ['sharephoto'] = "Inviare foto / Doc";
$text ['submitphotocredit'] = "Credito / Source";
$text ['submitphotodescription'] = "Descrizione";
$text ['submitphotoattachment'] = "Allegato";
$text ['submitphotorequiredfield'] = "Campo obbligatorio";
$text ['submitremove'] = "Rimuovi";
$text ['submitaddattachment'] = "Aggiungi un altro allegato";
$text ['submitphotoprivacy'] = "noi rispettiamo la tua privacy - il tuo nome e indirizzo email non sarà essere visualizzato pubblicamente o rilasciato.";
$text ['submitphotobutton'] = "Invia allegati";
$text ['submitmessage1'] = "Grazie xxx (yyy).";
$text ['submitmessage2'] = "Il file inviato per la revisione a";
$text ['submitsendcopy'] = "Si riceverà una copia presto.";
$text ['submitregards'] = "Best Regards,";
$text ['submitmailnotsent'] = "Siamo spiacenti, ma non è stato possibile recapitare il tuo invio.";
Visualization
The following screen captures show the changes made by the mod:
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
- Treichel-Familie.de
- Généalogie Dubuc-Landry Français - English - German - Italian - Spanish
- Things of KINGS Happy user
- House Of Proctor Joe Proctor: Author of original Submit Photo / Document code.
- Robison and Blythe Genealogy
- Garrison-Logan Family History and Genealogy
- WilliamsGenealogyPages
- MyFOOTDEEAncestors
- Routon and Riddle Family Genealogy
- Our Reese Family Genealogy Pages
- Neptis: Belgian families
- MacomberKin Family Tree Very happy with mod and so are my users!
- Genealogy.Ravensbeak.Com - Mueller-Diefenbach Families
- Kemp(e) Family History
- Van den Heuvel genealogy
- Nordic Ancestry
- Arsenault and Simpson Family Genealogy
- Kemp(e) Family History
- Our Family Genealogy Pages
- Legacy Gazette: My Roots - My Legacy
- Farnham & Paradise Ohana v9.0.0.8 with minor modifications]
- Mitchell Families Online 9.0.0.11 is a very worthwhile and useful update. Nice one Jeff!
- Wortelboer Genealogy
- Gambrill Family Tree
- Genealogy of the Hendee Family
- The Duttons of New England
- Brady Family Tree in Western Australia
- Bastiaanssen Genealogy
- Families all over the World - Hans Weebers
- R G Strong Family Genealogy - Russell Strong
- A Bisbee Family History - Rick Bisbee
- OurFamilyHistory
- Rintoul/Bowman Family - Andrew Rintoul
- Racine d'Alsace
- Bumbery-Wangler Genealogy Research Project
- The Cole / Tanner Family Tree
- KK's Family History
- Voorvaderen en nazaten
- Brabantse Genealogie
- LookingBackwards - All Our Relations
- Kentucky Kindred
- Lathrope Family Genealogy
- Coon White Family History
- Roots & Relatives Remembered - Ron Krzmarzick