@oddfish: I like your proposal and reported a few tickets related to that.
http://tracker.phpbb.com/browse/PHPBB3-11241
http://tracker.phpbb.com/browse/PHPBB3-11242
http://tracker.phpbb.com/browse/PHPBB3-11243
Feel free to send patches.
Attachment Downloads
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: [RFC] Attachment Downloads
I'm not sure if this was covered in Oddfish's list, but I would change things to be more flexible.oddfish wrote:Anyway, here are a few thoughts to thought further on ..
- Change the logic with only one attachment in the topic, as it currently appears with one string assigned
Download all attachments
.
- Hidden in this instance
- Ajax archive selection (see a & b below)
- Indication of a multiple attachment download system by:
- Attach icon on viewforum as a multiple attach icon, replacing the single attach icon when more than one attachment.
dl_method
added to this icon in viewforum for quick download.- Attach icon next to topic title.
- Next to each post title containing an attachment.
- As a postrow download option beside each or the last attachment download link in the containing post
- Move the download links to
linklist leftside
in viewtopic.- A page with no attachments but there are multiple attachments throughout the topic.
- A multi attach icon (dl_method) with the topic title again to indicate a multiple attachment download option applies to this topic.
- "Download all attachments" would be a link. You wouldn't select the download file type yet.
- Clicking that link would open a download box showing the attachments in this post/topic (or even forum or board).
- The box would show the filename, size, date/time and author of each file with a checkbox to select the file for downloading. There might also be an icon for file type and a thumbnail view for images.
- There would be the standard Select all/Unselect all links. All items would be selected by default (because the link said "Download all attachments" after all ).
- There would be radio buttons to select the download type (zip, tar, gz, etc.).
- There would a Download button to begin the download and pop-up the default browser download window.
Plus, if you extend the concept to the entire board (as alluded to above), you have a File Download page similar to what I mentioned previously.
Steve
P.S. This board has a Download all attachments link, so hasn't this code been merged? If so, shouldn't the [RFC] tag be changed to reflect that?
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
- bantu
- 3.0 Release Manager
- Posts: 557
- Joined: Thu Sep 07, 2006 11:22 am
- Location: Karlsruhe, Germany
- Contact:
Re: [RFC] Attachment Downloads
While this mostly sounds like a useful suggestion, I'd rather not complicate matters even more for 3.1. Instead, I'd suggest only fixing the suboptimal user interface. For example: Only provide a single link for downloading all attachments. If JavaScript is enabled, allow selecting the format. Otherwise use a default format, e.g. zip.Pony99CA wrote:I'm not sure if this was covered in Oddfish's list, but I would change things to be more flexible.
That would require an extra click to download everything, but it would be much more informative and flexible about what you were downloading.
- "Download all attachments" would be a link. You wouldn't select the download file type yet.
- Clicking that link would open a download box showing the attachments in this post/topic (or even forum or board).
- The box would show the filename, size, date/time and author of each file with a checkbox to select the file for downloading. There might also be an icon for file type and a thumbnail view for images.
- There would be the standard Select all/Unselect all links. All items would be selected by default (because the link said "Download all attachments" after all ).
- There would be radio buttons to select the download type (zip, tar, gz, etc.).
- There would a Download button to begin the download and pop-up the default browser download window.
I'd rather not do that in phpBB core. A page listing all downloadable attachments of a board is in general not useful because attachments are usually tied to the topic/post content. An extra downoad page sounds like a good extension that boards focussing on file exchange can install.Pony99CA wrote:Plus, if you extend the concept to the entire board (as alluded to above), you have a File Download page similar to what I mentioned previously.
Initial post is not in RFC format. Also this topic is in the discussion forum. I've removed the RFC tag.Pony99CA wrote:P.S. This board has a Download all attachments link, so hasn't this code been merged? If so, shouldn't the [RFC] tag be changed to reflect that?
Re: [RFC] Attachment Downloads
This option can be tuned off?bantu wrote:Pony99CA wrote:This board has a Download all attachments link
I have a forum with many attachments on topics and this option can be a serious problem.
Thanks
- nickvergessen
- Former Team Member
- Posts: 733
- Joined: Sun Oct 07, 2007 11:54 am
- Location: Stuttgart, Germany
- Contact:
Re: Attachment Downloads
The button is only for all attachments of one post/topic/pm, not a forum or even the whole phpbb. You still see the need for a disable option?
Member of the Development-Team — No Support via PM
Re: Attachment Downloads
Yes because many people like me have many attachments on single topic (pictures, zip, etc etc) and download a big attachment from forum can be a problem if is done by many users at same time.
- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: Attachment Downloads
Edit out the feature from your own template then. I don't see being able to turn it off as being a much desired option. I'm fact it was never brought up as being needed. Also unless you're planning to schedule it, I highly doubt many people are going to do that at the same time on a board.
Re: Attachment Downloads
You're right, but why change a template when a simple option would be enough?
It would be easier for all or not?
It would be easier for all or not?
- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: Attachment Downloads
We're going to have to draw the line somewhere on what is configurable and what isn't. This would be like someone saying they don't like the joined date to show in posts. Do we add an option to turn that off as well because one person doesn't like seeing it? We would have an endless list of options/settings... Just saying.
Re: Attachment Downloads
Sorry but I do not agree, are two very different things!DavidIQ wrote:This would be like someone saying they don't like the joined date to show in posts.
If 20 users download all attached files from a discussion forum slows down a lot, do a test with this discussion and look what happens if 10 users download the same attachment at the same time.