Allowing download for registered users only doesnt work

Phoca Download - download manager
Katzengreis30
Phoca Member
Phoca Member
Posts: 11
Joined: 21 May 2012, 18:58

Allowing download for registered users only doesnt work

Post by Katzengreis30 »

I work with Phoca Download on Joomla 2.5. and I only use it for including Download-Files in content by Plugin-button.
So when I create a Download-Link which should download and dislplay only by registered users, the links are always displayed when I am NOT logged in.

I set the configuration in Joomla AND Phoca Download like your description. I set the category, the files in both on "registered" and "Display Unaccessible File" to "NO" overall. But it didnt works!

By clicking the download file it routs my to the login-side, ok... but I dont can get to make the download file hide.

Please help me. I searched some days ago for a solution but didnt get it.

Greetings, Michael :idea:

sorry, for my bad english...
Katzengreis30
Phoca Member
Phoca Member
Posts: 11
Joined: 21 May 2012, 18:58

Re: Allowing download for registered users only doesnt work

Post by Katzengreis30 »

I read on the "german"-Phoca-Side that the plugin doesnt care if the included download-files in content are for all users or only for registered users.

Is that true?

Is there any possibility to modify the plugin that the downloadlinks only for registered users are only displayed for registered users when they are logged in?

Any Ideas? Please! :?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48595
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Allowing download for registered users only doesnt work

Post by Jan »

Hi, the plugin only call the component to download the file - so the component allways check for the downloading - for the rights - so if you want that plugin link can download unaccessible files, you need to customize it - e.g. you will add two files into components - one for registered and second for not registered - the one for not registered will be e.g. not published so it can be downloaded per plugin link (e.g. you need to customize the plugin to get link from unpublished files)

The logic is, you have some protected file and such file cannot be download and it does not matter which link you are using - e.g. plugin link, component link, some of the search engine link, etc. The file must be protected allways. In other case it does not make any sense to protect it - in case you can access it from other part of the site.
:idea:

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