Great snippet, thanks. But one problem i have at the moment is i’ve allowed multiVotes but i can’t seem to vote more than once when using FF3. This is fine for safari. Anyone else have the same problem. The stars are shaded in FF3 once i’ve vote. I’m using a Mac. Also i saw a post about a problem with ie6 anyone know if this now works as not been able to test as i don’t have ie.
Thanks
Ben
<?php
/*
russian-utf8.inc.php - for AnythingRating 1.0
Description: Language strings for AnythingRating
*/
$_lang['atr_intro'] = 'Rated:';
$_lang['atr_onestar_outof'] = '%s из %n звезд';
$_lang['atr_stars_outof'] = '%s из %n звезд';
$_lang['atr_thanks_voting'] = 'Спасибо за голосование!';
$_lang['atr_lbstars'] = 'звезд';
$_lang['atr_lbvote'] = 'голос';
$_lang['atr_lbvotes'] = 'голосов';
$_lang['atr_not_registered'] = 'Вы должны быть зарегистрированы!';
$_lang['atr_already_voted'] = 'Вы уже голосовали!';
$_lang['atr_enddate'] = 'Голосование закрыто!';
$_lang['atr_more_less'] = 'Вы не можете поставить оценку более %n или менее %s';
$_lang['atr_bestlabel'] = 'Лучший по рейтингу %s';
$_lang['atr_worstlabel'] = 'Худший по рейтинг %s';
$_lang['atr_hdrank'] = 'Позиция';
$_lang['atr_hdscore'] = 'Оценка';
$_lang['atr_hdnbvotes'] = 'Кол. голосов';
$_lang['atr_hdtitle'] = 'Название';
$_lang['atr_hddescr'] = 'Описание';
$_lang['atr_hdimage'] = '';
?>
It isnt perfect but good enough:)
Hi Vait, which charset do you use ? UTF-8 or an other charset ?
ah crap. i used utf
here it is again (attached)
also i think there is a problem with the script: the total is 2.5/5 stars 4 votes but the image is 3 and a bit stars.
http://www.viriko.ru/articles-ru-mistakes-when-buying-property-in-cyprus.html
another example
http://www.viriko.ru/articles-ru-amount-of-property-purchase-in-Cyprus-under-law.html
3/5 stars, 2 votes. shows 4 stars
check it out please
also, I would suggest that the following is inserted into robots.txt file as from what I saw (via phpadmin + traceroute) search engines can vote too!:) And the way they vote is they star with the link that comes up first (1 star) and can’t vote anymore as their ip is blocked, this leads to false ratings.
Put this into your robots.txt:
Disallow: /*.html?q=*&atrGrp=*
all my items end in html, you can ofcourse just put *?q=* and block everything
Yea, it seems to be a problem only under IEs. FF and other browsers working fine. Anyone an idea how to fix it?!