Front-End User multiple file and image uploads, which thereby creates one instance of a record per uploaded file.

3 posts by 3 authors in: Forums > CMS Builder
Last Post: August 26, 2013   (RSS)

By moh3 - August 26, 2013

hello here is something i thought off but needs a bit of work,

- i have used MultiPowUpload http://www.element-it.com/multiple-file-upload/flash-uploader.aspx for multi uploads which has a flash and HTML 5 option

- you must create a secure page with a form with the required fields ( title and description ) using the function from MultiPowUpload you can check if the user has selected and completed the uploaded files once you check that you must grab the file names and save them for submission in JS array on submit the form will be submitted with a new record in your multi record section along with file names ( using the file names you must store a record for each file

in the uploads table uisng the id of the record you created in multi record section i can give you the way to do that but requires more space to explain )

things to take account for:

- javascript must be present for this to work, if javascript is not present present a fall back page to inform the user that he must enable JS

- you can use http://jumploader.com/ for multi upload files which works great and you can upload up to 2GB using file chuncking it has a free version which works just fine and their forum is great

- using the above information requires that you employ the file upload functions from CMSbuilder or do it the manual way, wish the team would document

the information and what is available for the end user to use in his coding

By gregThomas - August 26, 2013

Hi Zick,

I'm just wondering if a better structure for the files might be to have one section, with a single item drop down list with the 30 different file types/names and an upload field, then just assign each upload to the particular name/upload type and a user. As I think this would be a lot easier to manage and search. 

I would suggest having a look at the upload form on this post:

http://www.interactivetools.com/forum/forum-posts.php?postNum=2216744#post2216744

It can be used to easily attach or add uploads to a post. 

Let me know if you have any questions.

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com