***UPDATED*** DB Technosystems Form Processor 02/09/2011

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.

There are already more than 250 extensions available!
User avatar
Navaldesign
 
 
Posts: 1003
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Sun Jul 12, 2009 3:57 pm

You can do this yourself setting the max filesize, in the extension. However i will add the ability to send attachments, then each one can decide for himself....
www.dbtechnosystems.com

User avatar
star57
 
 
Posts: 137
Joined: Fri Mar 02, 2007 10:45 am

Post by star57 » Sun Jul 12, 2009 7:23 pm

Guys, My Form works with Captcha - Goes to a differant page but still works great!

User avatar
Navaldesign
 
 
Posts: 1003
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Sun Jul 12, 2009 11:01 pm

Further Update:

Added Ability to send uploaded files as attchments.
Added ability to limit the total attachments size so the mail will not be blocked by ISPs.

Uploaded files storage on server is now optional.

Added Includes! You can now add your own code in 6 different points of the script. This way you can add custom validation, or further mailing, or submitting to yet another script using CURL, or creating and including a Preview Page, or checking specific fields, or creating custom emails, or.... anything you can think of!

The PHP code will also be soon available for anyone that desires to analyze the script for creating his own custom code.

Database storage is scheduled for some time next week.
www.dbtechnosystems.com

User avatar
BaconFries
 
 
Posts: 4691
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Sun Jul 12, 2009 11:55 pm

What can I say...... :D thanks.....

User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England
Contact:

Post by kevinp » Mon Jul 13, 2009 9:38 am

As usual this is genius and extremely useful.

I've added the line

Code: Select all

date_default_timezone_set('Europe/London');
as you can see below to give me the correct local time.

Code: Select all

<?php
// This script was created by DBTECHNOSYSTEMS.com ----
// © DBTechnosystems.com http://www.dbtechnosystems.com
// You may use this script but please leave author details here

// *****I've added the line below to correct the server time to my local time*****
date_default_timezone_set('Europe/London');

if($_SERVER['REQUEST_METHOD'] == 'POST')

{
error_reporting(55);
Just one question.

I've added some code to create a unique ID (Below)

Code: Select all

//set the random id length 
$random_id_length = 8; 

//generates a random id encrypt it and store it in $rnd_id 
$rnd_id = crypt(uniqid(rand(),1)); 

//removes any slashes that might have been generated
$rnd_id = strip_tags(stripslashes($rnd_id)); 

//Removing any . or / and reversing the string 
$rnd_id = str_replace(".","",$rnd_id); 
$rnd_id = strrev(str_replace("/","",$rnd_id)); 

//finally take the first 8 characters from the $rnd_id 
$rnd_id = substr($rnd_id,0,$random_id_length); 
// I've added this later in the echo and e-mail
//echo "When contacting us please quote: $rnd_id"; 
//Converts the reference to uppercase
$rnd_id = strtoupper($rnd_id);
and I'm able to echo this into the headers, mail ends etc by adding $rnd_id to the text but it does not save in the CSV file (presumably because it isn't a form field).

Is there a way to include it or do I need something like a prefixed autonumber field as a edit box on the form itself.

Thanks for sharing your brilliant work.

User avatar
Navaldesign
 
 
Posts: 1003
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Mon Jul 13, 2009 10:12 am

Why do you add all this in the code ?

As you might have seen, the script supports includes.

So you can simply create an external php file:

Code: Select all

<?
date_default_timezone_set('Europe/London');

//set the random id length 
$random_id_length = 8; 

//generates a random id encrypt it and store it in $rnd_id 
$rnd_id = crypt(uniqid(rand(),1)); 

//removes any slashes that might have been generated 
$rnd_id = strip_tags(stripslashes($rnd_id)); 

//Removing any . or / and reversing the string 
$rnd_id = str_replace(".","",$rnd_id); 
$rnd_id = strrev(str_replace("/","",$rnd_id)); 

//finally take the first 8 characters from the $rnd_id 
$rnd_id = substr($rnd_id,0,$random_id_length); 
// I've added this later in the echo and e-mail 
//echo "When contacting us please quote: $rnd_id"; 
//Converts the reference to uppercase 
$rnd_id = strtoupper($rnd_id);

$_POST['Submission ID'] = $rnd_id; // This line adds in the POST superglobal the unique ID you created
$autoresponderend .= "\nWhen contacting us please quote: $rnd_id"; // This line adds to the autoresponder footer the message with the quote ID
?>
and load it on the server as (just an example name) "start.php"

then add it's url (simply "start.php" , if it is in the same folder as the form page) in the "After Form Data Reception Include URL"

I have not tested it but it SHOULD work!
Last edited by Navaldesign on Mon Jul 13, 2009 10:28 am, edited 2 times in total.
www.dbtechnosystems.com

User avatar
Navaldesign
 
 
Posts: 1003
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Mon Jul 13, 2009 10:22 am

Yes, Just tested it and it does work.

Test it yourself at http://www.dbtechnosystems.com/wb6/forms/index1.php
www.dbtechnosystems.com

User avatar
kevinp
 
 
Posts: 96
Joined: Wed Feb 21, 2007 2:51 pm
Location: Preston, Lancashire, England
Contact:

Post by kevinp » Mon Jul 13, 2009 10:25 am

Ahh. I wasn't using the latest version. You updated it again last nite. My fault, I wasn't paying attention (heavy workload at the moment).

Thanks again

User avatar
star57
 
 
Posts: 137
Joined: Fri Mar 02, 2007 10:45 am

Post by star57 » Mon Jul 13, 2009 11:20 am

Naveldesign, This is a great extension! Thank you for all the hard work on this. I for one highly appreciate it and look forward to other enhancements, like the logo portion!

Again Thanks!

User avatar
Navaldesign
 
 
Posts: 1003
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Thu Jul 16, 2009 5:19 pm

A new version has been uploaded. It has the following FEATURES ADDED:

1. Logo inclusion in the mails
2. Added Timezone setting
3. Added automatic CSV file column addition
4. Added file type validation for Uploaded files.

The Manual has also been updated with the new features.

You can test in http://www.dbtechnosystems.com/wb6/forms to receive the autoresponder mail and see for your self.
www.dbtechnosystems.com

User avatar
me.prosenjeet
 
 
Posts: 1281
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Thu Jul 16, 2009 5:22 pm

Simply WOW!!!!

"All hale Naval, hale to thee"
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

User avatar
star57
 
 
Posts: 137
Joined: Fri Mar 02, 2007 10:45 am

Post by star57 » Thu Jul 16, 2009 7:01 pm

Ok, I need to buy you a whiskey shot and a beer, GREAT WORK

User avatar
zinc
 
 
Posts: 1335
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom

Post by zinc » Thu Jul 16, 2009 7:03 pm

I second what these guys have said. My client was so chuffed about this as the booking form was the only part that made his site interesting thanks to you. Once again THANK YOU George!

P.S. Love the LOGO feature!!! Really cool!

User avatar
star57
 
 
Posts: 137
Joined: Fri Mar 02, 2007 10:45 am

Post by star57 » Thu Jul 16, 2009 7:27 pm

Naveldesign, I am so sorry. But the auto responder feature is not working on this version. My setting with Autoresponder and Customer Email field is correct. Course I could be doing something wrong!

http://www.star57.com/contactus.php

I followed the new manual and tested with differant 3 emails, I get the Administrative email, but not the customer email.

Thanks Naveldesign (George)

Logo Feature is the best , Your da man...

User avatar
me.prosenjeet
 
 
Posts: 1281
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Thu Jul 16, 2009 7:32 pm

Wonder if I did something wrong!
My forms were working perfect with the first version of this extension. Now when I upgraded to the latest with logo, when the form is submitted, the admin is getting a mail but no details only an attachment called 'noname' and when I download that it turns out to be a zip file and inside it is a file (with no extension) called "noname' it is about 7kb in size and the recepient isnt getting any mail.

By the way, I dont need data in CSV/CSV for Excell on the server, how to turn that off??

These are my settings, please diagnose whats wrong where...my otherwise working form is stuck! :cry:

Image

This is the form link : http://au.lucknowwebs.net/getaquote.html
There are three forms there...I have tried the 2nd (I would like to interact with visitors) and 3rd one (I would like to transact business, I want advanced features like ecommerce capability?)
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

Post Reply