Upload and download after login (only user files)

Phoca Download - download manager
vabril
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jan 2016, 03:42

Upload and download after login (only user files)

Post by vabril »

Hello team;
I have implemented phoca download to test one functionality:
I need users to register in my site, after registration they can login and 2 links will be enable:
User Upload and Download Files
All works as expected, after I register and login. I am able to create a download and also able to go to the "Download Files" link and download the files that I have created.
The issue that I have is that when I go to My Downloads and I click on the download bottom it takes to another page where I can see the following:
Overview Search Add Up and a drop down menu with text User Upload, Overview, Only Categorized and All Download.
I I select All Downloads I am able to see someone else Download files if I select User Upload I also see all the files.
My question is?
Is there a way to show only the files that belong to the login user? because that user upload the files.
If I am user vabril I should not be able to see uploads created by usertes1.

Please advised.
Please fell free to create user pesunitas.com/ on my website and test it or
use the follwing
vabril as the user and password 2daleyna

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Upload and download after login (only user files)

Post by Jan »

Hi, in UCP, user can see the files uploaded to category where he/she has rights, so you need to set the category rights - e.g. for upload or access - so only selected users can upload in such category.

Jan
If you find Phoca extensions useful, please support the project
vabril
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 27 Jan 2016, 03:42

Re: Upload and download after login (only user files)

Post by vabril »

Thank you very much Jan for your replay. My issue is that in order to upload files a least need one category needs to be available. is there a way that users once login can upload files to their on folder?
Since I have one Category and all the login users will be able to upload to that category all of them will be able to see each other files, and that is a big issue.

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Upload and download after login (only user files)

Post by Jan »

Hi, as written above - in category views - all users who have rights to upload, can upload to this category - there is no owner, so depends on which access rights will be set for the uploaded files - as default - all files are accessible - and everybody can see them.

In UCP, you can set the the files which will be uploaded must be authorized before displaying them for public - so there the administrator can manage if the files will be displayed or not.

To set the uploaded files for diffrent users - set access rights different for each users - this needs to be done in administrator or somehow customized when uploading the file. :idea:

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