Jump to:

10843 Posts in 2514 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Rating System

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 2194 Views
  • rgo
    Avatar
    Community Member
    13 Posts

    Rating System Link to this post

    Module (Extension) to rate pages.

    http://silverstripe.org/ssranking-module/

  • rgo
    Avatar
    Community Member
    13 Posts

    Re: Rating System Link to this post

    Version v1.1.00 Released with Silverstripe 2.4 compatibility.

    Warning: Use v1.0.01 for Silverstripe 2.3.x.

  • lanks
    Avatar
    Community Member
    61 Posts

    Re: Rating System Link to this post

    Can't seem to get it to work. I am getting the following error. Any ideas why?

    Fatal error: Call to undefined method Director::get_current_page() in /var/www/testrating/ssranking/code/SSRatingExtension.php on line 131

  • rgo
    Avatar
    Community Member
    13 Posts

    Re: Rating System Link to this post

    To use with Silverstripe 2.3.x use the SSRating version 1.00.01 - http://www.silverstripe.org/assets/modules/stable/ssrating-v1.0.01.tar.gz

  • Ryan M.
    Avatar
    Community Member
    309 Posts

    Re: Rating System Link to this post

    Hello, I am trying to use the rating system on dataobjects instead of pages only. How would I modify your code for this?

  • rgo
    Avatar
    Community Member
    13 Posts

    Re: Rating System Link to this post

    I'm not sure what you want to do. The module is a Silverstripe extension and you can call the public methods to get the rating.

  • Ryan M.
    Avatar
    Community Member
    309 Posts

    Re: Rating System Link to this post

    Ok, let me put it this way. Your rating system attaches a rating to the Page it is called from. I have several DataObjects, called Video, BlogEntry and Photo. Your rating system does not attach itself to them, because they do not have their own pages. Instead, I use RESTful-style URLs to call and display them from a single Page Holder. When I attempt to attach your rating to them, it rates the parent page (the holder) instead of the individual data objects.

    Is that more clear now?

  • kindlemanwill
    Avatar
    Community Member
    63 Posts

    Re: Rating System Link to this post

    Hello

    I have downloaded and installed this module. Looks great - thanks!

    I have one issue and one suggestion / request.

    Issue - when the user rates the page, the rating saved message displays and fades away, average and votes info is updated, but the stars stay the same. I have to refresh the page to show the right number of stars. That dosn't seem right.

    Suggestion - it would be super awesome if the rating was attibuted to the user if logged in, so that the user couldn't rate things over and over, and they could see the rating they gave. Is this possible?

    Thanks again

    Will

    2194 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.