Show image rating to registered users only
Posted: 17 Mar 2011, 12:55
Hi
Phoca ROCKS
... in this project i need to do something a little unusual. I have categories for specific registered users ... i'd like them to be able to rate the images ... which is fine - but turning on the image rating feature so shows it to all users in all categories (even though users must be registered to rate images) ... What i'd like to do is hide the rating system from unregistered users.
The background is ... its a photography site where users can login and leave a rating for their photos, which the photographer will then view and print as marked by the rating ... i just don't want unregistered users to see image rankings in the public categories ...
Does anyone know a way to do this?
If the div holding the rating info had a class perhaps a javascript function could hide it if a users wasn't logged in? I'm not big on javascript ... so any pointers would be awesome.
I guess this is more of a feature request than anything ... but i'm in a hurry and don't mind using a hack in the short term.
thanks ya'll.
Phoca ROCKS
... in this project i need to do something a little unusual. I have categories for specific registered users ... i'd like them to be able to rate the images ... which is fine - but turning on the image rating feature so shows it to all users in all categories (even though users must be registered to rate images) ... What i'd like to do is hide the rating system from unregistered users.
The background is ... its a photography site where users can login and leave a rating for their photos, which the photographer will then view and print as marked by the rating ... i just don't want unregistered users to see image rankings in the public categories ...
Does anyone know a way to do this?
If the div holding the rating info had a class perhaps a javascript function could hide it if a users wasn't logged in? I'm not big on javascript ... so any pointers would be awesome.
I guess this is more of a feature request than anything ... but i'm in a hurry and don't mind using a hack in the short term.
thanks ya'll.