WebmasterSite.net

Bulk Attachment feature

Version: 5.0.46
URL:

PrintPrint


Bulk Attachment feature
FirstByteMedia
Member

Usergroup: Customer
Joined: Feb 04, 2006

Total Topics: 8
Total Posts: 22
quote post #1
Posted 05/18/09 - 12:16 AM:

Hi Paul,

Would it be possible to have a bulk attachement feature as default for the attachment option.
I have members on my site that are uploading a bunch images with their links and have mentioned the feature.


regards

Rod
--------------------------------
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #2
Posted 05/19/09 - 4:07 AM:

Define bulk. Like uploading a zip file containing desired attachments?
FirstByteMedia
Member

Usergroup: Customer
Joined: Feb 04, 2006

Total Topics: 8
Total Posts: 22
quote post #3
Posted 05/21/09 - 1:19 AM:

Hi Paul,

more like selecting multiple files to be uploaded in one go. Though being able to upload a zip file and have the script extract the contents could cover it.
Not sure which is easier to develop though.
--------------------------------
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #4
Posted 05/21/09 - 3:38 PM:

Selecting multiple files at once in a selector isn't supported by any web browser. The only way to do it is a java applet, which is extremely clunky, and I don't know java anyway.
FirstByteMedia
Member

Usergroup: Customer
Joined: Feb 04, 2006

Total Topics: 8
Total Posts: 22
quote post #5
Posted 05/23/09 - 10:01 PM:

Hi Paul,

I was searching around to find an example, I found this on a demo site ( http://www.zemgy.com/ ) where your given the option to add another "attachment field" for additional uploads.
It's fiddly but does get the job done.

another one (http://www.arwscripts.com/demos/filehost/index-multi-upload.html) which uses a flash app for the multiple uploads
--------------------------------
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #6
Posted 05/25/09 - 10:51 AM:

Well the extra "slots" is certainly doable, but that's not actually selecting multiple at once, you still have to go and find each file. Along those lines, how about http://www.fyneworks.com/jquery/mu...-file-upload/#tab-Examples ?

Edited by Paul on 05/25/09 - 10:54 AM
FirstByteMedia
Member

Usergroup: Customer
Joined: Feb 04, 2006

Total Topics: 8
Total Posts: 22
quote post #7
Posted 05/25/09 - 9:55 PM:

Nice. I tested the attachment feature on wsn and fyneworks script to see how long it would take to select a file etc.
The Fyneworks is considerably faster as there's no need to click on the "attach" button.

I also just want to revisit the uploading a zip file option, is this a possiblity as well?
uploading a .zip or .rar file which then would be extracted on the server?
--------------------------------
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #8
Posted 05/26/09 - 4:11 PM:

The trouble may be that the submitting of the page takes a lot longer because it has to wait for all the attachments to upload at once, instead of one at a time. People may give up on waiting. In a perfect world a progress bar would fix that, but I believe that's not even possible until PHP 5.3.

The .zip option I'd like to do, especially for WSN Gallery, but who knows if I'll ever find the time.
 
Search thread for
Download thread as


Sorry, you don't have permission to post. Log in, or register if you haven't yet.