Category only for registered users

Phoca Gallery - image gallery extension
Svempa
Phoca Member
Phoca Member
Posts: 23
Joined: 25 Feb 2008, 17:00
Location: Sweden
Contact:

Hi again,

Post by Svempa »

Hi again,

Did the upgrade to 1.7.0, by the way I also like your update function which saves me some work.

But I think I have to go back to 1.6.8, got this error as soon as I click on a thumbnail to get a large picture and start a slideshow:

Fatal error: Call to a member function on a non-object in .../components/com_phocagallery/views/detail/view.ht ml.php on line 155.

Anyone else having this problem? I am running Joomla! 1.5 stable.

Edit: Also there seems to be something wrong with your ACL iin 1.7.0. The tree still shows galleries that shoud be unaccessible, when clicking on such a branch my own ACL stops the access while previously it was your ACL that kicked in.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

- I take a look at t

Post by Jan »

- I take a look at the code ... there was a change from 'phocagalleryd' to 'detail'.... because of SEF

- You must set it in the Tree Module (displaying or not displaying of unaccessable categories). Set to 'No' and save in Module Manager

Jan
If you find Phoca extensions useful, please support the project
Svempa
Phoca Member
Phoca Member
Posts: 23
Joined: 25 Feb 2008, 17:00
Location: Sweden
Contact:

It is set to 'N

Post by Svempa »

It is set to 'NO' in the tree module, did that from the start and checked that it is still set.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Should be fixed now.

Post by Jan »

Should be fixed now... try it again...

Jan
If you find Phoca extensions useful, please support the project
Svempa
Phoca Member
Phoca Member
Posts: 23
Joined: 25 Feb 2008, 17:00
Location: Sweden
Contact:

Quick work, Jan! Dow

Post by Svempa »

Quick work, Jan! Downloaded again, installed again and upgraded again, did not take many minutes. And the error is gone!

Any thoughts on the tree module? Not vitally important to me, but interesting anyway.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Did you re-saved it.

Post by Jan »

Did you re-saved it... There is 'No' but if you don't click on 'Save' again, it will be not saved into a database and it will not work... This is because of uprading (the version before didn't have this parameter)... So if is nothing in database, the global configuration from XML file will be taken (and this is set to 'Yes')

Jan
If you find Phoca extensions useful, please support the project
Svempa
Phoca Member
Phoca Member
Posts: 23
Joined: 25 Feb 2008, 17:00
Location: Sweden
Contact:

I sved it once more,

Post by Svempa »

I sved it once more, no difference. This is what I get from the database for this module:

(74, 'Phoca Gallery Tree Module', '', 0, 'user2', 0, '0000-00-00 00:00:00', 1, 'mod_phocagallery_tree', 0, 0, 1, 'moduleclass_sfx=\nhide_categories=\ndisplay_access_category=0\n\n', 0, 0, '');
Svempa
Phoca Member
Phoca Member
Posts: 23
Joined: 25 Feb 2008, 17:00
Location: Sweden
Contact:

I take back what I w

Post by Svempa »

I take back what I wrote about your ACL, more careful testing proves it still works correctly. But the tree still shows the branches that are "privately owned".

In my site I have so far just three "privately owned" galleries, but if this concept becomes popular I guess all my users wiill want their private gallery.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

So I must take a loo

Post by Jan »

So I must take a look at it, because it works for me (localhost) and on my demo site too:
On the following site, you can see the private Category: 'Austrian Alps reg' - it is displayed in COMPONENT tree (enabled) but not displayed in MODULE tree (disabled) ...

https://www.phoca.cz/phocagallery/demo/i ... categories
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

One info: The tree w

Post by Jan »

One info: The tree works only with registered or not registered, it doesn't work with specifed registered user yet....

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