File detail page viewable by all, but only downloable by registered users

Phoca Download - download manager
brentwilliams2
Phoca Member
Phoca Member
Posts: 26
Joined: 23 Aug 2009, 01:22

File detail page viewable by all, but only downloable by registered users

Post by brentwilliams2 » 07 Jun 2021, 01:05

I know that if I set a file to "public" that anyone can see the file detail page and download it.

But what I want to do is make it so that anyone can see the file detail page, but only registered people can download. It seems that the "Display Inaccessible File" only applies to visibility on the category list view.

Any suggestions?

Tags:

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

Re: File detail page viewable by all, but only downloable by registered users

Post by Jan » 07 Jun 2021, 17:08

Hi,

"Display Inaccessible File" means that if some files are only for registered, they are even displayed in category view but when user clicks to download them, and the user is not logged in, he/she will be redirected to login page.

And, yes, this only applies to category view. So when the file is not accessible, no file view is displayed (no download possible, no file view)

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

brentwilliams2
Phoca Member
Phoca Member
Posts: 26
Joined: 23 Aug 2009, 01:22

Re: File detail page viewable by all, but only downloable by registered users

Post by brentwilliams2 » 07 Jun 2021, 17:58

Hi Jan,
Just as a thought for future development, you may consider having "Display Inaccessible File" also apply to the file view. For my community, we use the file view kind of like a sales page - We can link directly to the file page, and then hopefully it is valuable enough, the person will register for the site to download it.

Thank you for taking the time to respond!

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

Re: File detail page viewable by all, but only downloable by registered users

Post by Jan » 07 Jun 2021, 22:23

Ok
Added to feature request list:

https://github.com/PhocaCz/PhocaDownload/issues/16

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

brentwilliams2
Phoca Member
Phoca Member
Posts: 26
Joined: 23 Aug 2009, 01:22

Re: File detail page viewable by all, but only downloable by registered users

Post by brentwilliams2 » 14 Jun 2021, 16:39

Jan, I have to say that you are awesome. I'm always impressed at how responsive you are. I know keeping up with a community like this can be a lot, so I just wanted to let you know your effort is appreciated.

Have a great week!

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

Re: File detail page viewable by all, but only downloable by registered users

Post by Jan » 15 Jun 2021, 14:22

Ok, hopefuly I will find time to take a look a it. :idea:
If you find Phoca extensions useful, please support the project

Post Reply