Subscribe via Feedburner Flickr Images Youtube Profile LinkedIn Profile
GD Simple Widgets

GD Star Rating 1.1.2

Thumbnail for GD Star Rating 1.1.2

Here is another mainly bug fixing release. If no more bugs are found in this one, next release should be available in the next 7 to 10 days with many improvements. Beside fixing few bugs, there are some new features also included.

Concerning found bugs, I have fixed all reported so far from the last version, including wrong plugin version number, small problem with saving new multi rating sets and a bug with including IE PNG Fix. Most importantly, annoying mkdir() bug should be finally fixed.

Since the problem with different characters sets and encoding is not that easy to solve with some universal approach, I decided to add new setting for character set that will be used by the plugin. You will find this on the general tab on the settings panel. Default value is UTF-8, and you can change it to any of the PHP supported sets. Also, multi ratings will use character set encoding set there. I can’t test how this encoding options work with every possible set up with both PHP and MySQL, please test it and report back if this new feature is working the way it should be. If the templates worked fine before, multi ratings should also because same procedure is used to save data into database. UTF-8 should be working with most languages anyway.

Also, multi ratings have first statistical admin panel showing the multi ratings on per post basis. Visitor based statistics will be done for the next version and will include detailed info on each saved vote.

For UTF-8 encoding to work, database tables need to be UTF-8 also. So, check if all the wordpress tables are with same encoding.

GD Star Rating
loading...

Share this:

del.icio.us DiGG Google StumbleUpon Google Buzz Microsoft Live MiXX RSS PDF
GD Star Rating 1.1.2, 7.6 out of 10 based on 22 ratings

21 Responses to “GD Star Rating 1.1.2”

  1. Tom | February 9, 2009 at 11:16 PM

    Let’s try the UTF-8 encoding !
    Thank you Millan

    GD Star Rating
    loading...
  2. Tom | February 9, 2009 at 11:23 PM

    Hi again,
    I’ll try to investigate this, but when i modify a previous multirating set, i get this message :

    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 ' 'a:4:{i:0;s:6:"服务";i:1;s:9:"Wine list";i:2;s:6:"Prices";i:3;s:18:"Easiness ' at line 1]

    “服务” is the characters i tried to put in my set.

    GD Star Rating
    loading...
    • MillaN | February 9, 2009 at 11:45 PM

      Same conversions of the text is used for templates as for the multi rating sets. This error you get is from MySQL basically means that converted text is not compatible with MySQL table character set. Check if the gdsr_multis tables are UTF-8.

      If any one have idea how to solve this problem, please describe what should be done, and I will change this further.

      GD Star Rating
      loading...
      • Tom | February 10, 2009 at 12:49 AM

        Hi Millan,
        You were right, the matter came from my qdsr_multi tables. They were in latin1. After the modification, i’ve been able to write multirating sets in chinese characters.
        My problem is solved. Thanks !

        GD Star Rating
        loading...
        • MillaN | February 10, 2009 at 12:52 AM

          Great, another problem solved :)

          GD Star Rating
          loading...
  3. ROb | February 10, 2009 at 12:23 AM

    cool cool excelletn stuff. Will multi ratings eventually have the same shortcode functionality as regular ratings, so that one will be able to use shortcode and create Top rated lists and place them in posts or pages?

    Thanks, Rob

    GD Star Rating
    loading...
    • MillaN | February 10, 2009 at 12:26 AM

      Yes it will. I still don’t know how to make that to be easy to use and to display data in some meaningful form because of the number of ratings one set can have.

      GD Star Rating
      loading...
  4. donnacha | WordSkill | February 10, 2009 at 3:51 AM

    As ever, thanks Millan!

    GD Star Rating
    loading...
  5. Ekrem Senol | February 10, 2009 at 11:09 AM

    Grat Plugin, great work, great support! Thanks!

    GD Star Rating
    loading...
  6. Tim Kraaijvanger | February 10, 2009 at 4:40 PM

    Thanks for this great plugin. There is one problem. I cannot vote when using Firefox. I have no problems with IE.

    But… when I’m on this website, Firefox works.

    So could there be a problem with my website? Or should I check or uncheck an option in Settings so Firefox voting works on my website.

    Thanks!

    GD Star Rating
    loading...
    • MillaN | February 10, 2009 at 5:16 PM

      Plugin works fine in very browser. But for some reason in few cases reported so far there is a very rare problem with Firefox. As far as I can tell this has to do with some of the Firefox extensions, but I don’t know which one.

      I have 4 version of Firefox I use to test during development and it works fine, infact Firebug extension is my primary javascript testing tool for this plugin.

      The only thing I can tell you is to test it in the Firefox Safe Mode first (no extensions loaded), and to try to find out which extension is causing problem.

      GD Star Rating
      loading...
  7. Tim Kraaijvanger | February 10, 2009 at 5:33 PM

    You’re right! It works in Safe Mode! Thanks :)

    GD Star Rating
    loading...
  8. Tim Kraaijvanger | February 10, 2009 at 6:07 PM

    I have one final question.

    I use Multi Sets. When someone fills in the five different options of the multi set, they get one final rating.

    Is it possible to sort the final ratings in a list? Like before with the single ratings?

    GD Star Rating
    loading...
  9. Vikalp | February 11, 2009 at 3:16 PM

    Thanks for this great plugin. Works perfectly in almost all scenarios except this :

    I have a category widget on my page and when I click on any of teh categories it takes me to all the posts of that category. In this page, instead of actual rating and stars I get this:

    UN:C [1.1.2_437]Rating: 3.0/4 (1 vote cast)

    Rating for same posts work fine on the main posts page. Behaviour is same in both IE and Firefox. I have debugged the problem to a great extent :
    When you click on categories, towards the end a method is being called (wp_trim_excerpt). In this method there is a call to another method called strip_tags. This is where all the div tags and other tags get removed and I get the above mentioned output.
    If it helps I am using Ikarus 1.21 theme. But I have tried other themes also and result is same.
    Please let me know how can I fix it. Thanks again for a great plugin.

    GD Star Rating
    loading...
    • MillaN | February 11, 2009 at 3:30 PM

      This is caused by the excerpt function. Unfortunatly, wordpress excerpt function strips all html elements from content and you only get the text instead of full rating. But this happens only when your post doesn’t have excerpt defined, and than exceprt function modifies the content.

      You can enable auto insert only for actual post pages and disabled it for archive and front page (settings for posts and pages). Or you can write exceprts for posts (I do that here) and have sepparate text for content and excerpt.

      GD Star Rating
      loading...
  10. Vikalp | February 11, 2009 at 3:56 PM

    Thanks for inputs. But in that case why does the rating work fine for main posts page and fails when you select categories ? Is it that excerpt function is called only when you select categories ?

    GD Star Rating
    loading...
  11. Vikalp | February 11, 2009 at 4:03 PM

    Also, I added excerpt to my post. Now I don’t even see
    UN:C [1.1.2_437]Rating: 3.0/4 (1 vote cast)

    GD Star Rating
    loading...
    • MillaN | February 11, 2009 at 4:26 PM

      Well that’s ok. But, if you want to add rating there, you must use manual function call to insert rating block. Add just after excerpt call in your theme:

      wp_gdsr_render_article();

      This will render the rating block just as it were added automatically by the plugin. There is no other way to get around excerpt problem.

      GD Star Rating
      loading...
  12. baron | February 11, 2009 at 11:29 PM

    hi. Thanks for plugin

    perfect.

    Regards

    GD Star Rating
    loading...

Comments are closed.