Difference between revisions of "Submit Photo/Document Form Mod"

From TNG_Wiki
Jump to navigation Jump to search
(Toevoeging van mijzelf als gebruiker van de mod)
(One intermediate revision by one other user not shown)
Line 294: Line 294:
 
*[http://bumbery.com/ Bumbery-Wangler Genealogy Research Project]
 
*[http://bumbery.com/ Bumbery-Wangler Genealogy Research Project]
 
*[http://colegenealogy.dynu.net/ Cole / Tanner Family Tree]
 
*[http://colegenealogy.dynu.net/ Cole / Tanner Family Tree]
 
+
*[http://kks-fam.net/ KK's Family History]
 +
*[http://www.wfjansen.nl/genealogy/ Voorvaderen en nazaten]
 
[[Category:Mods for TNG v9]]
 
[[Category:Mods for TNG v9]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v12]]
 
[[Category:Mods for TNG v12]]

Revision as of 15:07, 10 January 2019

Restricted 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 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


Submit Photo/Document Form Mod
Summary Allows visitors to submit photos or documents.
Validation
Mod Updated {{{mod_last_update}}}
Download link
TNG 12.0
TNG 11.0
TNG 10.1.0
submitphotoform_V10.1.0.1.zip
TNG 10.0
TNG 9.0

submitphotoform_V9.0.0.12.zip
Mod Manager 'Edit' after installation...
  • Max attachments
  • Captcha option Yes/No
  • Captcha file name
  • Accepted file extensions
    Download stats See download statistics
    Author(s) Jeff Robison
    Homepage Robison and Blythe Genealogy
    Mod Support TNG Community Forums
    Contact Developer My Mod Support
    Latest Mod 10.1.0.1
    Min TNG V 9.0
    Max TNG V 12
    Files modified

    getperson.php
    familygroup.php
    Related Mods
    Notes
    See Custom Text Additions if you are using multiple languages.

    Custom Text Mods for
    Submit Photo/Document Form Mod
    submitphotoform_v9.0.0.3_dutch.zip
    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 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 Robison

    Requirements

    • A working TNG installation. The automated installation release will work with TNG v9.0+.
    • An installed current version of the Mod Manager.
    • 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.

    Automated Installation

    1. All files of previous versions of Submit Photo/Document Form Mod must be uninstalled and deleted from your root directory!
    2. Upload the .zip file to your mods folder and extract files.
    3. Install using Mod Manager.

    TNG User Defined Link Requirement

    • For TNG user defined links (i.e. Link on home page) to the submit photo/document form.
    1. Within HTML: <a href="submit_photo.php">Submit Photo/Document</a>
    2. For Custom Drop Down Menu mod customconfig.php file: $custommenulinks[$i]['target'] = "submit_photo.php";












    Revision History

    Version Date Description
    V10.1.0.1 05 September 2015 Fixed SMTP mail issue.
    V10.1.0.0b 31 August 2015 Fixed conflict with Simple SEO mod.
    V10.1.0.0a 28 February 2015 Menu/Tabs wrapping on acknowledgement page fixed for templates 9,10,11,13 and 14.
    V10.1.0.0 17 January 2015 Updated for TNG v10.1.
    V9.0.0.11b 22 October 2014 Menu/Tabs wrapping on acknowledgement page fixed for templates 9,10,11,13 and 14.
    V9.0.0.11 09 August 2014 Allows multiple file attachments.
    • Max number of attachments edit parameter in Mod Manager after installation
    V9.0.0.10a 14 July 2014 Custom text for the submit button fixed.
    V9.0.0.10 13 July 2014 Several changes.......
    • Obsolete code removed.
    • Added custom text to handle email acknowledgements.
    • Person/Family headers and tabs added to email acknowledgement page. (No 'Close Window' button needed)
    V9.0.0.9b 06 July 2014 submit_photo.php file would not create - Fixed.
    V9.0.0.9a 07 June 2014 Updated to allow for TNG sites using SMTP email.
    V9.0.0.9 20 April 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.

    You will need to replace the following mods which have been revised for this version........

    V9.0.0.8a 12 June 2013

    Added parameters to edit in Mod Manager after installation.....

    • Captcha option (0=No captcha / 1=Use captcha).
    • Captcha file name (TNG_captcha.php).
    • Accepted extensions (jp?g|pdf|png|gif|doc|docx|odt). Change or add to. Note the separator used.
    V9.0.0.7 4 November 2012
    • Added file extension verification.
    • Hard coded acceptable file extensions are .gif, .jpg, .jpeg, and .docx.
    V9.0.0.6 8 November 2012
    • Added file extension verification.
    • Hard coded acceptable file extensions are .gif, .jpg, .jpeg, and .docx.
    V9.0.0.5 28 October 2012
    • 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.
    • Link to person or family added to email.
    V9.0.0.4 27 October 2012
    • 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.
    • Link to person or family added to email.
    V9.0.0.3 29 September 2012 Deprecated PHP function "session_unregister" removed.
    V9.0.0.2 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 Requirement above.
    V9.0.0.1 6 May 2012 Revised for changes made to Submit Headstone Photo Mod.
    Does not affect other mods linking to the form.
    V9.0.0.0 4 December 2011 submit_photo.php and CaptchaSecurityImages.php are now modules copied to your root directory.
    Form for Submit Headstone Photo Mod has more fields.
    V8.1.5a 27 November 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.
    V8.1.4c
    V1.0.2b
    11 October 2010 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.
    V8.1.4b 07 October 2010 Some spam got through with previous version. Security code changed to include numbers.
    Testing on several sites. No spam reported!
    V8.1.4a
    V1.0.2a
    27 September 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.

    V8.1.3c
    V1.0.1
    17 September 2010 Email 'Subject' field fixed.
    V8.1.3b 28 August 2010 User logout upon submission fixed.
    V8.1.3a 24 August 2010 Unnecessary variables removed.
    V1.0.0 29 August 2010 For those who like spam or prefer to use another captcha routine (Captcha Mod).

    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 of this mod

    SubmitCapture.jpg

    TNG User sites using this mod