Subscribe via Feedburner Flickr Images Youtube Profile LinkedIn Profile
GD Affiliate Center

GD Star Rating 1.5.5

Thumbnail for GD Star Rating 1.5.5

Another minor release with many improvements. This version gets us a step closer to completing all thumb features I have planned. It includes several more fixes and changes to caching, filters, dashboard widget and few other things.

This release fixes bugs with theme functions used for rendering widget like content, thumbs for comments rendering function is also fixed and few problems with generating CSS when no sets are selected. All info files are updated, and few more functions added. I added new file with list of filters and actions you can use with this plugin. Thumbs ratings now have support for waiting animations for saving votes. It’s simpler than with normal rating because only animation can be selected, no text. Because of this, 3 more new loader animations are added. Cache is expanded now to include multi rating sets definitions. And I have added another thumbs set called classical.

Dashboard widget with latest votes is also improved and bit rearranged to include more info and links to comments and posts. As for the auto inserting comments, now you can override default behavior that required the comments to be on a single post or page. Now you can auto insert ratings in the comments on the front page, so that the plugin will work fine with some new themes like P2. New option for this is enabled by default, so if you don’t want it, un-check it, it’s in the auto insert group of options for comments and thumbs comments ratings. Main CSS file is now up to 4 times smaller than before because of many optimizations to the styles I made in the last few days.

Next version will add support for thumbs in the widgets. All bug reports or suggestion are as always welcome.

GD Star Rating
loading...

Share this:

del.icio.us DiGG Google StumbleUpon Google Buzz Microsoft Live MiXX RSS PDF
GD Star Rating 1.5.5, 7.1 out of 10 based on 23 ratings

43 Responses to “GD Star Rating 1.5.5”

  1. Booster | July 20, 2009 at 3:52 AM

    if i add in the comment loop, i always get the error:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /wp-content/plugins/gd-star-rating/code/t2/render.php on line 644

    GD Star Rating
    loading...
    • MillaN | July 20, 2009 at 10:55 AM

      Hmm, I was working on this function and I think I fixed all the problems. Anyway, I will check it again.

      GD Star Rating
      loading...
      • Booster | July 20, 2009 at 1:42 PM

        i reinstalled the plugin. Now it works. :)

        GD Star Rating
        loading...
  2. Booster | July 20, 2009 at 3:59 AM

    edit:
    if i add wp_gdsr_render_comment_thumbs()

    GD Star Rating
    loading...
  3. kunal jain | July 20, 2009 at 6:14 AM

    Thanks for the quick release Millan. Ill try this out today and report back.

    GD Star Rating
    loading...
  4. Piasek | July 20, 2009 at 9:09 AM

    I went through tuts and how-tos looking for a way to display rating results on partners sites (also those non wordpress), I havent found anything in particular, so there is my question, is there a way to display rating results, such as “wp_gdsr_render_star_rating_widget()” returns, on other sites also non wordpress? Thnx !

    GD Star Rating
    loading...
    • MillaN | July 20, 2009 at 10:56 AM

      Right now there is no API for external access to rating data.

      GD Star Rating
      loading...
  5. AG | July 20, 2009 at 9:50 AM

    As the automatic insertion of thumb voting in comment still doesn’t work for me, can you tell me what function I need to call to insert them in my template?

    GD Star Rating
    loading...
    • MillaN | July 20, 2009 at 10:57 AM

      Auto insertion works fine now, I use it on Dev4Press website. It was fixed in 1.5.4. As for the function, all functions are in the info files.

      GD Star Rating
      loading...
  6. kunal jain | July 20, 2009 at 10:55 AM

    The new version shows up well on P2.

    However, I have another problem:
    I am running GD star rating to rate comments on a particular p2 themed blog on a WPMU+Buddypress install. Comments are restricted only to members of the WPMU+Buddypress community. I want to restrict voting of comments also to only members.

    If I set Vote rule to users only, it doesn’t allow this to happen (members cant vote).

    Not sure if this is a bug, actually I am not sure what defines a user in the plugin. Is there a way to achieve what I am trying to do?

    Thanks for your support!

    GD Star Rating
    loading...
    • MillaN | July 20, 2009 at 11:00 AM

      Restriction to user as the plugin defines it, is restriction to a registered user that is logged in. User or member, that’s the same thing. Because you have already comments in the system with the voting rule set to all users and visitors, you need to change rules to all these comments, and to set new global rules. To change rules for all posts, use Bulk tool on the Tools panel.

      GD Star Rating
      loading...
  7. kunal jain | July 20, 2009 at 11:45 AM

    I figured out the issue. I had already voted on the comment through my admin user and was trying to vote again from a test account using the same computer bur had IP & cookie logging enabled which was preventing me from voting.

    However, now that I have unchecked those options, it lets me vote again from the same account if I reload the page. Am I missing some other option that will allow a user to vote only once?

    Thanks.

    GD Star Rating
    loading...
    • MillaN | July 20, 2009 at 11:59 AM

      Well, that’s the point. These options are there to ensure only one vote per user. If you uncheck them then any one can vote more than once. What other option do you need for this, I think it’s very straightforward: enable these options – users vote once, disable them – they can vote more then once.

      GD Star Rating
      loading...
  8. kunal jain | July 20, 2009 at 12:09 PM

    Another issue that I am facing is:
    It let me vote multiple times on the same comment from the same user. Then I deleted the comment votes from the articles screen so that the dashboard now shows:
    ‘Registered users rated 0 articles with average rating of 0.0 and 0 comments with average rating of 0.0. Visitors rated 0 articles with average rating of 0.0 and 0 comments with average rating of 0.0. There are 0 article and 0 comments ratings waiting in moderation queue. ‘

    However, when I go back to the particular comment, it still shows me 4 votes on the comment.

    GD Star Rating
    loading...
  9. kunal jain | July 20, 2009 at 12:13 PM

    Millan, you are right that makes sense. I just assumed there might be a separate option that allows or disallows multiple votes from the same user. What I want to do is to let users vote only once, but to let multiple users vote from the same computer. I think I can achieve this by checking all 4 checkboxes in the restrict section. Ill test it out. Thanks for your help.

    I am still facing the issue of the votes showing up even after being deleted (above comment). I tried refreshing and restarting the browser. Any thoughts on that?

    GD Star Rating
    loading...
  10. Booster | July 20, 2009 at 1:47 PM

    The thumb-image changes the color only in firefox on mouse-hover, but not in IE7. i use the thumb function in the comment loop.

    Where should i look to fix the error?

    GD Star Rating
    loading...
    • MillaN | July 20, 2009 at 1:53 PM

      It has nothing to do with function or plugin directly. Problem is with the theme you use and IE7. With themes I have tested works fine in all browsers, but I can’t test each theme and some of them use very strange and complex style rules.

      GD Star Rating
      loading...
      • Booster | July 20, 2009 at 9:52 PM

        Do you know a site for example which uses thumbs in comments?
        So i can look whats wrong on my site!

        GD Star Rating
        loading...
        • MillaN | July 20, 2009 at 10:46 PM

          http://www.dev4press.com

          GD Star Rating
          loading...
          • Booster | July 21, 2009 at 12:05 AM

            hover in IE7 only works when i add a href=”":

            change to

            But on your site (www.dev4press.com) it works without that. I dont understand.

            GD Star Rating
            loading...
          • Booster | July 21, 2009 at 12:10 AM

            is there something possiple like

            if (jQuery.browser.msie) jQuery(".gdthumb > a").attr("href", "javascript:gdsrEmpty()");

            GD Star Rating
            loading...
            • MillaN | July 21, 2009 at 12:36 AM

              I will check this, maybe I missed something here.

              GD Star Rating
              loading...
          • Booster | July 30, 2009 at 4:17 PM

            in 1.5.7 it works fine

            thx

            GD Star Rating
            loading...
  11. Bulent Hanilgi | July 20, 2009 at 1:59 PM

    Hi, latest version conflicting with some other plugins. I have downloaded 1.5.3 and seems working ok. I have about 28 active plugins, so its time consuming which one it is.

    GD Star Rating
    loading...
  12. dennis | July 20, 2009 at 2:46 PM

    On my dashboard, I get a broken graphic for the star rating chart. Opening the graphic in a new window gives me:

    Warning: Invalid argument supplied for foreach() in /usr/local/www/wp-content/plugins/gd-star-rating/charts/pchart/pChart.class on line 3289

    Warning: max() [function.max]: Array must contain at least one element in /usr/local/www/wp-content/plugins/gd-star-rating/charts/pchart/pChart.class on line 3300

    Warning: Invalid argument supplied for foreach() in /usr/local/www/wp-content/plugins/gd-star-rating/charts/pchart/pChart.class on line 2601
    [FATAL] Pie chart can only accept one serie of data.

    I just upgrade to the latest, but I believe I had this problem with 1.5.4 as well.

    GD Star Rating
    loading...
    • MillaN | July 20, 2009 at 3:01 PM

      That’s because of nonce protection to prevent unauthorized access to charts.

      GD Star Rating
      loading...
      • dennis | July 20, 2009 at 3:51 PM

        Great. Some clue as to how to make it work would be appreciated.

        GD Star Rating
        loading...
        • MillaN | July 20, 2009 at 4:02 PM

          Disable nonce protection in the plugin settings.

          GD Star Rating
          loading...
  13. Bulent Hanilgi | July 20, 2009 at 2:53 PM

    Tried 1.5.5, 1.5.3, and 1.5.2. Gives error on the site:
    Internal Server Error, this is an error with your script, check your error log for more information. (checked it and there is nothing)
    Is it something to do with my host, theme, or other plugins? Any help please…

    GD Star Rating
    loading...
    • MillaN | July 20, 2009 at 3:06 PM

      As I said before I can’t guarantee that plugin can work in every environment. Too many factors can attribute to plugin not working and I tried to point to some of them in some old posts here, but still there can be many things causing this. In 99.5% of the cases plugin will work just fine, and I think that this goes for every plugin, especially with complex plugins.

      GD Star Rating
      loading...
  14. kunal jain | July 20, 2009 at 4:59 PM

    Hey, I tried deactivating and reactivating the plugin but the deleted votes still show up. Please advise. Thanks.

    GD Star Rating
    loading...
    • MillaN | July 20, 2009 at 5:32 PM

      There is a bug there. Thumb votes are not deleted properly right now. I will try to fix it for the next release.

      GD Star Rating
      loading...
  15. kunal jain | July 20, 2009 at 5:45 PM

    I see. Is there a way I can delete the votes manually through the database?

    GD Star Rating
    loading...
    • MillaN | July 20, 2009 at 5:50 PM

      It’s not that easy to do that. They are in the several tables right now and it’s not only removing of records involved. If you don’t have any important votes saved, you can reinstall database tables plugin uses (Setup panel). If you have your own custom templates you need export them (Export) before you delete tables.

      GD Star Rating
      loading...
      • kunal jain | July 21, 2009 at 6:40 AM

        I’m kind of a newbie at databases. I have only freshly installed GD Star Ratings so I do not have any important votes and do not mind reinstalling the table. However, this will not effect any of my wordpress or other plugin tables will it? Thanks. Btw, do you expect to have a release soon that will fix the deletion of thumb votes?

        GD Star Rating
        loading...
        • MillaN | July 21, 2009 at 12:18 PM

          1.5.6 will have this fixed. As for deleting tables, now WordPress tables will be affected. But as always, I recommend backup of the database before you do this.

          GD Star Rating
          loading...
          • kunal jain | July 21, 2009 at 12:22 PM

            Thanks for your response. Hmm, deleting tables makes me nervous. Do you have an ETA for 1.5.6 and will it automatically fix the bad data when I upgrade to it?

            GD Star Rating
            loading...
  16. CrazyTaxi | July 20, 2009 at 7:46 PM

    Congrats on another prompt and successful release, Milan. Upgraded from previous and everything looks good here. I finally have a customized ratings result widget that plugs right into my tabbed navigation panel!! awesome.

    GD Star Rating
    loading...
  17. Scorpio84 | July 20, 2009 at 8:38 PM

    A small question – I think deleting a comment still not deleting the review rating given by that commentator

    GD Star Rating
    loading...
    • Scorpio84 | July 20, 2009 at 8:42 PM

      by review rating i mean – review given by the user (not rating of the post)

      GD Star Rating
      loading...
  18. dennis | July 21, 2009 at 1:38 AM

    I can’t seem to delete a multi-review. I go into the multi set results pages, check the article I want deleted, select Articles->Delete->All in the pulldown, and then hit update. But the review rating remains. I’d like to delete the entire record, since I used the wrong set. But no matter what I do I can’t get rid of it. I’ll have to delete it manually from the DB.

    GD Star Rating
    loading...
    • MillaN | July 21, 2009 at 2:07 AM

      Articles page doesn’t control multi ratings at the moment. You have multis panel for this, but some things there still don’t work.

      GD Star Rating
      loading...
  19. AzzePis | July 22, 2009 at 4:56 PM

    I use your plugin with a Russian|Ukrainian language content and have some problem. For example, You are using function “substr” in wp-content/plugins/gd-star-rating/code/t2/render.php for post titles length cut. because of that we have � symbol instead of some characters. To solve a problem i replace function “substr” with “mb_substr”. And it seems to be ok :) .
    It’s for information only. Thanks

    GD Star Rating
    loading...

Comments are closed.

www.dev4Press.com

Dev4Press is a premium service dedicated to developing of high quality plugins and themes for WordPress, custom development and consulting. Follow this link to find out more...

Feedburner Feedburner updates

Sign up to receive all latest news about GD Star Rating directly to your email.
xScape Premium Themes