PDA

View Full Version : password protection ...um... bad side effect


msoo
9th of March 2004 (Tue), 13:08
I noticed that if public exhibitions are also considered a password protected exhibition. This is a problem because if you have a group of say 5 galleries, 4 of them are public and one of them is password protected to say, "abcd"...

If you go to the password protected gallery, "abcd", you can no longer see all the other public galleries. :-(

IMHO, I think public galleries should be visible at all times...

- MS

Pekka
9th of March 2004 (Tue), 14:18
To me it seems logical to separate protected galleries alltogether. But that may be changed. A fix to this (if you really want it to be done) is here:

Replace in public area (everywhere but not inside input folder) all occurrences of line

AND ee_exhibition.ee_exhibition_pass = '{$pass}'

(can also be AND ee_exhibition.ee_exhibition_pass = '$pass' in some places)

with

AND (ee_exhibition.ee_exhibition_pass = '{$pass}' OR ee_exhibition.ee_exhibition_pass = 'public')

I can add this as a choice in version 1.51. To do manual patching is bit annoying because you will need to do it for every new version of list.php....

Alexis427
9th of March 2004 (Tue), 17:30
I can add this as a choice in version 1.51.

Please!
this is something i'd love to see in EE

mvrekum
10th of March 2004 (Wed), 02:55
I can add this as a choice in version 1.51.

Please!
this is something i'd love to see in EE

Yes please, but with an on/off switch in the gallery settings, like:

"Public galleries always visible: yes/no"

Martin