47

GD Star Rating 1.4.4

Thumbnail for GD Star Rating 1.4.4

I was working on a customization project recently, and few things were missing in the plugin for comment integration for better control. So, this release features few improvements for the integration. Also, T2 system is reorganized and updated.

If you use threaded comments introduced in WP 2.7, and comment integration, even with replies rating blocks will be displayed. And in many cases you don’t wanna do that. So, there is a new option on the settings page for this that can hide rating block(s)  when the comment is in reply mode. Since WordPress developers didn’t left too much to work with in the new comments system, this was very tricky to do, and I hope that this will work fine. If you find some problems, post a comment here.

Also, I have added 6 javascript functions to get the status of the rating blocks integrated into the comment, so you can check their status before submitting form. I couldn’t do anything directly to the forms, because they can be different from theme to theme, and you must write your own handling using these new functions.

Next two releases should have categories management completed.

GD Star Rating
loading...
GD Star Rating 1.4.46.91035

Share this:

RSS DiGG Google Buzz Google Technorati StumbleUpon Design Float Microsoft Live PDF Favorites

47 Responses to “GD Star Rating 1.4.4”

  1. Peter

    June 15, 2009
    at 6:10 AM

    Any support for category ratings? So a user can rate a category instead of posts inside a category.

    GD Star Rating
    loading...
  2. Tim

    June 15, 2009
    at 7:23 AM

    I think it would be AWESOME to be able to call GD ratings from inside a TD mini forms form. I have user submissions to rate things, via a TD form, and it would be awesome for them to use GD to rate what they are submitting about – unless this is already achievable?

    GD Star Rating
    loading...
    • MillaN

      June 15, 2009
      at 11:59 AM

      This can be done, and for quite some time now. I will post a tutorial on this later this week.

      GD Star Rating
      loading...
  3. AzzePis

    June 15, 2009
    at 11:11 AM

    yet another question about multi review rating and widget.
    is where any way to show in widget the total rating of posts I’ve rated in “edit-post” page (multi review rating)?

    GD Star Rating
    loading...
    • MillaN

      June 15, 2009
      at 12:00 PM

      Yes. You need to modify template to show review values instead of rating values. Also, tutorial on this is coming soon.

      GD Star Rating
      loading...
      • AzzePis

        June 15, 2009
        at 12:11 PM

        great news, thanks!

        GD Star Rating
        loading...
      • AzzePis

        June 18, 2009
        at 9:29 AM

        can you e-mail me a simple example of that template?

        GD Star Rating
        loading...
  4. Diablo

    June 15, 2009
    at 1:51 PM

    Doesn´t work here. 1.4.3 was fine, but the new Version seems to have some problems to display the Stars under my posts.

    GD Star Rating
    loading...
    • MillaN

      June 15, 2009
      at 3:18 PM

      This version didn’t changed anything that’s used for rendering. I use it on my website, and works fine. Since you reverted back to 1.4.3 I can’t check out why there was a problem.

      GD Star Rating
      loading...
  5. redfox

    June 15, 2009
    at 8:36 PM

    somehow after upgrading to wordpress 2.8 and activating gdstarrating (1.4.4) plugin there are some missing options in Settings-General-Timezone/Date format/time format/
    deactivating this plugin brings them back
    please halp!

    GD Star Rating
    loading...
    • MillaN

      June 15, 2009
      at 10:36 PM

      This WP 2.8 bug, not the plugins. WP 2.8 uses much more memory then previous and has some memory problems on some of the settings pages. You need to increase memory used by PHP to over 32MB. I have written a post about WP 2.8 upgrade: http://www.dev4press.com/2009/06/11/upgrading-to-wordpress-28/

      You can use my plugin GD Press Tools to change PHP memory. Install plugin and enable more memory on plugin Settings page.

      GD Star Rating
      loading...
  6. PuppeTMasteR

    June 16, 2009
    at 2:43 AM

    Hi,

    On my website, the plugin was working fine until today when I upgraded to this vers. 1.4.4. When users try to vote now, it got frozen at the waiting animation, and no voting is recorded. Maybe there’s some conflict between this vers. and wp since i’m still using 2.7.

    any help would be great. thx in advance and thx alot for ur great plugin again.

    GD Star Rating
    loading...
    • MillaN

      June 16, 2009
      at 10:05 AM

      Try enabling the cross domain ajax support from the setting panel.

      GD Star Rating
      loading...
  7. Bob

    June 16, 2009
    at 2:58 AM

    For the poster above, try changing this line:

    “$this->plugin_ajax = get_option(’siteurl’).’/wp-content/plugins/gd-star-rating/ajax.php”

    to

    $this->plugin_ajax = WP_PLUGIN_URL.’/gd-star-rating/ajax.php’;

    GD Star Rating
    loading...
  8. Scorpio84

    June 16, 2009
    at 8:24 AM

    Hi Milan

    It Looks Starscape theme breaks with WP 2.8 (atleast the settings part – it still looks fine on the website). In GDSTarRating Tab
    1.
    Fatal error: Call to undefined method GDSRHelper::render_templates_section() in /home/khojiyec/public_html/reviews/wp-content/themes/starscape/code/options/gdsr.php on line 48
    2.
    No Save changes button visible on this tab
    3.
    Changelog and Setup aren’t visble at all

    GD Star Rating
    loading...
    • MillaN

      June 16, 2009
      at 10:04 AM

      Starscape is not updated, sorry. I forgot to release new version. It will be out in a day or two.

      GD Star Rating
      loading...
  9. charlee

    June 16, 2009
    at 12:03 PM

    Hello. Great Job. But i have problem with graphic stars. When i update i lost stars and i cant vote. In Board is the same i dont have a list when i change graphic stars

    GD Star Rating
    loading...
  10. Nepo

    June 16, 2009
    at 1:40 PM

    Hi, i have installed your plugin on my wp 2.7.1 site but i always get the message:

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

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

    Even from a fresh install – can you please give me a hint where to look for to solve the problem?

    Thanks a lot!

    GD Star Rating
    loading...
    • MillaN

      June 16, 2009
      at 4:08 PM

      Samo comment was on WordPress Extend, but I am not sure what the problem is. I use the plugin on all my blogs on both 2.7.1 and 2.8, and on one even older 2.5 and this I can’t reproduce. I will check it but I am not sure what can cause this. The only thing that can be the problem is the invalid set template.

      GD Star Rating
      loading...
    • Clay

      June 17, 2009
      at 3:48 PM

      I am having this same issue. Any help would be great!

      GD Star Rating
      loading...
  11. Carl

    June 16, 2009
    at 11:26 PM

    I don’t know if its the new version, but if I change the default template under settings->multi it always goes back to the default template. It the changed ones appear in the pulldown, I select one and hit “Save settings”, but the default is still set.

    GD Star Rating
    loading...
    • MillaN

      June 16, 2009
      at 11:45 PM

      This is actualy a bug caused by the changes in 1.4.4. It will be fixed very soon.

      GD Star Rating
      loading...
  12. Carl

    June 16, 2009
    at 11:59 PM

    Also, I am not getting a review choice in the Edit Post Page.

    GD Star Rating
    loading...
  13. Carl

    June 17, 2009
    at 12:01 AM

    Sorry for so many, but should Review in Pages and Posts have a default template? I don’t see any way to set a template for review

    GD Star Rating
    loading...
    • MillaN

      June 17, 2009
      at 12:17 AM

      There is a settings on the settings panel for reviews where you can select template.

      GD Star Rating
      loading...
  14. Carl

    June 17, 2009
    at 12:46 AM

    Settings has multiple pages and 100s of options. Under “Posts and Pages” there is a Review section. I can set the starts, the rating header and the CSS class, but no template.

    Also I cannot get a multi review rating block (or any other review block) to allow me to set a review rating on the Edit Post page (or Add New post page). There was a box before that allowed me to set the review, but now its gone.

    GD Star Rating
    loading...
    • MillaN

      June 17, 2009
      at 1:09 AM

      There is no need for it becasue there is no way for automatic insertion of the review. If you use shortcode or function template id is requried parameter.

      GD Star Rating
      loading...
  15. EmiAstur

    June 17, 2009
    at 12:48 AM

    I have installed the latest version of the plugin and the plugin gives me the following errors when I activate the plugin.

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
    SELECT * FROM wp_gdsr_templates WHERE `template_id` =

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
    SELECT * FROM wp_gdsr_templates WHERE `template_id` =

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

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

    I have wordpress 2.8, SQL 5.1.30.
    It may be mine or the plugin.
    Thanks and great plugin!!

    GD Star Rating
    loading...
    • MillaN

      June 17, 2009
      at 1:04 AM

      Somewhere the template is missing. But, some people also reported similar error, so I will investigate.

      GD Star Rating
      loading...
  16. dennis

    June 17, 2009
    at 1:55 AM

    I think I found a bug. If you only allow multireviews in the edit page (and no post review), the multi rating can’t be saved. It will take the setting, but then be gone after update. If you enable the post review in sidebar, it then will accept the multi.

    GD Star Rating
    loading...
  17. dennis

    June 17, 2009
    at 3:32 AM

    [starreviewmulti id=1 tpl=35]

    What function do I need to call to render the same as this shortcode? I have tried:

    wp_gdsr_show_multi_review(1,35);

    but it doesn’t use the correct template. The shortcode used the template #35. I need to put this in a page template before the post and some custom fields and I can’t get the right one to show.

    GD Star Rating
    loading...
  18. Julia

    June 17, 2009
    at 10:10 AM

    I’ve installed it and it gives me this error, any idea how to fix it? I’m on php5 and wordpress 2.7

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

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

    GD Star Rating
    loading...
  19. EmiAstur

    June 17, 2009
    at 11:44 AM

    My template is Mandigo theme :-)

    GD Star Rating
    loading...
  20. MillaN

    June 17, 2009
    at 1:12 PM

    Problem is now solved. It was affecting only fresh installations. Sorry about that. New 1.4.5 version will be released later tonight.

    GD Star Rating
    loading...
  21. Carl

    June 17, 2009
    at 2:28 PM

    which problem is now solved?

    GD Star Rating
    loading...
  22. dennis

    June 17, 2009
    at 4:50 PM

    [starreviewmulti id=1 tpl=35]

    What function do I need to call to render the same as this shortcode? I have tried:

    wp_gdsr_show_multi_review(1,35);

    but it doesn’t use the correct template. The shortcode used the template #35. I need to put this in a page template before the post and some custom fields and I can’t get the right one to show.

    Can you PLEASE answer this. Its driving me nuts. Whats the correct php call needed to duplicate the output of the shortcode above?

    GD Star Rating
    loading...
  23. Nosedecine

    June 17, 2009
    at 5:46 PM

    Hi, I use GD Star Rating and I must give you thanks for this incredible plugin and thanks for your good work.
    Recently I found an error when you change “Vote Rules” at Articles list. This is the message:
    WordPress database error: [Duplicate entry '340' for key 1]
    INSERT INTO wp_gdsr_data_article (post_id, rules_articles, rules_comments, moderate_articles,(…)

    But it changes correctly the rule.

    GD Star Rating
    loading...
    • MillaN

      June 17, 2009
      at 11:41 PM

      This is currently under revising and few changes can be expected next week.

      GD Star Rating
      loading...
  24. Fozzy

    June 17, 2009
    at 11:46 PM

    I’m using v1.4.2, and I noticed that the 200K gdsr.css.php stylesheet is getting loaded on every page view, according to Firebug. Has this been fixed in v1.4.4? It’s 60% of my average total page size with a primed cache.

    GD Star Rating
    loading...
    • MillaN

      June 18, 2009
      at 12:15 AM

      Nothing to fix, not a bug. I have explained this already. Read the settings tutorials on details how to make this stylesheet smaller. Also, it’s loaded once, and should remain in browser cache.

      GD Star Rating
      loading...
  25. Fozzy

    June 18, 2009
    at 4:12 AM

    Thanks for the tip on the stylesheet’s size.

    However, I can’t confirm stylesheet caching using Firefox 3.0.10. For example, looking at the 77KB gdsr.css.php file for your site here:

    http://www.gdstarrating.com/wp-content/plugins/gd-star-rating/css/gdsr.css.php?s=a10i10m20k20c05r05%231216202430%231poxygen%231goxygen_gif%231pstarrating%231pstarscape

    Firebug’s Net panel shows this file returning a 200 OK response and reloading it from the network on every page reload, instead of returning a 304 Not Modified that directs the browser to load from the cache.

    In case you don’t trust Firebug… I can load up something like a static image from your site, hit Ctrl+R all day (304 Not Modified), and not see any spike in my PC’s network traffic. But if I load up that stylesheet and reload it, I see a consistent 77KB traffic spike each time.

    I’m guessing that PHP files are expected to be dynamic, so they’re served up fresh every time and the browser is instructed not to cache them. This has the unfortunate side effect of leaving your plugin’s dynamic stylesheet uncached.

    GD Star Rating
    loading...
    • MillaN

      June 18, 2009
      at 8:17 AM

      I will check why the file is returning 200 every time. Maybe the code I wrotte to set cache is making some problem.

      GD Star Rating
      loading...
    • MillaN

      June 18, 2009
      at 1:12 PM

      You were absolutely right. Apache handles dynamic files differently, and some browsers don’t cache this files. I have added new caching mechanism that uses last modify time and etag, and I also track if the changes to CSS are made at all. Now the caching works. Modified files will be on the SVN in the next few hours, and inlcuded in the 1.4.6 next week.

      GD Star Rating
      loading...
  26. Fozzy

    June 18, 2009
    at 4:36 PM

    Thank you so much!! =)

    GD Star Rating
    loading...
  27. john

    July 13, 2009
    at 12:27 PM

    I really like this plug-in, and have been using it for awhile. However, I don’t like the new thumbs up/down. Is it possible to hide them?

    Thanks!

    GD Star Rating
    loading...
    • MillaN

      July 13, 2009
      at 12:32 PM

      Settings, thumbs up/down tab, uncheck auto insert options for posts and comments.

      GD Star Rating
      loading...
  28. john

    July 13, 2009
    at 2:01 PM

    WOW; Thanks for the quick reply.

    GD Star Rating
    loading...

Comments are closed.

Social Networks

Subscribe via Feedburner Flickr Images

Feedburner updatesFeedburner

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