subscribe: Posts | Comments | Email | Twitter     external: Forum | Issue Tracker

GD Star Rating 1.1.9

37 comments
GD Star Rating 1.1.9

Finally, new version of the GD Star Rating. Previous version had a bug that made a lot of problems to all who used multi ratings feature. Now this problem should be fixed, and multi ratings should be working fine now. This is very important for the current development cycle, and because of it I was able to add few more new multi rating features that will be used very soon.

Multi ratings database tables now feature average rating columns and some other calculated data that will speed up multi rating operations. Also, T2 templates system is now almost ready, and 1.2.0 will finally have first rendering using new templates system. New default templates are added into database along with co-dependent templates system allowing you to use one template within another. I have also fixed few problems with database upgrade and cleanup, and some of the integration functions.

But, the most important now is the multi ratings bug. The bug was caused by invalid order of some database queries when review feature is used. Some of the records needed for rating were not created, and later when vote was to be saved, there was no previous records and update failed. On Tools panel you can find a bulk update tool that will recreate needed records and recalculate all the average ratings for each post and each multi rating set. Also, before updating the votes, plugin will first check if the records are there and avoid previous problems.

As you have noticed I still didn’t included any mean to display lists of ratings with multi rating results. The reason is T2 templates. It’s pointless to make something that will be replaced very soon. Next few versions will change all that and will allow you do to much more in customizing the plugin output and to integrate the way you want it.

GD Star Rating
loading...
GD Star Rating 1.1.97.51061


  1. Great work as usual Milan,

    Any predictions for the 1.2.0 release?

    GD Star Rating
    loading...
  2. Hi,

    I am so glad I came across your site, I was very close to purchasing one of the paid review plugins. It looks like your plugin is nicer than any of those, and you have put a lot of work into it, I will be sure to send over a donation.

    I am assuming that “I still didn’t included any mean to display lists of ratings with multi rating results.” means we are not able to add the average of reviews to the post just yet.

    Also can you explain what T2 templates are, I did a search but came up empty.

    If I am going to be making a review site should I hold off for version 1.2, or will an upgrade be straight forward?

    Thanks for your hard work.

    GD Star Rating
    loading...
  3. T2 system is very advanced template markup that will be used to render everything, all types of ratings and results. You can see how all that looks in plugins admin section.

    Upgrade is usually painless and automatic, so there should be no problems after new version is released.

    GD Star Rating
    loading...
    • Thanks,

      The newest version offers the mult review average. But like every project it seems like we never have enough.

      I would like to insert multi reviews into the comments. This way readers can write a review and also pair the multi stars to that. Then we can add the average of those reviews to the post.

      If I am correct, we are not yet able to ad multi reviews to the comment area… is this planned for 1.2?

      Keep up the good work! This plugin is head and shoulders above the others.

      GD Star Rating
      loading...
      • This feature has high priority, and since I decided to change some things regarding release times, if this is not added in 1.2.0 it will be in 1.2.1. 1.2.0 will be released ahead of schedule next week.

        GD Star Rating
        loading...
  4. Hello,

    Do you have any news concerning the WP super cache support ?

    Thanks.

    Fabien

    GD Star Rating
    loading...
  5. Sweeet….. I have been waiting for this to get fixed… Thanks!

    GD Star Rating
    loading...
  6. I was looking and couldn’t figure it out… But is there a way to auto insert a multi instead of the single line stars?

    GD Star Rating
    loading...
  7. Oh and thanks Milan for the update! And good to know 1.2 is coming so soon.

    GD Star Rating
    loading...
  8. Ben Irwin says:

    Errors when trying to post or preview a post.

    Warning: array_sum() [function.array-sum]: The argument should be an array in public_html/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php on line 115

    Warning: Division by zero in public_html/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php on line 118

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php:115) in public_html/wp-includes/pluggable.php on line 850

    GD Star Rating
    loading...
    • gadget-geeks says:

      Hi there Ben,

      I am getting the same problem, Hopefully here will be a fix for this

      Warning: Division by zero in /home/demoncl/public_html/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php on line 118

      Warning: Division by zero in /home/demoncl/public_html/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php on line 118

      Warning: Cannot modify header information – headers already sent by (output started at /home/demoncl/public_html/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php:118) in /home/demoncl/public_html/wp-includes/pluggable.php on line 850

      Doug

      GD Star Rating
      loading...
  9. Hi,

    I’ve got a bugg when I save a post I just wrote!!!

    Exactly the same as Doug!

    Warning: array_sum() [function.array-sum]: The argument should be an array in /home/extrudc/public_html/blog/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php on line 115

    Warning: Division by zero in /home/extrudc/public_html/blog/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php on line 118

    Warning: array_sum() [function.array-sum]: The argument should be an array in /home/extrudc/public_html/blog/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php on line 115

    Warning: Division by zero in /home/extrudc/public_html/blog/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php on line 118

    Warning: Cannot modify header information – headers already sent by (output started at /home/extrudc/public_html/blog/wp-content/plugins/gd-star-rating/code/gd-star-dbmulti.php:115) in /home/extrudc/public_html/blog/wp-includes/pluggable.php on line 850

    Please help!

    younes

    GD Star Rating
    loading...
  10. Bug is not critical, so just ignore it for now. 1.1.9.1 will be available today.

    GD Star Rating
    loading...
  11. gadget-geeks says:

    Hi there,

    Got another problem, but don’t know if the 1.1.91 update will remove this. I have added a new post to my blog and ignored the error message. But when I got to the post it just shows this

    UA:F [1.1.9_527]please wait…Rating: 0.0/10 (0 votes cast)

    Rather than the images for poeple to vote?

    GD Star Rating
    loading...
  12. supreb Milan,

    i look foreward to 1.2 with great anticipation now!!

    GD Star Rating
    loading...
  13. Hi there,

    I understand that the comments rating widget isnt working yet but

    is there any way creating my own with the templates and tags you have provided?

    For eg, if there are 100 comments for a particular post, i need

    to be able to make a little widget that displays the top 10 rated

    comments… something like this…

    $widget = array(
    ‘rows’ => ‘10′,
    ‘display’ => ‘all’,
    ‘title’ => ‘top_comments’,
    ’select’ => ‘post’,
    ‘order’ => ‘desc’,
    ‘min_votes’ => ‘1′,
    ‘tpl_header’ => ”,
    ‘tpl_item’ => ‘%RATING% : %TITLE% (%VOTES% %WORD_VOTES%)’,
    ‘tpl_footer’ => ”
    );

    wp_gdsr_render_widget($widget, true);

    now do i need something like…

    ’select’ => ‘comment’

    Any help would be appreciated, many thanks

    GD Star Rating
    loading...
  14. Is it possible to make / show a graph of “how a rating evolves in time”?

    GD Star Rating
    loading...
  15. Looks like multi-ratings are still not working in Firefox (though they’re fixed in Google Chrome). When will this be fixed?

    GD Star Rating
    loading...
    • They are working in every browser. I repeated milion times: there are firefox extensions that interfere with some of the javascript in the page, and it happens that this disables rating. Try running Firefox Safemode verision, and you will see that it works. This could be due to some greasemonkey script or something similar.

      GD Star Rating
      loading...
      • I’ve disabled all my add-ons (all 3 of them, none of which are related to Javascript) and restarted Firefox in safe mode; doesn’t make a difference.

        A shame it doesn’t work, it’s otherwise a good plugin.

        GD Star Rating
        loading...
        • Plugin is fully tested and it works in every browsers (I tested rating code in more than 30 different broswer/versions). All javascript code is developed and tested first in Firefox and than all the other browsers. The reason you have the problem must be something else.

          GD Star Rating
          loading...
  16. With this version is possible to show only a single line of stars with the average rating of the multiset for a post? How do i do that?

    GD Star Rating
    loading...
  17. will ’select’ => ‘comment’ be possible in the future Milan? as in the above post?

    GD Star Rating
    loading...