ZenphotoCMS Forum
How to protect description for password protected albums? - 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: How to protect description for password protected albums? (/thread-2050.html)



How to protect description for password protected albums? - zloh - 2008-01-12

When i protect an album with a password, the description is also part of what i am trying to protect (if you are describing private images, why would this be public?)..

  • leaves me with no option but to not describe the gallery at all
  • it makes sense to me, to only provide the album title to unauthorised viewers..

If anyone could suggest a fix/hack for this i'd appreciate it!




How to protect description for password protected albums? - sbillard - 2008-01-12

Don't show the title or description in with your thumbnails.




How to protect description for password protected albums? - zloh - 2008-01-13

Hmmm..
forgive my ignorance, but where is it possible to put a description that can't be publicly seen?




How to protect description for password protected albums? - sbillard - 2008-01-13

Delete the code that displays the description of an album from where you are displaying the thumbnail.




How to protect description for password protected albums? - acrylian - 2008-01-13

Sbillard, I think zloh means the album descprition that is still show when the album thumbs itself are not because of the password. Deleting the code will not help him.




How to protect description for password protected albums? - sbillard - 2008-01-13

Then you have to put a call on checkForPassword() around anything you do not want to show when the album page is displayed.