File-upload through Formbuilder

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
peugeot-304

File-upload through Formbuilder

Post by peugeot-304 »

I'm trying to set up a kind of market place using the Formbuilder and Formbrowser modules.
Visitors should be able to fill in a form on the item they want to sell or search for and also be able to include a picture of the item.

I installed Formbrowser 0.3 and Formbuilder 0.1 with CMSMS 1.0.8 on my local test machine running Xampp.
Now I'm trying to find out hoe the file-upload works. I included it in the form I designed for the purpose and it is nicely displayed.
Browsing for and selecting a file also works.
But after submission of the form I can't retrieve where the attached file is gone or saved and it's also not displayed when viewing the list through Formbrowser.
All the other information is nicely displayed except for the attached picture.

Any hint or advice would be appreciated.

Thanks
Dieter
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: File-upload through Formbuilder

Post by calguy1000 »

file uploads only get sent out as attachments when using an email disposition.  the other implementations are not done yet.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
peugeot-304

Re: File-upload through Formbuilder

Post by peugeot-304 »

Thanks Calguy,

think I have to wait for that option then and create the little "market place" without this possibilty.

Dieter
User avatar
robsta
Forum Members
Forum Members
Posts: 131
Joined: Thu Oct 20, 2005 11:39 pm
Location: Wellington

Re: File-upload through Formbuilder

Post by robsta »

Clguy can you define an email-disposition - I'm having no end of trouble sending files via formbuilder I just get a variable not the file...

Rob
Traill
Forum Members
Forum Members
Posts: 25
Joined: Sat Jul 07, 2007 2:22 pm

Re: File-upload through Formbuilder

Post by Traill »

robsta wrote: Clguy can you define an email-disposition - I'm having no end of trouble sending files via formbuilder I just get a variable not the file...

Rob
I'm having exactly the same problem - in testing the form, I only get emailed a couple of letters like "m6_22", and not the actual file I submitted... any help is greatly appreciated!
atired
Forum Members
Forum Members
Posts: 26
Joined: Mon May 21, 2007 8:37 pm

Re: File-upload through Formbuilder

Post by atired »

I'm having the same problem here. I'm new to CMSMS and any help would be of great help ;)
milehigh

Re: File-upload through Formbuilder

Post by milehigh »

I am having the same problem as well.

This is a perfect example of Ted's recent blog post regarding the user-submitted modules. CMSMS is just SO CLOSE to blowing away any competition but this 3rd party module quality is very frustrating - especially for a very commonly used module like a form builder.

I'll keep playing with this and post anything I find regarding the file upload.
milehigh

Re: File-upload through Formbuilder

Post by milehigh »

I see there was an update and I updated to Formbuilder 0.4.1 and instead if gettiing the filenames now I get this for the image fields:

Image 1: [unspecified]
Image 2: [unspecified]
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: File-upload through Formbuilder

Post by calguy1000 »

what do you mean by an 'image' field.  I didn't think that there was an image field type in FB.

what does your form look like?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
milehigh

Re: File-upload through Formbuilder

Post by milehigh »

Thanks for the response:

Field Name: Image 1
Field Type: File Upload
Req'd : False
Infrormation: Max. Size: kb, Extensions:


Field Name: Image 2
Field Type: File Upload
Req'd : False
Infrormation: Max. Size: 2500kb, Extensions: jpg,gif,jpeg,GIF,JPEG,JPG,bmp,BMP

$fld_22 and $fld_23 are now being passed as unspecified.


Submission template:
FormBuilder Submission
Form Name: {$sub_form_name}

Date of Submission: {$sub_date}

Your server: {$sub_host}

IP address of person using form: {$sub_source_ip}

URL of page containing form: {$sub_url}



Full Name: {$fld_18}

Email Address: {$fld_19}

Image 1: {$fld_22}

Image 2: {$fld_23}

Describe Your Boat: {$fld_20}

Send it: {$fld_21}
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: File-upload through Formbuilder

Post by calguy1000 »

I'll look into it tonite
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
alby

Re: File-upload through Formbuilder

Post by alby »

milehigh wrote: This is a perfect example of Ted's recent blog post regarding the user-submitted modules. CMSMS is just SO CLOSE to blowing away any competition but this 3rd party module quality is very frustrating - especially for a very commonly used module like a form builder.
True, but you don't forget that this module is very complicated.

Alby
milehigh

Re: File-upload through Formbuilder

Post by milehigh »

alby wrote: True, but you don't forget that this module is very complicated.
Alby
I completely agree!! All other aspects seem to be working perfectly.

I reinstalled an older version and got

Image: m2_8 instead of Image: [unspecified] output to the email but it still wouldn't attach the image (jpg)

If anybody posts anything you'd like to see tried I'm more than happy to help. I appreciate the responses.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: File-upload through Formbuilder

Post by calguy1000 »

Okay, it got broke (for sure) in the 0.4 process somewhere.  I just checked in the fixes to svn.  A new version of formbuilder should be out soon.

By the way, the code for file handling is in the base class for the email based dispositions, but I've only tested with the 'Send Email To Specified addresses' disposition.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
moorezilla

Re: File-upload through Formbuilder

Post by moorezilla »

UPDATE: I tried the new DispositionEmailBase.class.php from svn and it still doesn't send with attachment.

UPDATE: I missed FileUploadField.class.php in svn. It works when both of these files are updated to svn. Sorry.
Last edited by moorezilla on Mon Aug 27, 2007 9:23 pm, edited 1 time in total.
Locked

Return to “Modules/Add-Ons”