I would like to use the printAlbumMenuList() function in my theme, but it seems to print all the albums in the gallery, even those that are unpublished or protected; same goes for the printAlbumMenuJump() function apparently.
What must I do in order to prevent users to see albums they are not allowed to browse?
Thanks for your advice.
Comments
Is there a parameter somewhere that could make this difference? I don't remember having set both galleries differently (in fact, one is originally copied from the other).
- local gallery: The Zenphoto_Authority object supports a higher version of user rights than currently selected. You may wish to migrate the user rights to gain the new functionality this version provides.
Migrate rights
- online gallery: You may wish to revert the user rights Zenphoto_Authority to version 3 for backwards compatibility with prior Zenphoto releases.
Revert rights
Any advice on what I should do?
On the other hand, the values stored for all these rights are different among authority versions, and the newer version may not work if you decided to install an older version of Zenphoto that did not know of it.
So, as long as you are satisfied with the version of Zenphoto you are running you can upgrade the version of the aurhority if you want the new feature. But you do not need to do anything. At some point Zenphoto will upgrade the version when it no longer supports the older one.
As for your other problem, carefully look at the publish state of the items. That is probably where they are different.
If you want to see you gallery the way a normal user sees it use the `show_not_loggedin` plugin. But be aware. It does just what it says--makes it look like you are not logged in when you view the front-end of your gallery.
It's my mistake for the published/unpublished album: when I imported the whole albums tree from one gallery to the other, I didn't realize I had to re-specify each album status! Sorry for that disturbance.
I will have a look at the `show_not_loggedin'; it might be handy for the near future.
I want to create generic login and I don't want that users can modify some information as password for example.
I'm currently working on my theme and the gallery is not in production yet; I won't be copying albums to-and-fro when it's live.
what option are you speaking about ?