Postby _hsr » Thu Mar 29, 2012 2:13 pm
This is just a work in progress, I've managed to embed plupload into the upload attachments tab, however it currently lacks styling.
The current setup is not checking of user permissions, which I am currently working on. In the file list, when we click on a file, a new field for comments/pace inline. However, I am thinking of making a slide down animation, once the file is uploaded, to resemble the old "POSTED ATTACHMENTS" section. The 100% can be modified into progress bars, which I need comments on how to imply. My suggestion would be using html5 canvas, however it might not reflect well in IE8, if then the usual table-fill or div-fill should suffice.
The number of attachments per post can also be set via both JavaScript and PHP end, which would be fetched from the phpbb config. Currently, it checks for permitted fileExts and file size at both ends. Please add any other features you'd like to see. Regarding file deletion, an ajax post request should do the job.
I've attached some images representing the process, though it is pretty basic.
-
Attachments
-

- Upload complete
-

- Files added to the upload queue
-

- Multiple files selected
There is a text here !