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

From TNG_Wiki
Jump to navigation Jump to search
Line 36: Line 36:
 
* A working TNG installation.  The automated installation release will work with TNG v8.0+.
 
* A working TNG installation.  The automated installation release will work with TNG v8.0+.
 
* An installed current version of the [[Mod Manager]].
 
* An installed current version of the [[Mod Manager]].
 +
 +
==Revision History==
 +
 +
{| border="1" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
 +
|-
 +
! Version
 +
! Date
 +
! Contents
 +
|-
 +
| V8.1.3b
 +
| 28 August 2010
 +
| Logout on submission fixed.
 +
|-
 +
| V8.1.3a
 +
| 24 August 2010
 +
| Unnecessary variables removed.
 +
|}
  
 
==Automated Installation==
 
==Automated Installation==

Revision as of 09:08, 28 August 2010

Submit Photo/Document Form Mod
Summary Allows visitors to submit a photo or document.
Validation {{{mod_validation}}}
Mod Updated {{{mod_last_update}}}
Download link submitphotoform_V8.1.3a.zip for TNG V8
Download stats {{{download_stats}}}
Author(s) Jeff Robison & G. T. "Joe" Proctor
Homepage Submit Photo/Document Form Mod (This page)
Mod Support TNG Forums
Contact Developer {{{mod_contact}}}
Latest Mod 8.1.3a
Min TNG V 8.0.0
Max TNG V 8.0.1
Files modified
root directory
Related Mods
Notes
See Custom Text Additions if you are using multiple languages.


Purpose of the mod

This is a base mod which allows visitors to submit a photo/document for an individual.

It will.....

  • Create file 'CaptchaSecurityImages.php'.
    Author: Simon Jarvis
  • Create a copy of 'monofont.ttf'.
    Author: Simon Jarvis
  • Create file 'submit_photo.php'.
    Author: G. T. "Joe" Proctor

Developer

This mod was developed by Jeff Robison.

Captcha security image modified by Ken Roy for the visually impaired.

Requirements

  • A working TNG installation. The automated installation release will work with TNG v8.0+.
  • An installed current version of the Mod Manager.

Revision History

Version Date Contents
V8.1.3b 28 August 2010 Logout on submission fixed.
V8.1.3a 24 August 2010 Unnecessary variables removed.

Automated Installation

  1. All previous versions of Submit Photo/Document Form Mod must be uninstalled and deleted!
  2. Download and extract files from submitphotoform_V8.1.3a.zip
  3. View installation read_me for instructions to install submitphotoform_V8.1.3a

Custom Text Additions

Note that config file only includes the English language changes, so 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 of course.

//  Added for Submit Photo/Document 
$text['submitphotohdr'] = "Submit Photo / Document";
$text['submitphotoname'] = "Your Name / Nickname";
$text['submitphotoemail'] = "Your E-mail";
$text['submitphotowebsiteurl'] = "Your Website URL";
$text['submitphotocredit'] = "Credit / Source";
$text['submitphotodescription'] = "Photo / Document Description";
$text['submitphotoattachment'] = "Attachment";
$text['submitphotoentercode'] = "Enter Security Code";
$text['submitphotosecurity'] = "Security Code";
$text['submitphotorequiredfield'] = "Required";
$text['submitphotoprivacy'] = "We respect your privacy. Your Name / Email address will not be displayed or released.";
$text['submitphotobrowse'] = "Browse";
$text['submitphotocancel'] = "Cancel";
$text['submitphotobutton'] = "Submit Attachment";

For example, you would add to the French/cust_text.php or the French-UTF8/cust_text.php

//  Added for Submit Photo/Document 
$text['submitphotohdr'] = "Soumettez la photo/le document";
$text['submitphotoname'] = "Votre nom/surnom";
$text['submitphotoemail'] = "Votre email";
$text['submitphotowebsiteurl'] = "URL de votre site Web";
$text['submitphotocredit'] = "Crédit/source";
$text['submitphotodescription'] = "Description de photo/document";
$text['submitphotoattachment'] = "Attachement";
$text['submitphotoentercode'] = "Écrivez le code de sécurité";
$text['submitphotosecurity'] = "Code de sécurité";
$text['submitphotorequiredfield'] = "Requis ";
$text['submitphotoprivacy'] = "Nous respectons votre intimité. Votre nom/addresse email ne sera pas montré ou ne sera pas libéré.";
$text['submitphotocancel'] = "Annuler";
$text['submitphotobutton'] = "Soumettez l'attachement";

Visualization of this mod

Submitphotoformvis.jpg

In the event of a problem

TNG User sites using this mod

Please add TNG site that you have found that utilize this modification