Hi, I’ve managed to get to work {exp:rating:insert_rating_rev}. Values are stored correctly inside the database (I’ve checked through phpMyAdmin).
What is not working is the {exp:rating:rating_rev_stats}, which should pull out the values of reviews done by users on the website.
Here’s the code:
{exp:rating:entries}
<div class="rating">{stars}{rating}{/stars}</div>
<h5 class="reviews">{review_title}<span>, {rating_date format="%m/%d/%y"}</span></h5>
<span class="author">by <strong>{name}</strong> {if citta!=""}({citta}){/if}</span>
{review_area}
Found this review interesting? <a href="http://claraegigipadovani.orange021.com/index.php/sito/vota-recensione/{rating_id}/">/images/btn-yes.png</a> <a href="http://claraegigipadovani.orange021.com/index.php/sito/vota-recensione/{rating_id}/no/">/images/btn-no.png</a>
{exp:rating:rating_rev_stats rating_id="{rating_id}"}
{rating_id}
This review has received {y} ({percent_y}%) thumbs up votes and {n} ({percent_n}%) thumbs down votes out of a total of {total} votes.
{/exp:rating:rating_rev_stats}
{/exp:rating:entries}
What I get on my website is:
This review has received 0 (0%) thumbs up votes and 0 (0%) thumbs down votes out of a total of 0 votes.
…although I’ve easily managed to vote for entries.
Does anybody have a clue (Solspace guys?)?
Carlo
P.S. I’m using EE1.6.4
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.