Skip to main content
[ADDON] Levertine Gallery Started by Spuds · · Read 174536 times 0 Members and 3 Guests are viewing this topic.

Re: [ADDON] Levertine Gallery

Reply #165

I'll looking into guest access issues then

Re: [ADDON] Levertine Gallery

Reply #166

Here's the permissions and edit screen:

Guests only have perms to view and comment.

Perms.png

Edit.png


Also:

This only became an issue after the above fix for the comments.

Re: [ADDON] Levertine Gallery

Reply #167

I've not been able to reproduce this issue ... I will note that there is a cache issue ... when you update album permissions it takes it several minuets for the gallery permissions to reload/refresh.

Re: [ADDON] Levertine Gallery

Reply #168

Quote from: Spuds – I've not been able to reproduce this issue ... I will note that there is a cache issue ... when you update album permissions it takes it several minuets for the gallery permissions to reload/refresh.


The permissions were already set days ago, when installed and set up the gallery.
It seems odd to me, that they could view the item before that comment edit, yet not after.
I'd even removed the edit for a bit to test, and they could see the item again.
As soon as edited it back in, poof, gone again.

Also, like said, they can still see the forum, just not individual items, when click them in the album listing.

screencapture-scottjb9276-cc-nf-index-php-2026-08-01-18_39_06.png

screencapture-scottjb9276-cc-nf-index-php-2026-08-01-18_39_34.png
Last Edit: August 01, 2026, 07:40:43 pm by ScottJB

Re: [ADDON] Levertine Gallery

Reply #169

Thanks for the details, will continue to look!

Re: [ADDON] Levertine Gallery

Reply #170

No luck yet in reproducing the issue.  I've created albums as admin and regular users allowing guest viewing and guests can see the items.  I did fix the cache issue.  It was not flushing the cache on permission changes so they would not be valid after a change for 7mins, now it takes effect immediately.  Stumped why the comments, cast as int change would have any effect on this.

Re: [ADDON] Levertine Gallery

Reply #171

Quote from: "Spuds" – Stumped why the comments, cast as int change would have any effect on this.

Have you tried seeing before and after the comment fix on your test site?

Re: [ADDON] Levertine Gallery

Reply #172

I have ... maybe post the file with your edit so I can check it?

Re: [ADDON] Levertine Gallery

Reply #173

Sure. Here you go.

Re: [ADDON] Levertine Gallery

Reply #174

That looks fine to me :thumbsup: .  I've attached the item and album MODEL files with the cache fixes just replace your existing ones, its worth a try!

Re: [ADDON] Levertine Gallery

Reply #175

Still the same, can only see albums and not the items.

Re: [ADDON] Levertine Gallery

Reply #176

Go to that album and toggle the view permissions to something else, save, and then back to guests, just to see if that makes any difference.

Re: [ADDON] Levertine Gallery

Reply #177

Quote from: Spuds – Go to that album and toggle the view permissions to something else, save, and then back to guests, just to see if that makes any difference.


Nope, but was a good thought.
Still can see the items in album, but when click to see just item, get that message.


Re: [ADDON] Levertine Gallery

Reply #178

So its not the album view, but viewing an individual item?

Re: [ADDON] Levertine Gallery

Reply #179

Quote from: Spuds – So its not the album view, but viewing an individual item?

Yes. When click album, they can see the items in it, but can't click to the individual item.