I have enabled clickable keywords in search. If I use the seach function without logging in I can still see keywords from pictures in private albums. If I click on them I just get "No image to display".
assigning this issue to me.
this is what I have come up with, although I don't think it is correct (notice the silly "WHERE" statement) - please review.
In include/keyword.in.php, I changed$result = mysql_query("select keywords from {$CONFIG['TABLE_PICTURES']}");
to$result = mysql_query("select keywords FROM {$CONFIG['TABLE_PICTURES']} WHERE 1=1 $ALBUM_SET");
It does what it is suppossed to do, but it doesn't look very elegant.
Joachim
It seems to work.
Quoteit doesn't look very elegant
i think it does ;)
didn't check the rest of the code but imho that's how album_set / forbidden_set etc.. should also be called/used, it's not silly at all
OK, so I'm marking this as "fixed" then.
Joachim