e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
322 stars 214 forks source link

Multiple types of downloads #3172

Open KiraTheUltimate opened 6 years ago

KiraTheUltimate commented 6 years ago

Idea: add multiple types of downloads, like torrent. For example: if I add a download, which is a subtitle, I would like to add a torrent download option to the video. Or if I add a comic, it would be good if I could add a reader option and of course the download would also remain, so two icons appear on the download page (download icon and torrent / other)

rica-carv commented 6 years ago

I guess that would require a plugin module or add-on.....

CaMer0n commented 6 years ago

The "Files" plugin has support for torrents, although it has not been thoroughly tested under "live" conditions. https://github.com/e107inc/files

Moc commented 6 years ago

I think this is too niche for a a general download plugin in core. Pull-requests are welcome at any time but I am closing this as a request for core development.

rica-carv commented 6 years ago

@Moc Sorry, but i disagree. A download interface should handle internal (self hosted) files as it should handle external (cloud hosted, etc.) files... Core or not core, it should handle them, or it will "miss the train"....

Moc commented 6 years ago

I'll reopen it under the 'Help wanted' label, meaning we'd like to have the community contribute to this rather than having core developers spend too much time on it.

CaMer0n commented 6 years ago

Please note the original request is for 'multiple' file downloads (multiple attachments) for a single download item. (nothing about remote files) This can be achieved by changing the field type to 'files' instead of 'file' and making adjustments to the download shortcodes and beforeCreate() and beforeUpdate() in admin.

CaMer0n commented 6 years ago

The request.php URL would need to be modified to handle the multiple files also.