Actually an album should be unpublished if you set it to unpublish in the admin edit page of that album.
If that is not so and you are literally think that is a bug we would need some more info. Additionally some browser do sometimes not log out correctly (exactly, don't clear the cookies correctly, Safari does that sometimes).
Ok. I try first to change status of album in admin panel and I checked in database that show is set to 0, so admin panel is working. But in public site album is always visible. I cleared cookies from firefox and also open site in opera and IE that didn't have cookies from admin panel.
Sorry, I can't reproduce the issue you are reporting neither with Zenphoto 1.1.5 nor the nightly build. You might try enabling gallery sessions in admin options -> gallery configuration (at the bottom).
The cache can't be turned off. Why do you want to do that? Turning off would mean that Zenphoto would process each thumbnail and sized image every time. That would add a lot of overhead and make your site slow.
Nikola, if it's a real bug here, we should try to find it and fix it in the Zenphoto codebase, not just fix it once for you.
So, we would appreciate it you would work with us to debug this.
But, if you do manage to fix it, maybe you can tell us what's wrong. So, look on `template-functions.php` line `926`, function `getAlbumThumbImage`, and the same on line `982` for custom sizes. It's possible that you just don't have the stylesheet setup correctly... but you could also modify it to just skip the album completely.
Can we see your site? It might help diagnose the problem.
I've never seen an album marked unpublished while logged out. I have 11 albums but only 1 is public. I only see the 1 when logged out. Mac Safari, Mac Camino, Mac Firefox. And, I don't always remember to clear cookies.
Comments
in functions.php
in function sortAlbumArray() just add WHERE 'show'='1'
If that is not so and you are literally think that is a bug we would need some more info. Additionally some browser do sometimes not log out correctly (exactly, don't clear the cookies correctly, Safari does that sometimes).
I try first to change status of album in admin panel and I checked in database that show is set to 0, so admin panel is working.
But in public site album is always visible.
I cleared cookies from firefox and also open site in opera and IE that didn't have cookies from admin panel.
one more question:
how to turn on/off cache ?
The cache can't be turned off. Why do you want to do that? Turning off would mean that Zenphoto would process each thumbnail and sized image every time. That would add a lot of overhead and make your site slow.
It's not easy for me to search all files and functions.
Thanks,
Nikola
So, we would appreciate it you would work with us to debug this.
But, if you do manage to fix it, maybe you can tell us what's wrong. So, look on `template-functions.php` line `926`, function `getAlbumThumbImage`, and the same on line `982` for custom sizes. It's possible that you just don't have the stylesheet setup correctly... but you could also modify it to just skip the album completely.
Can we see your site? It might help diagnose the problem.