Access rights problem

Phoca Gallery plugins - plugins for Phoca Gallery extension
volleho
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 May 2008, 12:01
Location: Germany

Hi,I

Post by volleho »

Hi,

I'm using the latest version of phoca gallery (1.8.2) and plugin (1.8.0).

My problem is that the plugin shows the thumbnail in a content page, but if you click on it then it is not shown at all. A new window opened but there is the frontpage shown and a message that the user has to log-in first to access the internal part of the website.

But the same image could be accessed using the category view of the phoca gallery without log-in. Any idea?

BR, Volker.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48648
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Is there the same id

Post by Jan »

Is there the same id of both images (in plugin or in category view) for the category (catid)?
If you find Phoca extensions useful, please support the project
volleho
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 May 2008, 12:01
Location: Germany

Yes, the category ID

Post by volleho »

Yes, the category ID is the same for both.

Here is the plug-in code:

{phocagallery view=category|categoryid=4|imageid=19|detail=0|displayname=0 |displaydetail=0|displaydownload=0|displaybuttons=0|float=left|imageshadow=shadow1}

and the category link:

index.php?option=com_phocagallery&view=category&id=4
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48648
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

no idea what can be

Post by Jan »

no idea what can be wrong, I am trying it on my demo sites and everything works
If you find Phoca extensions useful, please support the project
volleho
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 May 2008, 12:01
Location: Germany

Hi Jan,I

Post by volleho »

Hi Jan,

I have found the root cause for this error.
If you add a galery link (list all categories) to the user menu, then you are not able to view any image of the gallery via plug-in without logging in.

Can you fix this or do you have a workaround?
Problem is that we need to have a public and non-public category...

BR, Volker.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48648
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

If you add a gal

Post by Jan »

If you add a galery link (list all categories) to the user menu ... I don't understand?, what is user menu, it is a standard menu?
If you find Phoca extensions useful, please support the project
volleho
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 May 2008, 12:01
Location: Germany

There are several me

Post by volleho »

There are several menu types in standard template like topmenu, mainmenu, usermenu...

User menu is a menu with restricted access to registered users only. You have to log-in first to access all menu items.

Please take a look at "dortmund.dartonline.de".
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48648
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

...

Post by Jan »

I don't see any problem on your site, in gallery there is no image, on start site, everything works ???
If you find Phoca extensions useful, please support the project
volleho
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 May 2008, 12:01
Location: Germany

Yes, it is working n

Post by volleho »

Yes, it is working now! Problem was that a menu entry to the gallery in user menu (list of all categories) was restricted to registered users only. Therefor none of the images could be opened. This seems to be a conflict in access level.

Nevertheless thanks for your quick responses...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48648
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

...

Post by Jan »

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