I would like to know if there is a feature where you can put some text on your gallery to say "YOU MUST REGISTER...etc etc.." when someone is trying to access your gallery. Once they login the message would go away.
Basically, I was able to make all the albums invisible unless you login. There is a little "register" link at the top right, but it would be nice to have an explanation in themiddle if someon is not logged in.
Thanks in advance!!
Posts: 27300
in albums.php look for
echo "<!-- End top nav -->";
and addChnage the text inbetween the quotes to your liking.
Dave
Posts: 15
thanks Dave! I will try that. :lol:
Posts: 15
by the way, why do you have an underscore before ("Attention")?
Posts: 27300
localization. (translations)
Posts: 15
excuse my ignorance, but when i removed the _ it still worked.
am i missing something?
Posts: 27300
You can if you wish. The translation code looks for the underscore and bracket and quote and the text after it is translated. It is a bit more complex than that but this is it in a nutshell. If you look at the code you will see all text that is translated has the same syntax.
Dave
Posts: 1
I am franticly searching for the file "albums.php". Please someone tell me where in the Gallery directory I can find it.
Many thanks
Jay
Posts: 78
Hi,
I've the same requirement and actually i am not able to restrict non-members to view the albums. Could you help me how to restrict the non-members and set the "MUST REGISTER" message for non-members.
Thanks,
Paradesi