Home       Goals       Download       Documentation       Support Us       Development       Job Openings       Webstore       Patrons       Contact us / Enlist      

 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mail_form_creation [2012/03/30 01:32] (current)
Line 1: Line 1:
 +====== Mail form creation ======
 +
 +
 +<code>
 +!Implement PHPFormmail
 +1) hevdi tad ikki veri snildast at default radio but var Other
 +Chief P: Absolutly Should be other Go ahaed and deploy the bugger!
 +
 +http://www.scriptarchive.com/formmail.html
 +
 +
 +Is there an alternative ? Ask Thomas Sjögren.
 +
 +http://www.tectite.com/dlformmail.php?WWWTECTITE=8e0dbc5763a239da1b00f022f2f411c8
 +
 +
 +
 +
 +
 +PHPFormmail pá ein máta er tad ikki so got at linkin til ein onnur homepage stendur í botnin tid tad ger at folk villast til at trykkja.... 
 +Roger put some bugger on the case and implement script once it is done.
 +
 +
 +</code>
 +Actually there is - the plugin is called bureaucracy, it is for closed wiki's they say, but maybe one could implement a catchpa before accessing the page and thus prevent spam. And dokuwiki actually has a recatchpa plugin that could make it a requirement to become a mail member in order to submit anything - the plugin http://www.dokuwiki.org/plugin:captcha can be placed in a page as I understand to allow access.
 +
 +The plugin is listed in the Dokuwiki research section. After reading I can see that one could relatively easy secure this mail form and one could create one form for members only and one for registred members/the public. One could simply apply mail filters in the box so that everything was removed not having the correct subject settings.
 +
 +Recommended additional Plugins - By dokuwiki
 +
 +You might want to use the CAPTCHA plugin to avoid automated spam. The swiftmail plugin may help when your DokuWiki can't send mails. This plugin can be used to gather data for use with the data plugin. 
 +
 +**TODO**
 +<code>
 +
 +Download recatchpa plugin - To secure against bots
 +
 +Now residing in a collection folder called dokuwiki_plugins
 +
 +Install recatchpa plugin
 +
 +To install it, simply copy the folder 'recaptcha' into your plugins directory (/lib/plugins).
 +
 +
 +Download catchpa plugin - To secure against bots
 +
 +Now residing in a collection folder called dokuwiki_plugins
 +
 +Install catchpa plugin
 +
 +To install it, simply copy the folder 'captcha' into your plugins directory (/lib/plugins).
 +
 +
 +Download bureaucracy plugin
 +
 +Install bureaucracy plugin
 +
 +Type in keys
 +
 +Create a mail page
 +
 +Create a test form
 +
 +Test test form
 +
 +Create recatchpa account - http://recaptcha.net/ - DONE
 +einarpetersen
 +e_petersen@globability.org
 +globability.org
 +
 +Domain Name: globability.org
 +
 +This is a global key. It will work across all domains.
 +Public Key: 6Lf0ugUAAAAAABuNmxxWMQhHURM36dlM7aC15XEG
 +
 +Use this in the JavaScript code that is served to your users
 +Private Key: 6Lf0ugUAAAAAAPdsK4h1BBmIM-Qu0ONakd3IwNL6
 +
 +Use this when communicating between your server and our server. 
 +Because this key is a global key, it is OK if the private key is distributed to multiple users. 
 +
 +Create final feedback form
 +
 +Complete
 +</code>
 +
 +When bureaucracy plugin is implemented and the below code entered the form shows up - however it is not working to send mail - I suspect this has to do with no mail server available in the wiki settings, I am wondering if we should refer to the Globability.org mail servers to get it working. Seems like the swiftmail plugin was one of the culprits, removing that made reCatchpa work as supposed - Now I'm just waiting to see if any mail arrives.
 +
 +<code>
 +<form>
 +Action mail me@example.com
 +Thanks "Thanks for submitting your valuable data."
 +
 +Fieldset "A set of fields"
 +Textbox  "Employee Name" "=Your Name"
 +number "Your Age" >13 <99
 +email "Your E-Mail Address"
 +textbox "Occupation (optional)" !
 +password "Some password"
 +
 +fieldset "even more fields"
 +
 +select "Please select an option" "Peaches|Apples|Oranges"
 +static "Some static text that could be an agreement"
 +yesno "Read the agreement?"
 +textarea "Tell me about your self"
 +textbox "You need to write 'agree' here" /^agree$/
 +submit
 +</form>
 +</code>
 +
 +<form>
 +Action mail webmaster@globability.org
 +Thanks "Thanks for your submission copy http://einarpetersen.com/doku.php?id=mail_form_creation into your browser url if you need to send another mail"
 +
 +Fieldset "Leave your comments below"
 +
 +Textbox  "Enter your name Here" "=Your Name"
 +email "Enter your E-Mail address here"
 +fieldset "even more fields"
 +
 +textarea "Write your comments here"
 +textbox "Write symbols in the image catchpa below here -->" /^agree$/
 +yesno "Yes I agree to the submission terms outlined in the GCA (General Cooperation Agreement - Privacy: NOTICE your E-Mail address will NOT BE SHARED with anyone except if requested by a court order."
 +submit 
 +</form>
 +
 +
 +
 +{{http://einarpetersen.com/images/wikimage_01.png}}
 +
 +
  
mail_form_creation.txt · Last modified: 2012/03/30 01:32 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki



The contents of this site, i.e. texts, programs and images, but not limited to these, belongs to their respective owners and are protected under international copyright treaties according to individual licensing.

Please make sure you familiarize yourself with the appropriate permissions / licenses and follow these individually before using anything you find on this site.

The Global Ability Initiative is a Non Profit venture dedicated to the development of gratis, open source software for the disabled, the sick and the needy - We aim to provide assistive software to a wide variety of people, suffering for example from Aphasia, MS, ALS, Cerebral Palsy and other disabilities as well as pushing initiatives in the field of ECG monitoring.

With reservation for changes and errors.