Access control

Phoca Gallery - image gallery extension
Franklin
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Oct 2008, 09:53

Access control

Post by Franklin »

Hi,
Uploaded nearly 500 images using phoca.

I have two problems though.
1.Installed phoca-google adsense easy.The text(phoca -google adsense easy)is displayed on frontpage.How to remove it.This problem is here

2.I want the menu link "sastra question papers" accessible only to registered users but should be viewable for all.Though i found three topics related to this particular problem they are not helpful.
Please help.
Last edited by Franklin on 09 Nov 2008, 12:36, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Access control

Post by Jan »

Hi,

1. I don't see any text "phoca-google adsense easy" on your frontend ?
2. what is
accessible only to registered users but should be viewable for all
there are the following rights:

upload and add right
delete and public or unpublic right
acces right (view)
If you find Phoca extensions useful, please support the project
Franklin
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Oct 2008, 09:53

Re: Access control

Post by Franklin »

Jan wrote:I don't see any text "phoca-google adsense easy" on your frontend
whenever i enable the module the text appears on bottom left.
Jan wrote:accessible only to registered users but should be viewable for all
by registered users i mean members of my site who have signed up.by all i mean guests who have not signed up.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Access control

Post by Jan »

by registered users i mean members of my site who have signed up.by all i mean guests who have not signed up.
I understand it but I don't know the difference between:

accessible x viewable... what should accessible mean ( accessible = viewable ) ?
If you find Phoca extensions useful, please support the project
Franklin
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Oct 2008, 09:53

Re: Access control

Post by Franklin »

Hi,
By accessible i mean the user can click on the menu item and view the contents of it.By viewable the user can just see it and when he clicks on it he should be prompted to login.

Is there an extension to achieve this(prompting to login).

Sorry for confusing you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Access control

Post by Jan »

No there is no such solution... you can only access (view) the whole cateogory or not... :(
If you find Phoca extensions useful, please support the project
Franklin
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Oct 2008, 09:53

Re: Access control

Post by Franklin »

Hi,

This is what i am trying to achieve.
To create a menu item which when clicked by a member should should perform its function and when clicked by a guest it should prompt for a login just like when we click "post reply" in this forum without logging in we are prompted to login.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Access control

Post by Jan »

yes you can list the categories, if some of the categories is e.g. only for regiestered and you have set displaying registered categories in parameters component, every registered category will be displayed with folder icon and a lock, if not registered user click on the category, the login site will be displayed...

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