User auto logout after file limit reached.

Phoca Download - download manager
dangerdynamite
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Sep 2016, 01:05

User auto logout after file limit reached.

Post by dangerdynamite »

I just installed the component and ran into a bit of an issue. I have the max number of downloads of a file per user set to 2, which works great. But when the same user tries to download the file again for a third time, they are automatically logged out. Is there a setting that I'm missing somewhere in the Options?

Joomla V 3.6.2
Phoca V 3.1.2

Any help is greatly appreciated. Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: User auto logout after file limit reached.

Post by Jan »

Hi, hmmm, Phoca Download does not have any feature to login or logout users, it just does not allow to download the file when the limit was reached, but it cannot logout user, it does not have any feature for this :idea:

Jan
If you find Phoca extensions useful, please support the project
dangerdynamite
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Sep 2016, 01:05

Re: User auto logout after file limit reached.

Post by dangerdynamite »

Thanks for the reply. Does it normally give a warning message that the download limit is reached? The issue is still happening when visitors click download after they have reached their maximum. Any other assistance is appreciated.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: User auto logout after file limit reached.

Post by Jan »

Hi, yes, when the limit is reached, users get the warning message.

Jan
If you find Phoca extensions useful, please support the project
dangerdynamite
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Sep 2016, 01:05

Re: User auto logout after file limit reached.

Post by dangerdynamite »

Hi,

I have just tested it again in multiple browsers and get the same result, my user (super admin group) is logged out and no warning message is displayed. I did setup using a Rockettheme template and a specific user group for these users, which is under Registered and in the Login module set the logout screen to be the home page of the site. I also tried creating a Login menu item instead of using a module, which did not make any difference.

Are there any other suggestions you can make of things I can try as it would be great if I could get this resolved? Thank you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: User auto logout after file limit reached.

Post by Jan »

Hi, I think you need to test step by step which part of your system does the logout (e.g. switch to standard template - for test, disable system plugins - for test, etc.) Phoca Download does not have any feature to login or logout user - it just tests if user is logged in. If yes and users is able to access files, it will download the file. If no, the site will be redirected to login page so user can login. But it does not have any function to manage login of users, it only checks - get inforamation from system (is logged in or is not logged in - not more) :idea:

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