Hi Phoca Download Creators,
Your component is great but I don't know how to set the limit for number of downloads of specific files. For example I want file XYZ to be downloaded not more than 100 times. Can you tell me how can I do that?
Best regards
Downloads limit for specific file
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Downloads limit for specific file
Hi, you can set the limit in Options - the limit is for all files.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 04 Jan 2013, 00:19
Re: Downloads limit for specific file
I know. But it is the limit that tells how many times each person can download each file. As for me I would like to know how to set limit that tells how many times some file can be downloaded in total. So I am talking about sum of all dowloads of all users for chosen file.
Example:
What is now.
If I would set limit of 1 download in Options for 'Maximum Count of downloads per file' than Mr Smith can make 1 download of file X and Mr Jones can make 1 download of file X. So together they can make 2 downloads.
What I would do in my scenario
Setting limit of 1 would mean that either Mr Smith would execute download or Mr Jones would do that but they couldn't do that both because they would then exceed limit of 1 download.
I must say I need this functionality very much...
Best regards
P.S. Functionality I need + 'Maximum Count of downloads per file' = Countless possibilities
Example:
What is now.
If I would set limit of 1 download in Options for 'Maximum Count of downloads per file' than Mr Smith can make 1 download of file X and Mr Jones can make 1 download of file X. So together they can make 2 downloads.
What I would do in my scenario
Setting limit of 1 would mean that either Mr Smith would execute download or Mr Jones would do that but they couldn't do that both because they would then exceed limit of 1 download.
I must say I need this functionality very much...
Best regards
P.S. Functionality I need + 'Maximum Count of downloads per file' = Countless possibilities

- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Downloads limit for specific file
Hi, for now the limit is set to users (file vs. users) ... limits like you need needs to be customized - to somehow make the stats for all the users (registered, anonmyous, ...) together - in fact you can use the hits (download) column which counts all of the downloads and make some if clause - if hits (downloads) > ... then make the file e.g. unpublished etc 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 04 Jan 2013, 00:19
Re: Downloads limit for specific file
Hm... Unfortunately I am not programmer so I won't do any serious changes on my own...
However there are lots of extensions that use counting hits (e.g. ad extensions) or there is even one extension similar to Phoca Download that count downloads namely Remository (yet it seems to be abandoned by developer) so I thought the functionality I wanted is quite feasible.
Of course it's up to you in what direction your component will be developed still I am sure you see the potential of my requested functionality
Just hope you will appreciate it soon (for my sake) 
Best regards
However there are lots of extensions that use counting hits (e.g. ad extensions) or there is even one extension similar to Phoca Download that count downloads namely Remository (yet it seems to be abandoned by developer) so I thought the functionality I wanted is quite feasible.
Of course it's up to you in what direction your component will be developed still I am sure you see the potential of my requested functionality


Best regards
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Downloads limit for specific file
Hi, added to feature request list.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 04 Jan 2013, 00:19
Re: Downloads limit for specific file
Hello!
As in last update there wasn't added functionality mentioned in my earlier posts in this topic and I would be very greatful if you tell me when are you going to add it so I know if I am to wait for it. I really like your component and I would be delighted to use it for my purposes
Best regards
As in last update there wasn't added functionality mentioned in my earlier posts in this topic and I would be very greatful if you tell me when are you going to add it so I know if I am to wait for it. I really like your component and I would be delighted to use it for my purposes

Best regards
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Downloads limit for specific file
Hi, unfortunately I cannot say this, there are features which can be easily implemented, there are features which need to be reviewed and tested and there are feature where the implementation is really difficult and e.g. a lot of other features needs to be done first.
This feature needs to overwrite and review all the ACL so this is really difficult to implement and I really cannot say when I will be able to look at it

Jan
This feature needs to overwrite and review all the ACL so this is really difficult to implement and I really cannot say when I will be able to look at it


Jan
If you find Phoca extensions useful, please support the project