We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Solspace Rating Module 2.1.2: Rating Rev Stats not working

Development and Programming

Carlo Poso's avatar
Carlo Poso
35 posts
about 17 years ago
Carlo Poso's avatar Carlo Poso

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

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.