Google Plus Profile Subscribe to RSS feed LinkedIn Profile Follow me on Pinterest Watch our Youtube Videos Find us on Flickr Stumbleupon Profile
GD Simple Widgets

GD Star Rating 1.7.2

Thumbnail for GD Star Rating 1.7.2

Unfortunately, 1.7.1 was released with several bugs, and two of them were major caused by some changes I added just before releasing the plugin. So, I spend most of the day testing and fixing bugs, and here is the new version with many fixes.

First, I would like to say thank you to all of you who reported the problems and were patient with me to help me find some of the more obscure problems. 1.7.2 now contains almost a dozen fixes. Also, plugin is now 100% free of all php notices and warnings. Now, even with WP_DEBUG mode active, plugin will not generate any of those, as long as you don’t use PHP 5.3, because WordPress is not fully compatible with this latest PHP.

Most of the problems were caused by latest test feature for supporting Google Rich Snippets. I have changed many things in that code, and all problems cause by it will no go away. There were few other minor rendering bugs and few problems with widgets, and some problems in saving review values. There were two reported bugs I couldn’t reproduce, but hopefully they were caused by something else, and this new release will take care of that.

Once again, I am sorry that 1.7.1 was released with so many bugs, but I wanted to release it earlier to help people who had some review issues, and I worked on many changes in the plugins core, so some of the errors slipped by. But, you can be sure that if something like this ever happens again, I will always work to fix problems as soon as possible. Please, test it again, and report if some of the problems are still there.

GD Star Rating
loading...

Share this:

del.icio.us DiGG Google StumbleUpon Google Buzz Microsoft Live MiXX RSS PDF
GD Star Rating 1.7.2, 7.7 out of 10 based on 45 ratings

51 Responses to “GD Star Rating 1.7.2”

  1. Don | October 19, 2009 at 11:23 PM

    Works like a charm! Thanks…

    GD Star Rating
    loading...
  2. NT | October 20, 2009 at 1:31 AM

    My site hasn’t been released yet so I’m not 100% certain – however, I think things worked with GD Star Rating 1.7.1, but since the 1.7.2 release, I can’t cast new votes on my posts?

    I see the stars and the text saying, “Rating: 0.0/10 (0 votes cast)”, but I can’t click on the stars – any ideas?

    GD Star Rating
    loading...
    • MillaN | October 20, 2009 at 1:34 AM

      Read the FAQ. If stars are active, but click is not saved than problem is with javascript/jquery. And in most cases some other plugin is causing problems.

      GD Star Rating
      loading...
      • NT | October 20, 2009 at 3:18 PM

        I think it was a caching issue. All OK now.

        GD Star Rating
        loading...
  3. Francois | October 20, 2009 at 2:31 AM

    Thanks Millian ! This fixed the bug from the other version !

    GD Star Rating
    loading...
  4. Grace Solivan | October 20, 2009 at 4:15 AM

    Hi Millian – thank you for working so hard on all of this.

    Unfortunately i can’t seem to get back to the way it was before the updates.
    Settings panel doesn’t seem to keep any of my choices when i check them. SO every time i try to troubleshoot its all back to default.

    Unchecking the post/page rating.. to allow for just the multi box in a post (auto inserted) is being ignored.. so all three area – thumbs page stars and multi all show up together even if i just insert shortcode manually.

    I’m guessing the multi block is not allowing me to vote because it recognizes ip? but it still says 0 votes cast.
    i was able to vote the page and thumb but not the multi.

    Have been through FAQ and don’t want to waste yoru time – but it’s just not working out.

    :/

    GD Star Rating
    loading...
    • MillaN | October 20, 2009 at 11:48 AM

      Sorry, but I can’t reproduce that problem. I have sent you DM on twitter, so if you can provide me with PHP/WordPress versions maybe the problem is in the setup. From time to time, strange things like this do happen, and for most users will such problem, solution is to reinstall plugin using plugins own uninstall first (Setup panel), to remove all traces of plugin in the system, and activating it again.

      GD Star Rating
      loading...
  5. donnacha | WordSkill | October 20, 2009 at 7:48 AM

    Thanks Millan!

    GD Star Rating
    loading...
  6. seo | October 20, 2009 at 1:06 PM

    I find bug in file config.php, first line:
    $gdsr_config_extra = dirname(dirname(__FILE__)).”/gdsr-config.php”;
    must be
    $gdsr_config_extra = dirname(dirname(__FILE__)).”/gd-star-rating/gdsr-config.php”;
    to load extra config file: gdsr-config.php

    GD Star Rating
    loading...
    • MillaN | October 20, 2009 at 1:33 PM

      It’s not a bug. gdsr-config.php should go out side into the main plugins folder, so that this file doesn’t get deleted after upgrade, and settings in it will be safe. Read the tutorial on the subject.

      GD Star Rating
      loading...
  7. Jean | October 20, 2009 at 3:24 PM

    Thanks Millan!

    A tip for the future of mine:

    Divide the average rating for product rating?

    GD Star Rating
    loading...
    • MillaN | October 20, 2009 at 3:34 PM

      I don’t get, what product rating?

      GD Star Rating
      loading...
  8. Riversatile | October 20, 2009 at 6:40 PM

    Hi,

    Even I’ve tried to : Installed GDSR 1.7.2 / reseted settings / then uninstalled + re-installed / Re-uninstall and Removed all entries in my Database concerning GDSR, I ALWAYS HAVE THE SAME ISSUE !

    I can’t change nay settings, when I try to save my new settings, GDSR configurations still come back to the default settings !
    I don’t understand why it’s happening.
    Please, could you help me to understand that ?

    GD Star Rating
    loading...
    • MillaN | October 20, 2009 at 7:02 PM

      I have analyzed a blog with similar problem like the one you have and the conclusion was that some of the server settings and outdated mySQL were causing problem. Plugin is working fine, and I can’t find anything wrong with this part, and tens of thousands of blogs are using it without the problem. Can you give your server specs.

      GD Star Rating
      loading...
      • Riversatile | October 20, 2009 at 7:22 PM

        SQL Server Specs :

        # Operating System : Linux
        # Server : Apache
        # Memory usage : 21.78 MByte
        # MYSQL Version : 5.0.51
        # SQL Mode : Not set
        # PHP Version : 4.4.8
        # PHP Safe Mode : Off
        # PHP Allow URL fopen : On
        # PHP Memory Limit : 32M
        # PHP Max Upload Size : 16M
        # PHP Max Post Size : 8M
        # PHP Max Script Execute Time : 30s
        # PHP Exif support : Oui ( V1.4 )
        # PHP IPTC support : Oui
        # PHP XML support : Oui

        GD Star Rating
        loading...
        • MillaN | October 20, 2009 at 7:57 PM

          You use PHP4. I have tested with 4.4.9, and on my server everything works OK with default PHP.INI settings. But PHP4 has some very strange settings that can cause problems with POST requests and my best guess is that this is the problem. Unfortunately I can’t help you finding this problem, because testing with PHP4 will take too much time considering number of things that can be wrong. I test PHP4 only with default settings. I will be performing some new PHP4 tests later this week, and if I have time, I will see if there is something to be done about this. But my suggestion is to update to PHP5.

          GD Star Rating
          loading...
          • Riversatile | October 22, 2009 at 10:01 PM

            I can confirm now…
            FYI, I’ve re-installed GDSR 1.7.0 and it works fine instead of 1.7.2 !
            Unfortunately, I’m not able to upgrade my PHP Server because it’s not mine :-(

            But in the GDSR ChangeLog, you should specify that with PHP Server lower than version 4.4.9, GDSR 1.7.2 doesn’t work properly but that those users have to use GDSR version 1.7.0 or upgrade their PHP server to version 5.0

            GD Star Rating
            loading...
            • MillaN | October 22, 2009 at 10:22 PM

              Well, plugin works even with 4.4.3, I know about few blogs that use it and it works. Your problem is with some php settings.

              GD Star Rating
              loading...
          • Riversatile | October 29, 2009 at 1:04 AM

            I’ve upgraded PHP4 to PHP 5.2.6 !
            I’m able to test GDSR 1.7.3 right now ;)

            GD Star Rating
            loading...
  9. MarkS | October 20, 2009 at 9:31 PM

    Millan,

    Have you or any other users had complaints about GD Star causing site to load very slowly? I have noticed that running this plug-in tends to reduce my load time substantially at points when traffic jumps.

    Any insight or help from other users would be great. I love this plug-in, but I can’t afford to have it running in its current form….

    GD Star Rating
    loading...
    • MillaN | October 21, 2009 at 12:14 AM

      It depends on the page. I have published several articles few months ago with benchmark results. These latest versions and optimized further to use less memory. For a typical post plugin executes maximum of 10-12 queries for both post and all (no matter how many are there) comments. It uses caching methods to reduce number of queries. But, if you use plugin without taking care of some basic optimizations, if your theme has multiple loops that are not coded properly this can cause slowdowns.

      If you use auto insertion features, plugin will be activated for each call of the_content function, and bad loops will cause that to slow down. In that case it’s best to disable auto insertion and add rating calls using functions where you need them. I was recently integrating plugin on the website that has 30.000 page views a day and there is no significant slowdowns (10% at most from 2 days measuring) using multi ratings and thumbs ratings for comments. Also, I have working on few projects and websites that have 10.000 – 15.000 page views a day, also no slowdowns.

      But, I also did optimizations to a website that had theme that was badly coded and had 7 loops on front page, each with the_content calls, and plugin was not set properly. After theme is optimized and plugin set as it should, loading time (8000 pageviews a day) was cut down from 1.8 seconds (PHP generation of page) to 0.6 seconds.

      GD Star Rating
      loading...
  10. Gabriel | October 21, 2009 at 12:13 AM

    Hi Milan,

    Great work with this plugin. I installed it on one of my sites and I noticed that the GD Star Rating widget had some space in between the stars the post name which didn’t look very good. Therefore I switched the Template to “Expanded Default Widget Star Rating” and this gives me errors in IE8 and Chrome but the layout is OK in Firefox 3.5 … Any idea what’s causing this? Take a look at my site, I’ll leave it like that so you can see …

    Thank you.

    GD Star Rating
    loading...
    • MillaN | October 21, 2009 at 12:22 AM

      Templates can’t be optimized for browsers until they are added into a theme. I can’t fix this on the case to case basis, and you (or your designer) need to adjust it (or create new) for your theme. There is no universal way for me to create templates that will work with every theme.

      GD Star Rating
      loading...
      • Gabriel | October 21, 2009 at 3:44 PM

        Obviously not, you can’t do this on a case to case basis. I managed to fix it in the T2 Templates but for your info only Milan, i tried about 15 different themes and layouts before getting into the modifying the code. If other have the same issues, i just removed the %IMAGE% anchor and replaced it with the %TITLE%

        GD Star Rating
        loading...
  11. MarkS | October 21, 2009 at 12:37 AM

    Thanks for the detailed answer Milan. I get about 15-20k views per day and my theme’s code is pretty sloppy and complex so that’s probably the issue. What would you recommend I do? I really love your theme, but it bogs down my site. Thx.

    GD Star Rating
    loading...
    • MillaN | October 21, 2009 at 12:43 AM

      ‘Sloppy’ theme can cause problem with every plugin not only this one. Most plugins use same method of modifying the rendering. Best way to solve all problems is to fix the theme and code it properly, unfortunately I can do so much with plugin and integration, the rest is up to the theme and other plugins.

      GD Star Rating
      loading...
  12. Admiyn | October 21, 2009 at 4:41 AM

    Great plugin, it is working fine to me
    thanks

    GD Star Rating
    loading...
  13. David | October 21, 2009 at 11:12 AM

    I complained about version 1.7.1 and waited a few days before updating to 1.7.2. Bingo! It’s working great ;-)
    I thought the least I could do is mention here that GD Star Rating is one of my favorites plug-ins. Besides it’s integrating so many features for free!
    Thanks a million for your hard work MillaN.

    GD Star Rating
    loading...
    • MillaN | October 21, 2009 at 11:25 AM

      Thanks. You can always expect that bugs will be fixed without much delay.

      GD Star Rating
      loading...
  14. AzzePis | October 21, 2009 at 5:00 PM

    Hi, can you help me too :) I have one multiset
    after update on 1.7.1 and later on 1.7.2 i have problem.
    in my posts, where multi rating block is, i see:
    bla-bla-bla stars (it’s ok)
    bla-bla-bla stars (it’s ok)
    bla-bla-bla stars (it’s ok)

    and when problem:

    %MUR_RATING_TEXT% %BUTTON%

    so, i can see result rating and button to make vote. see my blog:
    http://my.uablog.info/uk/ua-ix-blogs/tematicheskoe/mij-svit-zatyagni-mene-v-peklo-slava-in-ua/

    GD Star Rating
    loading...
    • AzzePis | October 21, 2009 at 5:01 PM

      so, i CAN’T see result rating and button to make vote

      sorry, before was a mistake

      GD Star Rating
      loading...
  15. kk | October 21, 2009 at 7:40 PM

    thumb rating sort does not work? http://siteurl/?gdsr_sort=thumbs&gdsr_order=asc

    GD Star Rating
    loading...
    • MillaN | October 21, 2009 at 9:54 PM

      This is broken right now. Fix in 1.7.3.

      GD Star Rating
      loading...
      • kk | October 21, 2009 at 10:59 PM

        Any idea when that is going to be? Thanks.

        GD Star Rating
        loading...
  16. Ray | October 21, 2009 at 7:41 PM

    Hi Millan,

    I see an option to export T2 Templates under “Export > T2 Templates”.
    Which produces a .CSV file.

    But how do you import this .CSV file into GDSR?

    I see an option to import T2 templates under “Tools > T2 Templates”.
    But that is only for a .txt file.

    Just some constructive feedback, I think all T2 Template options like Import and Export should be put under the “T2 Templates” page.

    It’s confusing trying to find all the different options if they are scattered all over the place.

    Thanks for reading!

    GD Star Rating
    loading...
    • MillaN | October 21, 2009 at 9:53 PM

      Well, import is not that simple, and i am working on a better way to do this. Also, export and import will be part of the templates page. This will be part of 1.7.3 or 1.7.4 version.

      GD Star Rating
      loading...
      • Ray | October 21, 2009 at 11:35 PM

        Good to hear, Millan.

        I’m just wondering what format the .txt file has to be for the current T2 Template import process.

        Sorry if this is listed somewhere in the documentation. I tried to find it, but couldn’t.

        GD Star Rating
        loading...
        • MillaN | October 21, 2009 at 11:41 PM

          It’s not listed. As I said, it will be done soon. Partially in 1.7.3 on sunday, and completed in 1.7.4 next sunday.

          GD Star Rating
          loading...
  17. Idol Space | October 22, 2009 at 1:51 AM

    Hi guy,

    I don’t know why, but the image option isn’t working to me.

    I followed these steps:
    1-I Installed the GD Star rating plugin
    2-I Created two news post and each with a custom field called image and with a full image path each one.
    3-Now I switched to the GD Star Rating Builder and created the following function:
    “wp_gdsr_render_rating_results(array(‘template_id’ => 4, ‘rows’ => 2, ‘select’ => ‘post’, ‘hide_empty’ => false, ‘min_votes’ => 1, ‘min_count’ => 1, ‘image_from’ => ‘custom’, ‘image_custom’ => ‘image’, ‘image_resize_x’ => 43, ‘image_resize_y’ => 54));”
    4- Later I added this fuction to my template function place.

    Well, the Start Rate appear but no images are shown.

    You can see this issue in my site here http://idolspace.net/

    Thanks for any explanation.

    GD Star Rating
    loading...
  18. Flo | October 22, 2009 at 12:12 PM

    hello,
    is ist possible to integrate some custom fields from the post? I have a custom field called “description” which I want to have in my gd star rating. is there any way to implement?

    GD Star Rating
    loading...
    • MillaN | October 22, 2009 at 10:23 PM

      Yes, using filters and custom tags. It’s not documented well yet.

      GD Star Rating
      loading...
      • Flo | October 23, 2009 at 8:47 AM

        great! can you give me a hint or example how it is to implement? it would be very nice !!!

        GD Star Rating
        loading...
  19. Clau | October 22, 2009 at 9:51 PM

    Hello. I just update to this version of the plugin and when I try to update an entry I got this message:

    Fatal error: Call to a member function render_article() on a non-object in /usr/local/apache2/htdocs/wordpress/wp-content/plugins/gd-star-rating/code/class.php on line 238

    GD Star Rating
    loading...
    • Clau | October 28, 2009 at 11:25 PM

      Just wanted to say that i updated to 1.7.3 and the error dissappeard =)

      GD Star Rating
      loading...
  20. kirk | October 23, 2009 at 12:53 PM

    Hello,

    I was relying on the function gdsrAdmDB to get the vote of a specific user but it’s seems that it’s gone in the new version… It will be terrific if you can publish a list of public interface that can be used to integreate GD in other plugin.

    GD Star Rating
    loading...
    • MillaN | October 23, 2009 at 1:00 PM

      This is a class, not a function and is not to be used as public. And all public functions are documented in the info files.

      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.