Member Download LogIn Problem

Phoca Download - download manager
onkelfishi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Jul 2009, 10:42

Member Download LogIn Problem

Post by onkelfishi »

Good Morning everybody

I installed phocadownload and created sections, categories and files. So I have different files, that are only available for members.
Here the link:
http://onkelfishi.de/index.php?option=c ... &Itemid=54
The German text says: that you can't download the file, because you are not a member.

If you send anybody the downloadlink (maybe from a registered member)
http://onkelfishi.de/index.php?option=c ... &Itemid=54
a new log-in site appears.

http://onkelfishi.de/index.php?option=c ... view=login

the problem is that I use community builder (as you can see on the left) and the log-in module (which appers in the middle) is the old joomla log-in (I have already disabled it in my module and plugin section)

how can I change the links named

* Haben Sie Ihr Passwort vergessen?
* Haben Sie Ihren Benutzernamen vergessen?
* Registrieren

The Register-Url from the Joomla login is: http://onkelfishi.de/index.php?option=c ... k=register
and the register-url from Community-Builder is: http://onkelfishi.de/index.php?option=c ... =registers


Or is there any change to replace the joomla log-in module with the community builder module?

thx for your help and sorry for my bad english
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Member Download LogIn Problem

Post by Jan »

Hi, I am sorry but I don't know. Phoca Download works with standard login authentification. I don't know CB so I cannot say what needs to be changed in the code, so the CB login will be displayed instead of standard plubin :idea: maybe you should search the code for login redirect and change it to some CB redirect :idea:
If you find Phoca extensions useful, please support the project
onkelfishi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Jul 2009, 10:42

Re: Member Download LogIn Problem

Post by onkelfishi »

Jan wrote:Hi, I am sorry but I don't know. Phoca Download works with standard login authentification. I don't know CB so I cannot say what needs to be changed in the code, so the CB login will be displayed instead of standard plubin :idea: maybe you should search the code for login redirect and change it to some CB redirect :idea:
ok and where can i find (change) the "register" url from the standard log-in - so that I can put the new CB-register-url in?

PS: do you know the php file where i could find any Log-in information or what log-in plugin is used?

thank you
codejunkie
Phoca Professional
Phoca Professional
Posts: 167
Joined: 11 Apr 2009, 01:30
Contact:

Re: Member Download LogIn Problem

Post by codejunkie »

In Phoca Download v1.1.0 it is in two files.

For category try the front end at about line 203

Code: Select all

components/com_phocadownload/models/category.php
For files try the front end at about 48 and 160

Code: Select all

components/com_phocadownload/models/file.php
I have not looked at the beta to see where in that code you need to adjust.
Download Phoca Download Menu Module for listing Sections or Categories.
fazk
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 Jan 2010, 09:37

Re: Member Download LogIn Problem

Post by fazk »

Dear Jan,

How to make registered members can download while visitors can't download?

Thanks,

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

Re: Member Download LogIn Problem

Post by Jan »

Hi, you can display the category only for registered displayed or you can set in edit of files that the file will be accessible for registered only (if you want public user can see it but not download it, then just set "display for public" to yes)

Jan
If you find Phoca extensions useful, please support the project
shivpintu
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 05 Feb 2011, 12:44

Re: Member Download LogIn Problem

Post by shivpintu »

codejunkie wrote:In Phoca Download v1.1.0 it is in two files.

For category try the front end at about line 203

Code: Select all

components/com_phocadownload/models/category.php
For files try the front end at about 48 and 160

Code: Select all

components/com_phocadownload/models/file.php
I have not looked at the beta to see where in that code you need to adjust.
This worked.... thank you lot lot lot... 8)
King Riptor
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 26 Jan 2011, 04:48

Re: Member Download LogIn Problem

Post by King Riptor »

Jan wrote:Hi, you can display the category only for registered displayed or you can set in edit of files that the file will be accessible for registered only (if you want public user can see it but not download it, then just set "display for public" to yes)
Doesn't work for me no matter how it's configured, either everyone can download reguardless of login status or nobody, including super admin, see's nothing.

Update: Seems the default.php in category/views got corrupted for some reason, after replacing it the downloads work as they should.
Last edited by King Riptor on 10 Feb 2011, 09:58, edited 1 time in total.
Post Reply