Example page:
http://zp.damnit.org/2008-02/1171307898-1170393547206.b.jpg.phpWhen you use
IE7 you can't click a star to rate the image at all. If you rate an image in FF and then view the page in IE7 the stars are not aligned.
When you use
FF v2.0.0.12 you can click and rate an image but it doesn't instantly show the new star rating you just gave it, you have to refresh. This is also the way it works in IE7. I'm guessing these are all javascript problems because I have the same problem in the cimi theme as I do with the default stock untouched ZenPhoto theme.
Is anyone else seeing this?
Comments
It is quite possible that there is a conflict between the extra JS/CSS of the cimi theme and the rating.
Please note that the cimi theme is a third party theme, that we are not able to support officially.
As for the none refreshing in FF that is most likely a JS issue and has been there all the time (The js part of these function is an adaption of a free script).
EDIT: The none refreshing stars were indeed a bug. It will be corrected tonights nightly build.
Line: 2724
`echo "href=\"javascript...\" part. After that so far so good on my tests in both IE7 and FF. I'm afraid I'm not even sure how to submit a proper patch yet.
Thanks, that 'patch' did just fine. If you want to submit a patch in the future you can use the bugtracker at http://www.zenphoto.org/trac/newticket , or just attach it to the existing ticket if you find it.
There are tutorials for making patches online, but for a small fix like that even just describing it worked for me. Thanks again.
greets, jim
P.S. I use IE 6
Does somebody have a solution for this? Would be very much appreciated.
Thanks
Ive tried in IE6, IE7, FF2, and Safari 3....all behave exactly the same for me on the first and second vote.
Is this happening on the default setup with default theme, or are you customizing the rating in any way like positioning?
Please make sure you are including zp-core/plugins/rating/rating.css if you are using a custom theme.
I'm using the default steril light theme with some adjustments.
Withe firefox 2.0 the rating works fine, but not with IE 6. Just after i rate the picture the hightlighted stars move off position:
Here the source code of my image.php file:
`
<?php<br />
if (getImageEXIFData()) {echo "
printImageMetadata('', false);
}
?>
<?php printTags('links', '<strong>Tags: ', 'taglist', ''); ?>
<?php printImageMap(); ?>
<?php if (getOption('Allow_ratings')) { printImageRating(); }?>
<?php if (getOption('Allow_comments')) { ?>
<?php $num = getCommentCount(); echo ($num == 0) ? "" : ("<h3>Comments ($num)
"); ?>
<?php while (next_comment()){ ?>
`
I pretty much left that alone, just a little change in Position ("image info" before rating).
Then the CSS part (didn't toucht the rating.css), but i added a #rating in the default theme:
`
#rating {
padding: 5px;
border-top: 1px solid #9C3;
border-right: 1px solid #9C3;
border-left: 1px solid #9C3;
}
`
That's it. I hope someone get's my faux pas, 'cause I'don't seem to be able to find it.
Many thanks, Jim.
Greetings, Jim
from
`
.star-rating li.current-rating{
background: url(alt_star.png) left center;
position: absolute;
height: 25px;
display: block;
text-indent: -9000px;
z-index: 1;
}
`
to
`
.star-rating li.current-rating{
background: url(alt_star.png) left center;
height: 25px;
display: block;
text-indent: -9000px;
z-index: 1;
}
`
see ya' around.