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.6.1

Thumbnail for GD Star Rating 1.6.1

Minor update this time. I have fixed few bugs from 1.6.0, updated several access options, readme and info files and as announced before I removed support for WordPress 2.5.x. So, from now WordPress 2.6.x is required for plugin to work.

I have fixed problem with images in widget, and some invalid extra templates that failed to install before. Plugin is not working anymore with WordPress 2.5. WP 2.6 is now the older supported WordPress. Once 1.7 is released, support for WP 2.6 will also be removed. Both 2.5 and 2.6 are now very old releases, quite different from 2.7 and 2.8 and maintaining support for all of them is very complicated.

New access levels control is implemented, and you can read all about it in the advanced tutorial category. First post in this category also explains what to do if your wp-content is moved outside default WordPress folder. Now we need path to wp-load.php not wp-confing.php, since this file is used to bootstrap WordPress starting with WP 2.6.

If you use advanced access control, or you move wp-content folder, please write about your experiences with this and GD Star Rating, and report any bugs you find with this. Many things will be improved with this in the future.

GD Star Rating
loading...

Share this:

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

48 Responses to “GD Star Rating 1.6.1”

  1. steve | August 12, 2009 at 1:49 AM

    I have been looking all over the site and reading various tutorials one thing I cant seem to find is a way for a user to enter a url with small description and have that rated or a thumb up or down to it.. any ideas on if this is doable with this system?

    GD Star Rating
    loading...
    • MillaN | August 12, 2009 at 2:12 AM

      All ratings are post/page based.

      GD Star Rating
      loading...
  2. steve | August 12, 2009 at 2:59 AM

    thanks for the quick feedback.. any possible chance that in the blog roll this could be enabled for a link, I noticed when adding a blogroll (link) it had a rating pulldown but that doesn’t allow users to rate any links.. ? thoughts?

    GD Star Rating
    loading...
    • MillaN | August 12, 2009 at 11:33 AM

      This is not going to happen any time soon. Adding rating to links is not in the plans.

      GD Star Rating
      loading...
  3. Mark | August 12, 2009 at 3:18 AM

    Milan,

    The only files that are viewable again are builder and front page. How do we fix this in the new version?

    GD Star Rating
    loading...
  4. Mark | August 12, 2009 at 3:24 AM

    I should add that I am the admin on my site and still can’t access the other files. How can I change my admin access level to 10?

    GD Star Rating
    loading...
    • MillaN | August 12, 2009 at 11:41 AM

      You don’t need level 10. Plugin requires by default level 9. And I really can’t recreate problem you are having. I use test accounts with both 9, 10 or lower and everything works as it was set. More over, 1.6.1 by default is not using config settings from 1.6.0. That’s changed and described in: http://www.gdstarrating.com/2009/08/12/using-config-files/. If you don’t do what’s described here, this is the same as the pre 1.6.0. Also, try what is described in this post, maybe that helps. What version of WP you are using?

      GD Star Rating
      loading...
  5. EvilEsq | August 12, 2009 at 8:43 AM

    Millan, Thanks again for all your great work! I’m having difficulty styling the css of the widget. Using firebug I can’t figure out how to change the height of the element.style. Been working on this ofr over an hour. Can you direct me?

    GD Star Rating
    loading...
    • MillaN | August 12, 2009 at 11:59 AM

      In firebug element.style it’s from style in the tag, it’s not actual CSS class. The way plugin is made, you can’t modify this, and usually there is a good reason for that, and you shouldn’t change that. Changes are done through class inheritance, and you can do ANYTHING you want. Check the screenshots I did from my upcoming TVScape, and you can see that it looks nothing like default styling and still everything is done using CSS.

      GD Star Rating
      loading...
  6. CJ Carter | August 12, 2009 at 9:21 AM

    Using WP2.8.4

    Same problem as Mark.

    Also, on the plugins page, if you go to GD Star Rating and click “Settings”, I’m transported to a page that displays: “You do not have sufficient permissions to access this page.”

    GD Star Rating
    loading...
    • MillaN | August 12, 2009 at 11:48 AM

      This is not the same as Mark, because he can’t see the menu items at all. This is usually caused by WP.

      GD Star Rating
      loading...
    • Sean Bunton | August 13, 2009 at 10:56 AM

      Any luck finding a solution? I am also getting the “You do not have sufficient permissions to access this page” issue. The options panel at the left only lists Front Page and Builder. I’m using 2.8.4 as well.

      GD Star Rating
      loading...
      • MillaN | August 13, 2009 at 12:20 PM

        Try downloading 1.6.1_rev1 from download page here, on the plugin download under Beta. This version should fix that problem.

        GD Star Rating
        loading...
  7. AG | August 12, 2009 at 11:43 AM

    As I said, the image for SRR still doesn’t work (t2 template %IMAGE% tag). It now displays the value of the customer field (a link to the image) and don’t transform it into an image tag. I will try to understand why, but if you can have a look too (you know better your code than I do :) )

    GD Star Rating
    loading...
    • MillaN | August 12, 2009 at 11:52 AM

      And it will not transform it into image. %IMAGE% is the url only. You need to add IMG tag into template. This way you can use DIV with background or IMG, and that’s way %IMAGE% is only url.

      GD Star Rating
      loading...
      • AG | August 12, 2009 at 1:53 PM

        Ok! but how are used the max width and height? If I add in my template somthing like , it will not use the value I provide in the image_resize_x=xx image_resize_y=yy . So either I have to add this in my template in the image tag and the image_resize have no purpose or I have miss something :)

        Anyway thanks for your help!

        GD Star Rating
        loading...
        • MillaN | August 12, 2009 at 2:05 PM

          This is used for resizing image added from custom field or something like that. If you have image thats big, and needs to be put in small space, than it’s best to resize it before display.

          GD Star Rating
          loading...
          • AG | August 12, 2009 at 7:05 PM

            By the way, you have a bug in the constructor of your TrendValue class. $this->day_rate_voters = $last / $over; can lead to a division by zero when you have only one vote in a multiple vote as the $over has a value of zero.

            GD Star Rating
            loading...
        • MillaN | August 12, 2009 at 7:13 PM

          That can’t happen with trend init, but still better to fix it. Thanx for the bug report.

          GD Star Rating
          loading...
          • AG | August 12, 2009 at 11:44 PM

            It happens, I had the bug while tinkering with my template: Warning: Division by zero in ../gd-star-rating/code/db/widgetizer.php on line 645

            GD Star Rating
            loading...
          • MillaN | August 13, 2009 at 12:40 AM

            It’s fixed now. I will have this in next release.

            GD Star Rating
            loading...
  8. MillaN | August 12, 2009 at 12:32 PM

    I have uploaded new test version 1.6.1_rev1 with changes to access levels use (again). If you had problems seeing the menues, please test this version to see if the problem is solved or not.

    GD Star Rating
    loading...
  9. Fab | August 12, 2009 at 1:26 PM

    Hi Millan! Do you think is it possible show average rating of multi box outside the loop calling by post ID ? Thanks

    GD Star Rating
    loading...
    • MillaN | August 12, 2009 at 2:03 PM

      There is a function to get object with ratings without displaying them, and you can do that wherever you want: wp_gdsr_rating_multi($multi_set_id, $post_id).

      GD Star Rating
      loading...
      • Fab | August 12, 2009 at 3:39 PM

        Ok, thanks, and how can i renders the object ? I’m not a very expert :)

        I’ve find this that works nice wp_gdsr_multi_rating_average, but i can’t set this value $avg_stars_set=”oxygen”, $avg_stars_size=20, $avg_stars_set_ie6=”oxygen_gif”

        so it take the default and it’s too big

        GD Star Rating
        loading...
  10. wpix | August 12, 2009 at 2:57 PM

    Hi Millan,

    Is it possible to show several multi ratings in one page?
    If yes how can I do that.

    Thank you very much

    GD Star Rating
    loading...
    • MillaN | August 12, 2009 at 3:37 PM

      Yes and no. You can create 2 or more sets, and each one can be added to the same post or page. One multi set can be tied to one post/page once.

      GD Star Rating
      loading...
  11. wpix | August 12, 2009 at 3:58 PM

    May be it is possible just display in one page several multi rating results?

    GD Star Rating
    loading...
    • MillaN | August 12, 2009 at 5:21 PM

      Yes, you can use functions for this, and provide post_id’s to get ratings from different posts.

      GD Star Rating
      loading...
  12. EvilEsq | August 12, 2009 at 6:37 PM

    Well the element style should not have a height set. I’ll pull the plugin until this gets removed. I hate the fact that I have to edit source code on this to make it work.

    GD Star Rating
    loading...
    • MillaN | August 12, 2009 at 6:48 PM

      If the height is set there, than it’s needed there. And if that’s part of rendering it will not be removed. The whole rendering right now is not going to change any time soon. Also, I don’t know where in the widget rendering you found something like that at all. If you can provide example I can take a look.

      GD Star Rating
      loading...
    • MillaN | August 12, 2009 at 6:51 PM

      Also, if the problem you have is with rendered stars in the widget, than the problem is that you failed to read optimization guides I posted while ago. By default static stars are rendered using 2 div’s, but it can be rendered using a single image. And that is explained in the guide, how to set rendering into image instead.

      GD Star Rating
      loading...
  13. rob | August 12, 2009 at 8:04 PM

    i’m this guy! –> http://forum.gdragon.info/viewtopic.php?f=9&t=524

    i was having problems with the menu options appearing, below “builder”. i since installed the new 1.6.1, but was left with the same problem.

    however, after installing 1.6.1_rev1, everything works now!

    GD Star Rating
    loading...
    • rob | August 12, 2009 at 8:19 PM

      hurm, almost. i have all the admin menus now, but my star/thumb graphics went away. reading through to see what i missed!

      GD Star Rating
      loading...
      • MillaN | August 12, 2009 at 8:22 PM

        Access rights settings are used only to show/hide menus. Nothing else. If you have some other problem, it should be unrelated.

        GD Star Rating
        loading...
        • rob | August 12, 2009 at 8:24 PM

          the star/thumb images were showing with 1.6.0 and 1.6.1 while the admin menus were not. when i upgraded to 1.6.1_rev, the menus appeared but the images disappeared.

          i just went to TOOLS > GRAPHICS > RESCAN, and that seemed to do the trick! images and menus, all working as normal

          GD Star Rating
          loading...
          • MillaN | August 12, 2009 at 8:29 PM

            Ah, that happens from time to time, that some settings are simply deleted. I still don’t know what’s causing that. Thanks for reporting this.

            GD Star Rating
            loading...
  14. EvilEsq | August 12, 2009 at 8:10 PM

    Here’s the css which is applied two times in the widget element thus magnifying the problem.

    #gdstarrmulti-3 ul li

    element.style {
    -moz-background-clip:border;
    -moz-background-inline-policy:continuous;
    -moz-background-origin:padding;
    background-attachment:scroll;
    background-color:transparent;
    background-image:url(http://www.evilesq.com/wp-content/plugins/gd-star-rating/stars/darkness/stars16.png);
    background-position:0 0;
    background-repeat:repeat;
    height:0;
    margin-bottom:0;
    margin-left:0;
    margin-right:0;
    margin-top:0;
    padding-bottom:0;
    padding-left:0;
    padding-right:0;
    padding-top:0;
    text-align:left;
    width:80px;
    }

    You can firebug the widget on my site to see for your self. When I set height: 0 the text in the widget works fine. The css settings should be applied to the which would make manipulating the css by users possible.

    GD Star Rating
    loading...
  15. EvilEsq | August 12, 2009 at 8:13 PM

    Sorry the above css shows height: 0px. That is reflects my correcting it with firebug. In the actual element it is set to the image height, 16px in this case… which again is applied two times because of the structure you are using.

    GD Star Rating
    loading...
  16. EvilEsq | August 12, 2009 at 8:45 PM

    Millan, Thank you for directing me. I finally got the widget to render properly.

    GD Star Rating
    loading...
  17. Maxwell | August 18, 2009 at 4:09 PM

    Hi!
    Can you please help?

    I’m trying to change EN text to Russian text in the table wp_gdsr_templates cause it shows me text in ENglish –

    Rating: 10.0/10 (1 vote cast)
    Rating: -1 (from 1 vote)

    And i need in Russian. Everything else is in RU exept this one..
    Can you please help?

    Best, Maxwell

    GD Star Rating
    loading...
    • MillaN | August 19, 2009 at 12:50 AM

      I said this many times, templates are initially only in english, and translations are for the interface. To get templates in own language, you need to create new templates, translate them and use. There will be detailed tutorial on the subject in the next week.

      GD Star Rating
      loading...
  18. J | August 18, 2009 at 6:57 PM

    Something I have been wondering is if you can have titles for each star. Like 1 star would be “leave it at the store”, etc.

    Can this be done currently?

    GD Star Rating
    loading...
    • MillaN | August 19, 2009 at 12:37 AM

      It can’t be done. Right now there is no universal solution for this, and I don’t have this in plans for now.

      GD Star Rating
      loading...
  19. L | August 21, 2009 at 1:57 PM

    Can you explain how to translate the plugin?
    I don’t need to translate the admin pages, only the few words displayed to the user, like “Rating: 10/10 (1 cast)”.
    I can’t find where this text is generated.
    I tried to use custom templates but seems it doesn’t work..
    Thanks !

    GD Star Rating
    loading...
  20. Maxwell | August 21, 2009 at 2:46 PM

    Just take a look at preferences and find what templates are used.
    Then make your own usin T2 templates. Then choose them in pref-s..

    GD Star Rating
    loading...

Trackbacks/Pingbacks

  1. Dev4Press » GD Star Rating 1.6.1 - August 12, 2009

    [...] http://www.gdstarrating.com/2009/08/12/gd-star-rating-1-6-1/ VN:F [1.6.1_878]please wait…Rating: 0.0/10 (0 votes cast) Share and Enjoy: [...]

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.