Page 1 of 1

User auto logout after file limit reached.

Posted: 06 Sep 2016, 01:09
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.

Re: User auto logout after file limit reached.

Posted: 06 Sep 2016, 21:54
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

Re: User auto logout after file limit reached.

Posted: 18 Sep 2016, 17:14
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.

Re: User auto logout after file limit reached.

Posted: 20 Sep 2016, 22:14
by Jan
Hi, yes, when the limit is reached, users get the warning message.

Jan

Re: User auto logout after file limit reached.

Posted: 21 Sep 2016, 21:31
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.

Re: User auto logout after file limit reached.

Posted: 22 Sep 2016, 11:38
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