I want to hide galleries that the current user can not view. im pretty sure i have found the place that needs to be altered, and all the pieces, but being very new to php i dont think i could code this as well as trouble shoot it...
<?php while (next_album()): ?>
getNotViewableAlbums
getAlbumID( )
what i want to do is create a separate structure under the while loop that is a if (current album).getAlbumId() is in the list genNotViewableAlbums, then print out all the album stuff, otherwise ... go to the next album
any help would be, well, helpful!
Comments
I found the part where it is building the subalbum links (the while loop i mention above) but not being incredibly familiar with php i was asking for some codeing help.
If you mean albums, then you need to set up the following:
Create one admin user with "view all" rights. This is the "guest" user who can see all albums.
Un publish and password protect all albums which you don't want viewed by not logged in users.
For each who should see only his own album set that user's managed albums list to the album.
The intention is to have the guest account for people who wont contribute, and an account for each contributer. each contributer will have their own album, but should still be able to see all the albums.
for not i have it so each contributer can edit all the albums, and sense I guess I trust these people, that will work for now.