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

GD Star Rating 1.8.7

Thumbnail for GD Star Rating 1.8.7

New GD Star Rating, version 1.8.7 has just been released. This is another minor bug fixing release that takes care of few bugs including invalid path to the datepicker translation URL and much complex problem with inserting rating into comment content.

Comment content is rendered by WP using filters and these are not done properly (as I see it). Problem is that once the WP process the comment, filter for adding P tags is called at the very end. This is causing for rating block to be inside the P tag, and you can’t have DIV inside P. So, now plugin uses changed priority for inserting in comment and DIV will end up outside P tags.

Few more translations are updated with this version.

GD Star Rating
loading...

Share this:

del.icio.us DiGG Google StumbleUpon Google Buzz Microsoft Live MiXX RSS PDF
GD Star Rating 1.8.7, 7.5 out of 10 based on 98 ratings

31 Responses to “GD Star Rating 1.8.7”

  1. Steve | April 6, 2010 at 1:17 PM

    Hi,

    Hope you can help.

    I am using the fonction ” apply_filters(the_content, $value );” in my post template and it brings up the post rating again but i do not wish for it to appear as it is shown earlier in the post. Do you know what could be the issue?

    Thanks in advance for your help

    GD Star Rating
    loading...
    • MillaN | April 6, 2010 at 1:22 PM

      And why are you using it in template? It shouldn’t be used like that. And GDSR is hooking into this filter to automatically add rating.

      GD Star Rating
      loading...
      • Steve | April 6, 2010 at 1:36 PM

        I am using it to show the nextgen galleries using custom fields.

        GD Star Rating
        loading...
        • MillaN | April 6, 2010 at 3:14 PM

          Than disable GDSR auto insertion and use functions to add ratings.

          GD Star Rating
          loading...
          • Steve | April 8, 2010 at 9:08 PM

            Thanks, i’ve sorted this issue.

            I have integrated the comment review. What function do you use to retrieve the vote made by commenters? I have looked on info.dev4press.com and tried some of the custom functions but i think that i am not using the right function:

            On my front page, i have made a section with the latest comments (reviews) and I’d like the stars to show up next to each of these.

            I have used this function:

            wp_gdsr_comment_integrate_standard_result()

            but i think it only works in the comment section.

            I hope you can help.

            Cheers.

            GD Star Rating
            loading...
          • Steve | April 9, 2010 at 3:11 PM

            No idea? Maybe I wasn’t clear enough.

            Am not looking to integrate ratings in comments. I have successfully done that with your tutorials.

            I would like to retrieve the votes of each reviewers and show them on the homepage. Is it possible at the moment?
            I can retrieve the votes for the whole post without any problems but i can’t seem to find the function to retrieve the votes of each the reviewers.

            Please let me know your thought on that matter.

            Cheers.

            GD Star Rating
            loading...
  2. Chuck | April 13, 2010 at 4:08 AM

    How can I create a template that will display the stardard ratings stars for visitors with my review stars right below the ratings?

    Example: I would like my review rating to appear right below the stars on this page:

    http://newsyoucanbelieve.com/2010/04/08/glenn-beck-show-thursday-april-8-2010-the-faith-of-our-founding-fathers/

    GD Star Rating
    loading...
    • Chuck | April 13, 2010 at 11:28 AM

      Never mind… I had to uninstall the star ratings… way way way too many bugs…. way way way too many errors…

      GD Star Rating
      loading...
      • MillaN | April 13, 2010 at 11:33 AM

        At this point plugin has no bugs that I know of. If you don’t know how to use something, it doesn’t mean that it’s broken.

        GD Star Rating
        loading...
        • Chuck | April 13, 2010 at 11:58 AM

          Well it sounds like you have made up your mind that it is perfect… and instead of trying to learn what is the problem you attack the user… But I’ll try one time to explain… I had the simple star ratings placed at the bottom of each post… and on my “Archives” tab I have place a “Review” table where I would have listed the posts that I have given a high review. The only problem is I could not get the highly reviewed posts to show up in the table without having at least one star rating. So I started going through my posts and giving each a review and a star rating.

          At first it seemed to be working fine… then I started getting errors… after clicking on the stars it would display 20 stars instead of 10… When I checked the post in the “Articles” section it would be displayed in yellow with a star rating of 17 or 19 .. etc… the highest is only suppose to be 10… Of course that really screwed up my review table… So I would have to delete that star rating… clean the cache.. etc.. clean my cookies so I could re-post the star rating… ect…

          After doing all that … I could usually make one star rating on only one post… then when I went to the next one… and click on the stars to rate the next post… MORE errors… over and over… It would work for a bit and then quit…

          GD Star Rating
          loading...
          • MillaN | April 13, 2010 at 12:06 PM

            I am not saying that is perfect, far from it, and that’s why I am working on GDSR 2.0. But, I am sure that there are no bugs that can cause so many errors. I am using plugin on all my website (6) and on many clients websites in different configurations and with different settings, and on all of them everything works fine. On my TVScape.NET plugin is used in a very, very complex and advanced way, and it works fine.

            But, as with any plugin, that doesn’t mean that it will work on 100% of all websites. There are too many plugins available, and not all of them play nice with others, and I know about few instances that other caused problems due to invalid use of filters and things like that. But, in 99.9% of all cases I have seen that use of plugin caused errors, problem is with improper use of the plugin. I know that for some features, plugin is too complicated, and invalid use of some functions can break things, and that’s why I am working on GDSR 2.0. But that doesn’t mean that plugin is broken. Hell, with invalid use of functions you can break WordPress (and I did few times). There is no way for developer to cover all problems that can happen if a function is called with invalid parameters.

            GD Star Rating
            loading...
          • Chuck | April 13, 2010 at 12:07 PM

            I also forgot to mention that every time I tried to export my ratings the page filled with errors… Would not export no matter what options I selected…

            It is very very very buggy… there were more problems.. but I get the feeling you take the position that it is always operator error… After all your program couldn’t possibly have any problems… now could it?

            How about next time when someone posts questions you try to be helpful with something like: “Sorry to hear your having problems. Can you tell me a little more about the problem and I’ll try to help?”

            Instead of your smart-ass reply that you gave…

            GD Star Rating
            loading...
            • Chuck | April 13, 2010 at 12:12 PM

              I am sorry for my remarks… I guess I have just ran into too many support people who seem so always blame problems on other people instead of taking responsibility.

              Sorry again… I guess I am just getting too old… smile…

              GD Star Rating
              loading...
              • MillaN | April 13, 2010 at 12:24 PM

                I am sorry if my reaction offended you.

                If you read the FAQ and readme file or some other posts on the subject of errors I made over the years, you will see that I don’t (and can’t) guarantee that plugin will work at all on all setups. There are too many combinations of PHP/mySQL/Apache/WP that in some cases there is no way for me to predict how that can affect plugin. And, yes, plugin requires PHP5 to work.

                I can help with any problem, only if I can reproduce the errors, and on 25 websites (I counted) I have access to for myself or clients, everything is fine. I develop all my plugins in debug mode to ensure that no warnings are found anywhere due to improper coding.

                In some cases, plugin will not work due to many different factors, and I can’t do anything about that. Sorry that you had so much problems with it, wait for GDSR 2.0 down the line, maybe it will be better.

                GD Star Rating
                loading...
                • Chuck | April 13, 2010 at 9:10 PM

                  Ok… I have un-installed some old plugins and did some general cleaning… I am trying the GD star ratings again… At the moment, before I go to all the trouble of creating templates, etc. I am just going through my posts and giving them my review and star ratings. So far so good after doing a couple dozen. However, I still can not export the little data I have entered…. Any ideas?
                  Would you like me to post the errors?

                  GD Star Rating
                  loading...
                  • MillaN | April 14, 2010 at 11:19 AM

                    Export is limited to only some data, and I am not sure what you try to export. But, any error is welcome, so post it, and I will check it out.

                    GD Star Rating
                    loading...
                  • Chuck | April 14, 2010 at 3:07 PM

                    Here are the errors when I attempt to export with the default settings:

                    user_id, post_id, vote, vote_date
                    Warning: Cannot modify header information – headers already sent by (output started at /home/kansgcom/public_html/islamobama/wp-content/plugins/gd-star-rating/code/cls/export.php:109) in /home/kansgcom/public_html/islamobama/wp-content/plugins/gd-star-rating/export.php on line 30

                    Warning: Cannot modify header information – headers already sent by (output started at /home/kansgcom/public_html/islamobama/wp-content/plugins/gd-star-rating/code/cls/export.php:109) in /home/kansgcom/public_html/islamobama/wp-content/plugins/gd-star-rating/export.php on line 31
                    “2″, “7663″, “10″, “2010-04-14 06:49:12″ “2″, “8495″, “10″, “2010-04-14 06:50:13″ “2″, “7554″, “10″, “2010-04-14 07:02:13″ “2″, “8510″, “10″, “2010-04-14 07:26:57″ “2″, “7663″, “10″, “2010-04-14 07:28:59″ “2″, “7406″, “10″, “2010-04-14 07:39:00″ “2″, “7106″, “10″, “2010-04-14 07:44:00″ “2″, “7002″, “10″, “2010-04-14 07:48:37″ “2″, “6619″, “10″, “2010-04-14 07:53:34″

                    GD Star Rating
                    loading...
                    • Chuck | April 14, 2010 at 3:28 PM

                      If I use phpMyAdmin to export all the “gdsr” tables, wouldn’t that be the same thing?

                      And then if i needed to reinstall WordPress, couldn’t I just use those exported tables to import my old data?

                      GD Star Rating
                      loading...
                    • MillaN | April 14, 2010 at 3:37 PM

                      Export option is not there to export all data to be imported again or for backup purposes. Export will create CSV file with some data that can be used for analysis in Excel or similar programs.

                      GD Star Rating
                      loading...
  3. scherzi divertenti | April 13, 2010 at 4:20 PM

    It is possible with gd rating to show monthly and years ratings ranks?

    GD Star Rating
    loading...
    • MillaN | April 14, 2010 at 11:13 AM

      Yes. All data is in the database, and it’s only a matter of writing the proper query (and function to run it) to get what you need.

      GD Star Rating
      loading...
  4. Rafael | April 13, 2010 at 5:11 PM

    Hi, this is a great plugin I´m already using.
    I was wondering if I can change the location of the rating stars, by adding a shortcut on the html or something like that.
    I mean, I need the stars to be in the middle of my wordpress page, not at the top or bottom.

    Anybody knows hot to accomplish this?

    Thanks

    GD Star Rating
    loading...
    • MillaN | April 14, 2010 at 11:13 AM

      Use functions.

      GD Star Rating
      loading...
  5. Chuck | April 14, 2010 at 6:28 AM

    Good news… Now that I deleted a few plugins that were not important and cleaned things up a bit… GD rating stars seems to be working fine with the exception that I still can not export.

    But I have a rather unusual request? I am using the ten star ratings and I am sure that when someone enters a vote of “one” they are just messing with my website… so my question is… is there anyway to auto ban anyone who votes “one”? I would like it that when anyone clicks the first star they are auto banned from using the system?

    GD Star Rating
    loading...
    • MillaN | April 14, 2010 at 11:20 AM

      Not at this point. You can ban people based on their votes, but manually using the interface. And you can actually only ban their IP, simply there is no other way.

      GD Star Rating
      loading...
  6. Steve | April 14, 2010 at 7:45 PM

    Chuck, don’t be so upset, at least you got an answer to your many questions. I am still waiting for mine…

    GD Star Rating
    loading...
    • MillaN | April 14, 2010 at 7:52 PM

      As you now, I don’t provide free support for GD Star Rating. I only respond to comments that are bug reports or some general questions. Anything related to support questions and how to questions I skip. In some cases other users kindly provided answers to some such questions, and that’s fine with me.

      GD Star Rating
      loading...
      • Steve | April 14, 2010 at 8:03 PM

        A simple, “yes it’s possible read the tutorials” or “no it’s not possible” would have been enough.

        And I’ve read the tutorials, am using it builder successfully placing gdtstarrating where i want in my template, i’ve integrated comment review, am doing my own star design. It’s not like i came unprepared.

        GD Star Rating
        loading...
  7. Xvs | April 15, 2010 at 1:51 AM

    Hi Millan,

    I was trying to get the average of the article rating and at last and hours after i get it with this code:

    $media = wp_gdsr_rating_article ($post_id=0);
    echo $media->rating;

    Now i’m trying to do the same with the comments, i have the function wp_gdsr_comment_integrate_standard_result(get_comment_ID()) but i only get the stars with this.

    I’m looking for a funcion like wp_gdsr_rating_article but for the integrated comments for print the rating value that the users give to the article.

    I looked for at the turorials and in the forum but I didn’t found nothing.

    Some help please? Thanks!

    GD Star Rating
    loading...

Trackbacks/Pingbacks

  1. Tweets that mention GD Star Rating | Release News: GD Star Rating 1.8.7 » -- Topsy.com - April 5, 2010

    [...] This post was mentioned on Twitter by Milan Petrovic. Milan Petrovic said: New post on GD Star Rating: GD Star Rating 1.8.7 http://dv4p.com/ud [...]

  2. Avalie nossos textos com os ‘ratings de estrelinhas’! | Select Game - April 9, 2010

    [...] tentei procurar então algum plugin relacionado, e encontrei 2 deles: o WP-Post Ratings e o GD Star Rating. O primeiro até que é bem interessante, mas quando tentava salvar uma nova configuração (como [...]

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.