![]() |
|
printLatestImages and protected pages - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: printLatestImages and protected pages (/thread-7165.html) |
printLatestImages and protected pages - Laurent - 2010-06-09 Hi, Regards printLatestImages and protected pages - sbillard - 2010-06-09 It is not absolutely clear what you intend. If you visit the image page of a password protected image and you are not the admin and do not know the password you will get a login screen, not the image. Thumbnails are a different situation. You can choose to display the image as the thumbnail or a lock image instead. That is an option. Of course the same conditions apply--if the user is logged in he will be able to see the image. printLatestImages and protected pages - Laurent - 2010-06-10 Oh sorry, when i read my first post i don't understand myself too ;-) I have made a mistake is not the printLatestImages() but the getNumImages() fonction. I think that if you have 1000 pictures and 200 pictures are in a private gallery, the getNumImages fonctions should only count the public pictures (800 in this exemple) until you are loged to the site. I know that it is not important, but it will be best to display the right number. I hope you understand me. Regards printLatestImages and protected pages - acrylian - 2010-06-10 Ok, I understand now, Could you please create a ticket on our bugtracker so it does not get lost. printLatestImages and protected pages - Laurent - 2010-06-10 Ok, I have create a new ticket. Thank You Laurent printLatestImages and protected pages - sbillard - 2010-06-11 Perhpas you are confused about how passoword protected and published work together. If you do now wish albums or images shown in your gallery they should be marked not published. If you want to restrict access to them you password protect them. You will note that there are four states you can get out of this: [list] printLatestImages and protected pages - Laurent - 2010-06-11 Ok, thanks for this. I do this test. But you're right, the picture are not count this the getNumImages() fonction.. Even if you are log. I don't know if it's more comprehensive for you now :-) I was thinking that the function are able to count the picture in a dynamic mode base on your login. But like i said in my first post, it's not very important if it don't works like that. Regards printLatestImages and protected pages - sbillard - 2010-06-11 Yuur friend login will see only unpublished images which you have authorized him to see through the user rights assigned to him. Also note that guest logins are differennt from Admin logins. It is only the latter who may have priviledges to see unpublished images. The functions do make their counts based on who is logged in. If an administrator is logged in, unpublished images are counted (and shown) if not, unpublished images are not counted nor shown. printLatestImages and protected pages - Laurent - 2010-06-12 Ok, I understand a little bit more. Don't waste your time for that. I'll try again in a few days. Maybe it will work. Thank you very much for your help. Regards |