Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > Can't rate documents View modes: 
User avatar
Member
Member
hinesnetwork@mac.com - 2/24/2010 9:01:44 AM
   
Can't rate documents
I'm not positive it's a bug but can't get the product ratings to work. The site is fully patched v5.0.3702. I'm logged in as the global admin and can't rate any documents from Properties > General > Ratings. I've also tried it using a webpart, but it still didn't work. I'm also not getting any errors in the event logs.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 2/24/2010 4:22:48 PM
   
RE:Can't rate documents
Hello,

You may see the current rating in Properties > General > Ratings but it is not possible to change it here (only reset).

You should use the web part. Please see here: http://devnet.kentico.com/docs/devguide/how_to_enable_content_rating_on_the_web_site.htm for more details.

I would recommend you to use these properties for testing:
Check permissions: unchecked
Anonymous users can rate: checked
Check if user rated: unchecked

Best regards,
Helena Grulichova

User avatar
Member
Member
hinesnetwork@mac.com - 2/24/2010 6:29:40 PM
   
RE:Can't rate documents
According to the dev. guide I should be able to set it from there:
You can Reset the ratings and even cheat-rate by simply clicking the stars on this page.

I did finally get the web part working. Apparently the path to the images changed in 5.0 to ../App_Themes/Default/Images/Design/Controls/ContentRating/… In case someone else has this problem.

However, I would like to be able to change the rating as the dev. guide indicates.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 3/1/2010 6:27:41 AM
   
RE:Can't rate documents
Hello,

Regrettably, we have a defect in our Dev Guide. We will fix it as soon as possible. It is really possible only to reset the value not cheat-rate.

Thank you for your note.

Best regards,
Helena Grulichova

User avatar
Member
Member
michael-liquidvision - 4/14/2010 7:03:11 PM
   
Rating Control Bug in Transformation
Hi,

Can someone help to resolve this problem. The ExternalValue doesn't seem to work dynamically in the transformation. Here's my code:
<cms:RatingControl ID="elemRating" runat="server" Enabled="false" RatingType="Stars" CheckIfUserRated="false" CheckPermissions="true" AllowForPublic="true" ExternalValue='<%# MyFunctions.TrimText(Convert.ToString(CMS.GlobalHelper.ValidationHelper.GetDouble(GetSearchValue("DocumentRatingValue"), 0)/((CMS.GlobalHelper.ValidationHelper.GetDouble(GetSearchValue("DocumentRatings"), 0) == 0?1:CMS.GlobalHelper.ValidationHelper.GetDouble(GetSearchValue("DocumentRatings"), 1))))) %>' />

...but if I hardcode it like:
<cms:RatingControl ID="elemRating" runat="server" Enabled="false" RatingType="Stars" CheckIfUserRated="false" CheckPermissions="true" AllowForPublic="true" ExternalValue='0.73458' />

...it works and the stars appear

Please help. Thanks,

Benito

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 4/16/2010 4:00:45 AM
   
RE:Rating Control Bug in Transformation
Hello,

Since you've created separated thread for this, please followed that one. I replied to your post here: http://devnet.kentico.com/Forums/f52/t14084/Massive-Bug-in-Rating-Control.aspx

Best regards
Ondrej Vasil

User avatar
Member
Member
cojo - 9/11/2011 11:25:34 PM
   
RE:Rating Control Bug in Transformation
Hi,

I would like to ask some question regarding the rating control which is added to a transformation, is it possible to rate a document if the rating control is inside a transformation? is it for display only?

Thanks!

User avatar
Member
Member
suleman127-gmail - 9/28/2011 2:41:02 PM
   
RE:Rating Control Bug in Transformation
I've actually two questions:

1- same as above; I'd like to let user rate blog on a main page that shows many blogs on a single page? I'm using transformation to show Rating control on my main page.

2- Let's say if users rate blogs on individual blogs page then how can I show blog ratings on Main blogs page?

thanks!

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 9/29/2011 8:09:07 AM
   
RE:Rating Control Bug in Transformation
Hi,

You can add a built-in functions to display the content rating in transformation which lists blog documents. Please see the sample code here: Display ratings in tranformation.

Best regards,
Ivana Tomanickova

User avatar
Member
Member
kyle-bitwizards - 1/16/2013 3:20:11 PM
   
RE:Rating Control Bug in Transformation
Did you ever find a way to do this?

User avatar
Kentico Consulting
Kentico Consulting
richards@kentico.com - 1/17/2013 2:07:49 AM
   
RE:Rating Control Bug in Transformation
Hello,

since this is quite old thread, may I ask you to more specify what exactly are you aiming to achieve and in what Kentico version?

Best regards,
Richard Sustek

User avatar
Member
Member
kyle-bitwizards - 1/17/2013 9:05:23 AM
   
RE:Rating Control Bug in Transformation
Sorry about posting in an old thread.

I am using Kentico 7 and attempting to extend the functionality of the rating control to allow users to rate something from a different page. I want to display some documents in a repeater on my home page and allow users to rate the content of them from the home page. I know as a default the rating control does not allow this but I have made modifications to it that will allow the transformations to specify a node id then the rating control will rate the document with that node id (this part works fine). I am however running into trouble displaying the actual rating of the document after the user rates it. It is currently displaying fine to public users who do not have access to rating a document.

User avatar
Kentico Consulting
Kentico Consulting
richards@kentico.com - 1/18/2013 1:36:53 AM
   
RE:Rating Control Bug in Transformation
When user rates the document it works fine and the document is rated properly, right? But what happens after he rates it? Displays it some error or it doesnt show anything? Im wondering what exactly happens to the page after submitting the rate.
Did you take a look at the link Ivana have posted? http://devnet.kentico.com/docs/devguide/index.html?displaying_ratings_in_transformations.htm

Best regards,
Richard Sustek

User avatar
Member
Member
kyle-bitwizards - 1/18/2013 8:10:07 AM
   
RE:Rating Control Bug in Transformation
I found what was happening with my extended control. For some reason the control is having its data reloaded many times in succession and its not all coming from the same location so I was losing the document that I was trying to view/rate and it kept displaying the current document's rating instead.