Open tkuther opened 8 years ago
.. I was unable to fix c), that needs patching include/picture_rate.inc.php in Piwigo itself.
Sorry for the long time to respond and thanks for the PR, I'll look at getting this merged.
I've merged the PR, will see if I can find a workaround for c at some point in the future.
Hi,
I'm using latest Piwigo 2.8.0 and absolutely love your bootstrap theme. I noticed some issues with the display of ratings below the image on picture.tpl, though.
a) the setting from Administration -> Configuration -> Options -> Display -> "Rating" is ignored. Rating is displayed even when it's disabled there. b) Guests can see the text "Rate this image" (no stars though), even "guests can rate" is disabled in Configuration -> Options -> Common -> Permissions. They shouldn't see the text at all. c) Guests can not see the stars after "Average rating" even the picture has been rated (if there is no rating, this is to be expected) when "guests can rate" is disabled. They should be able to see both the text and the stars (unless it's disabled, see a))
I'm trying to come up with a pull request. a) should be easy, the other two require some deeper dive into Piwigo's template variable stuff.