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
Member Download LogIn Problem
-
onkelfishi
- Phoca Newbie

- Posts: 2
- Joined: 28 Jul 2009, 10:42
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Member Download LogIn Problem
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
maybe you should search the code for login redirect and change it to some CB redirect 
If you find Phoca extensions useful, please support the project
-
onkelfishi
- Phoca Newbie

- Posts: 2
- Joined: 28 Jul 2009, 10:42
Re: Member Download LogIn Problem
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?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 plubinmaybe you should search the code for login redirect and change it to some CB redirect
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

- Posts: 167
- Joined: 11 Apr 2009, 01:30
- Contact:
Re: Member Download LogIn Problem
In Phoca Download v1.1.0 it is in two files.
For category try the front end at about line 203
For files try the front end at about 48 and 160
I have not looked at the beta to see where in that code you need to adjust.
For category try the front end at about line 203
Code: Select all
components/com_phocadownload/models/category.phpCode: Select all
components/com_phocadownload/models/file.phpDownload Phoca Download Menu Module for listing Sections or Categories.
-
fazk
- Phoca Newbie

- Posts: 4
- Joined: 05 Jan 2010, 09:37
Re: Member Download LogIn Problem
Dear Jan,
How to make registered members can download while visitors can't download?
Thanks,
Fran
How to make registered members can download while visitors can't download?
Thanks,
Fran
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Member Download LogIn Problem
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
Jan
If you find Phoca extensions useful, please support the project
-
shivpintu
- Phoca Newbie

- Posts: 2
- Joined: 05 Feb 2011, 12:44
Re: Member Download LogIn Problem
This worked.... thank you lot lot lot...codejunkie wrote:In Phoca Download v1.1.0 it is in two files.
For category try the front end at about line 203For files try the front end at about 48 and 160Code: Select all
components/com_phocadownload/models/category.phpI have not looked at the beta to see where in that code you need to adjust.Code: Select all
components/com_phocadownload/models/file.php
-
King Riptor
- Phoca Newbie

- Posts: 1
- Joined: 26 Jan 2011, 04:48
Re: Member Download LogIn Problem
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.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)
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.