jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Topic started by: FrankJ on 09.06.2019 14:51:15

Title: How to setup single user downloads
Post by: FrankJ on 09.06.2019 14:51:15
Hello Forum,
I am migrating an old website using DOCMAN to jDownloads.
There I have 100 users who each have individual downloads and some common downloads.
For example I have a category "programs" with downloads "user1prog.exe","common1prog.exe" and "common2prog.exe" and a category "manuals" with "user1manual.pdf", "common1.pdf" and "common2.pdf":
programs
- user1prog.exe
- common1prog.exe
- common2prog.exe
manuals
- user1manual.pdf
- common1.pdf
- common2.pdf
Another user logging in sees:
programs
- user2prog.exe
- common1prog.exe
- common2prog.exe
manuals
- user2manual.pdf
- common1.pdf
- common2.pdf
In DOCMAN I can give a download to group or user. In jDownloads this seems not possible. What is the best way to achieve this?

Frank
Title: Re: How to setup single user downloads
Post by: FrankJ on 10.06.2019 11:27:24
Ok, I found a way, but it's very long-winded and cumbersome. Perhaps it helps other users with similar problems.So I will end up with 100 single user groups and access levels. :-\

Perhaps it would be nice new feature if there would be a field for an "access user" in a download or category which you can leave empty. Empty is as before, everyone of the set access level can view the file, but if you set a user, only that user would have access.

Frank
Title: Re: How to setup single user downloads
Post by: ColinM on 10.06.2019 18:34:37
Hi
I was in the process of replying along the lines you have found.  You might also find it useful  to have a jD menu item My Downloads set with a Registered view Access. That will list all those Dowloads which have the relevant user set as the 'creator' of the Download irrespective of which Category the Download is in. You can set this in the Additional Info tab when a Download is created/edited.Also assuming your public info has a common top level Category then using the jD menu Item List a Single Category, which automatically includes the sub cats, is helpful.
Yes the present arrangement is 'interesting' with the Joomla! permissions system. :(
We are currently working on a new major release that amongst many other enhancements specifically allows setting a Single User Access.  It is one of the things I am about to start testing! And the documenting.  Please see attached pics.
Your next question is of course When.  Not certain so all I can say is it is our highest priority - basically it is like the length of a pieece of string: namely twice as long as half of it! :D More seriously we will be looking for beta testers so if you are interested please let us know.
Best wishes
Colin


[gelöscht durch Administrator]
Title: Re: How to setup single user downloads
Post by: FrankJ on 10.06.2019 22:10:19
Looks like you're working on a feature exactly as I proposed.  ;D

Gladly I am not bad in SQL and Excel and I build SQL scripts which created 100 user, usergroups, user_usergroup_maps and viewlevels direct in joomla db. I even was able to transfer 300 files with titles, descriptions, symbols, dates and access for group and user this way.

So no need to hurry for me.

Thanks for your work
Frank

PS:
Any idea why new lines are not displayed in forum editor (Firefox)?
And I always have to do a captcha (perhaps too few posts)?
Title: Re: How to setup single user downloads
Post by: ColinM on 11.06.2019 11:14:13
Frank
Glad it was no problem for you!To get new lines in Forum then click on {k} at end of tool bar after you have typed a bit.  have no idea why it behaves as it does!!
Colin