Login

Username:


Password:


Remember me



Forgot Password?




 Merchandise




New feature - upload progress when adding attachments

Please post help requests in the Helpdesk forum. This forum is to be used for discussing the site, and events/projects.

New feature - upload progress when adding attachments

Postby Spack » Thu Dec 18, 2014 6:37 pm

An upload progress mod has been added in the forum so that a progress bar appears in the attachment section giving an idea of how much has been uploaded and an estimate on how long is left. This requires JavaScript to be enabled, but otherwise requires no additional browser settings or plugins.

Here's an example of how it looks:

upload progress.png


For small files you may not see it as it updates every 100kB.

If it proves to work OK I'll look at possibly adding it to the PM system, gallery, and anywhere else uploads to the site occur.
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6757
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)

Re: New feature - upload progress when adding attachments

Postby timewizard » Fri Dec 19, 2014 6:43 pm

Nice touch Spack. I'll have to give it a look.
"I have found again and again that in encounter actions, the day goes to the side that is the first to plaster its opponent with fire." - Erwin Rommel
User avatar
timewizard
Master of Chronomancy
Field Commander
 
Posts: 5896
Joined: Fri Sep 21, 2007 12:00 am
Location: (TWAT Colonial Outpost) in the eastern USA
Medals: 11
Gold Wreath (1) Gold (1) Silver Wreath (1) Bronze (2) Painting Entrant (6)
Blog: View Blog (2)

Re: New feature - upload progress when adding attachments

Postby Spack » Sun Dec 28, 2014 2:18 pm

For some reason the code was checking for Chrome or Safari and turning itself off if found. I've changed that and it now works with Chrome, at least it does with my desktop version. Chrome on my phone doesn't work, it appears that it's not sending one of the form fields in the correct way so results in the upload progress handler on the server to not work. If the handler doesn't respond with file data it will now hide the upload progress area, but I'll carry on trying to figure out how to get it work.

Can anyone with Safari on Mac, or an iPhone/iPad, try it out to see if it works?
User avatar
Spack
I R Ginger
Field Marshall
 
Posts: 6757
Joined: Sat Feb 12, 2005 12:00 am
Location: Birmingham, UK
Medals: 2
Bronze (1) Painting Entrant (1)
Blog: View Blog (29)




Return to The Site




 Social Links