jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => General => Topic started by: Andrew_R on 02.06.2015 11:55:04

Title: Multiply files on 1 item?
Post by: Andrew_R on 02.06.2015 11:55:04
Hi!
How I can add several files to 1 download item?

For example, I have item k2 component. And this item contains 3 files:
k2 component for J1.5,
k2 component for j2.5,
k2 component for J3.x

Thanks  :)
Title: Re: Multiply files on 1 item?
Post by: Arno on 02.06.2015 13:19:43
Hi,
1. create a new K2 category
2. then create for every version an own Download
or you can do all files in a single zip file and rename the file like: ... _UNZIPFIRST_...
Title: Re: Multiply files on 1 item?
Post by: Andrew_R on 02.06.2015 13:37:30
Quote from: Arno on 02.06.2015 13:19:43
Hi,
1. create a new K2 category
2. then create for every version an own Download
or you can do all files in a single zip file and rename the file like: ... _UNZIPFIRST_...

Hmm... In my mind, it is very difficult procedure. Also, I need to install 2 different components. That's not good, I think.

I know components, that have this option, but they don't have other perfect options, that have JDownloads...
Title: Re: Multiply files on 1 item?
Post by: Arno on 02.06.2015 14:02:20
QuoteAlso, I need to install 2 different components
But the components ARE different. I understand not really your problem.

QuoteI know components, that have this option, but they don't have other perfect options, that have JDownloads...
No component is perfect.  ;)

Title: Re: Multiply files on 1 item?
Post by: Andrew_R on 02.06.2015 14:03:18
Hi!
I have seen this topic - http://www.jdownloads.com/forum/index.php?topic=7768.0
I don't know, why you don't want to integrate this option.

I think, this is not very difficult. Needs to add new fields in database like url_download_2, url_download_3 url_download_4, url_download_5. It's enough.
And add placeholders {url_download2} {url_download3} {url_download4} {url_download5} - that's all.

I'm will pay for this option.

Also I can't now use K2 - because I have already builded site with jdownloads - 100 categories and hundreds files  :(

Or, you can add additional fields to download manager with external files and we can set external files from same server.
Title: Re: Multiply files on 1 item?
Post by: Arno on 02.06.2015 14:20:16
I will think about it... but it is much more to do as only that what you have noted.  ::)
As example the auto monitoring function.

The original idea was the one that we would have exactly the same folder and files structure in the upload directory as in the database.

But i will check how much work this could be.
Title: Re: Multiply files on 1 item?
Post by: Andrew_R on 02.06.2015 14:34:07
QuoteAs example the auto monitoring function.

You no need to change current functions.

Let's auto monitoring function work as always.

Additional files can be as additional fields with urls.

We just create new directory and place additional files to it.

Then, we set urls in fields

Additonal External File Link 1 - /mynewfolder/additional_file_1
Additonal External File Link 2 - /mynewfolder/additional_file_2
Additonal External File Link 3 - /mynewfolder/additional_file_3
Additonal External File Link 4 - /mynewfolder/additional_file_4

This is like custom fields.

You only need to add downloads counter for this fields as for main file.

I mean, if user downloaded additional_file_4 - main file counter must increases.
Title: Re: Multiply files on 1 item?
Post by: romagromov on 02.06.2015 15:04:02
Oh man, please   :) :) :)

I really suffer without this option  :(
Title: Re: Multiply files on 1 item?
Post by: ColinM on 02.06.2015 22:51:49
Hi
There are several things to resolve with such an option which would undoubtedly fill a present gap.  The actual storage, database recording and so on is reasonably self evident.  Is the objective to be able to download all the items or just to select one or more items?   

Also is it meant that there should be a text area together with various images and, if appropriate previews,  which gives a comprehensive description of the product and then a set of tick boxes or radio buttons against each product variant in order to select which files to actually download? 

With multiple files the obvious way is to combine in a zip as presently done when using check boxes.  Sequencing a series of downloads would be 'interesting'!

One could go a little bit in the right direction if the Presentation order in a layout was changed.  Specifically if the description, screenshots and so on were output first and the actual download links followed then one could create the first download of a sub category with all the descriptive information, and the others with no description or similar material.  With Check boxes then it is almost there.  There would probably be a need to give each download an explicit order in its sub category.

This perhaps leads to the idea of a 'container category' that has all the descriptive material and has several file only downloads.

Just some thoughts

Colin
Title: Re: Multiply files on 1 item?
Post by: romagromov on 02.06.2015 23:07:51
1. User can select which item to download. Example:

http://monosnap.com/file/R6elG0Zfz8N1Vtx8QvbBkPuYVsdnMf

2. We already talking about  'container category' - this method is not suitable.

3. As I already said - item should have main file, that can work with check boxes. No need to change existing structure.
Just add new custom fields with downloads function.
Title: Re: Multiply files on 1 item?
Post by: ColinM on 02.06.2015 23:50:45
Hi
QuoteUser can select which item to download. Example:
there seemed an awful lot of clicking in the example.

Life is not just simply adding custom fields with download capability.
I was trying to get some thinking that would minimise effort to get something available.  One cannot insist on a particular way as it may not prove suitable for all and may be difficult to implement.
You have a very good site and I can see you need but maybe we all need to think less specific.

Colin
PS I was surprised your site does not offer XAMPP, LAMP and WAMP - I thought to look there first!