
Another minor release with many improvements. This version gets us a step closer to completing all thumb features I have planned. It includes several more fixes and changes to caching, filters, dashboard widget and few other things.
This release fixes bugs with theme functions used for rendering widget like content, thumbs for comments rendering function is also fixed and few problems with generating CSS when no sets are selected. All info files are updated, and few more functions added. I added new file with list of filters and actions you can use with this plugin. Thumbs ratings now have support for waiting animations for saving votes. It’s simpler than with normal rating because only animation can be selected, no text. Because of this, 3 more new loader animations are added. Cache is expanded now to include multi rating sets definitions. And I have added another thumbs set called classical.
Dashboard widget with latest votes is also improved and bit rearranged to include more info and links to comments and posts. As for the auto inserting comments, now you can override default behavior that required the comments to be on a single post or page. Now you can auto insert ratings in the comments on the front page, so that the plugin will work fine with some new themes like P2. New option for this is enabled by default, so if you don’t want it, un-check it, it’s in the auto insert group of options for comments and thumbs comments ratings. Main CSS file is now up to 4 times smaller than before because of many optimizations to the styles I made in the last few days.
Next version will add support for thumbs in the widgets. All bug reports or suggestion are as always welcome.
loading...





Comment Link
if i add in the comment loop, i always get the error:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /wp-content/plugins/gd-star-rating/code/t2/render.php on line 644
…
loading...
Comment Link
Hmm, I was working on this function and I think I fixed all the problems. Anyway, I will check it again.
loading...
Comment Link
i reinstalled the plugin. Now it works.
loading...
Comment Link
edit:
if i add wp_gdsr_render_comment_thumbs()
loading...
Comment Link
Thanks for the quick release Millan. Ill try this out today and report back.
loading...
Comment Link
I went through tuts and how-tos looking for a way to display rating results on partners sites (also those non wordpress), I havent found anything in particular, so there is my question, is there a way to display rating results, such as “wp_gdsr_render_star_rating_widget()” returns, on other sites also non wordpress? Thnx !
loading...
Comment Link
Right now there is no API for external access to rating data.
loading...
Comment Link
As the automatic insertion of thumb voting in comment still doesn’t work for me, can you tell me what function I need to call to insert them in my template?
loading...
Comment Link
Auto insertion works fine now, I use it on Dev4Press website. It was fixed in 1.5.4. As for the function, all functions are in the info files.
loading...
Comment Link
The new version shows up well on P2.
However, I have another problem:
I am running GD star rating to rate comments on a particular p2 themed blog on a WPMU+Buddypress install. Comments are restricted only to members of the WPMU+Buddypress community. I want to restrict voting of comments also to only members.
If I set Vote rule to users only, it doesn’t allow this to happen (members cant vote).
Not sure if this is a bug, actually I am not sure what defines a user in the plugin. Is there a way to achieve what I am trying to do?
Thanks for your support!
loading...
Comment Link
Restriction to user as the plugin defines it, is restriction to a registered user that is logged in. User or member, that’s the same thing. Because you have already comments in the system with the voting rule set to all users and visitors, you need to change rules to all these comments, and to set new global rules. To change rules for all posts, use Bulk tool on the Tools panel.
loading...
Comment Link
I figured out the issue. I had already voted on the comment through my admin user and was trying to vote again from a test account using the same computer bur had IP & cookie logging enabled which was preventing me from voting.
However, now that I have unchecked those options, it lets me vote again from the same account if I reload the page. Am I missing some other option that will allow a user to vote only once?
Thanks.
loading...
Comment Link
Well, that’s the point. These options are there to ensure only one vote per user. If you uncheck them then any one can vote more than once. What other option do you need for this, I think it’s very straightforward: enable these options – users vote once, disable them – they can vote more then once.
loading...
Comment Link
Another issue that I am facing is:
It let me vote multiple times on the same comment from the same user. Then I deleted the comment votes from the articles screen so that the dashboard now shows:
‘Registered users rated 0 articles with average rating of 0.0 and 0 comments with average rating of 0.0. Visitors rated 0 articles with average rating of 0.0 and 0 comments with average rating of 0.0. There are 0 article and 0 comments ratings waiting in moderation queue. ‘
However, when I go back to the particular comment, it still shows me 4 votes on the comment.
loading...
Comment Link
Millan, you are right that makes sense. I just assumed there might be a separate option that allows or disallows multiple votes from the same user. What I want to do is to let users vote only once, but to let multiple users vote from the same computer. I think I can achieve this by checking all 4 checkboxes in the restrict section. Ill test it out. Thanks for your help.
I am still facing the issue of the votes showing up even after being deleted (above comment). I tried refreshing and restarting the browser. Any thoughts on that?
loading...
Comment Link
The thumb-image changes the color only in firefox on mouse-hover, but not in IE7. i use the thumb function in the comment loop.
Where should i look to fix the error?
loading...
Comment Link
It has nothing to do with function or plugin directly. Problem is with the theme you use and IE7. With themes I have tested works fine in all browsers, but I can’t test each theme and some of them use very strange and complex style rules.
loading...
Comment Link
Do you know a site for example which uses thumbs in comments?
So i can look whats wrong on my site!
loading...
Comment Link
http://www.dev4press.com
loading...
Comment Link
hover in IE7 only works when i add a href=”":
change to
But on your site (www.dev4press.com) it works without that. I dont understand.
loading...
Comment Link
is there something possiple like
if (jQuery.browser.msie) jQuery(".gdthumb > a").attr("href", "javascript:gdsrEmpty()");
loading...
Comment Link
I will check this, maybe I missed something here.
loading...
Comment Link
in 1.5.7 it works fine
thx
loading...
Comment Link
Hi, latest version conflicting with some other plugins. I have downloaded 1.5.3 and seems working ok. I have about 28 active plugins, so its time consuming which one it is.
loading...
Comment Link
On my dashboard, I get a broken graphic for the star rating chart. Opening the graphic in a new window gives me:
Warning: Invalid argument supplied for foreach() in /usr/local/www/wp-content/plugins/gd-star-rating/charts/pchart/pChart.class on line 3289
Warning: max() [function.max]: Array must contain at least one element in /usr/local/www/wp-content/plugins/gd-star-rating/charts/pchart/pChart.class on line 3300
Warning: Invalid argument supplied for foreach() in /usr/local/www/wp-content/plugins/gd-star-rating/charts/pchart/pChart.class on line 2601
[FATAL] Pie chart can only accept one serie of data.
I just upgrade to the latest, but I believe I had this problem with 1.5.4 as well.
loading...
Comment Link
That’s because of nonce protection to prevent unauthorized access to charts.
loading...
Comment Link
Great. Some clue as to how to make it work would be appreciated.
loading...
Comment Link
Disable nonce protection in the plugin settings.
loading...
Comment Link
Tried 1.5.5, 1.5.3, and 1.5.2. Gives error on the site:
Internal Server Error, this is an error with your script, check your error log for more information. (checked it and there is nothing)
Is it something to do with my host, theme, or other plugins? Any help please…
loading...
Comment Link
As I said before I can’t guarantee that plugin can work in every environment. Too many factors can attribute to plugin not working and I tried to point to some of them in some old posts here, but still there can be many things causing this. In 99.5% of the cases plugin will work just fine, and I think that this goes for every plugin, especially with complex plugins.
loading...
Comment Link
Hey, I tried deactivating and reactivating the plugin but the deleted votes still show up. Please advise. Thanks.
loading...
Comment Link
There is a bug there. Thumb votes are not deleted properly right now. I will try to fix it for the next release.
loading...
Comment Link
I see. Is there a way I can delete the votes manually through the database?
loading...
Comment Link
It’s not that easy to do that. They are in the several tables right now and it’s not only removing of records involved. If you don’t have any important votes saved, you can reinstall database tables plugin uses (Setup panel). If you have your own custom templates you need export them (Export) before you delete tables.
loading...
Comment Link
I’m kind of a newbie at databases. I have only freshly installed GD Star Ratings so I do not have any important votes and do not mind reinstalling the table. However, this will not effect any of my wordpress or other plugin tables will it? Thanks. Btw, do you expect to have a release soon that will fix the deletion of thumb votes?
loading...
Comment Link
1.5.6 will have this fixed. As for deleting tables, now WordPress tables will be affected. But as always, I recommend backup of the database before you do this.
loading...
Comment Link
Thanks for your response. Hmm, deleting tables makes me nervous. Do you have an ETA for 1.5.6 and will it automatically fix the bad data when I upgrade to it?
loading...
Comment Link
Congrats on another prompt and successful release, Milan. Upgraded from previous and everything looks good here. I finally have a customized ratings result widget that plugs right into my tabbed navigation panel!! awesome.
loading...
Comment Link
A small question – I think deleting a comment still not deleting the review rating given by that commentator
loading...
Comment Link
by review rating i mean – review given by the user (not rating of the post)
loading...
Comment Link
I can’t seem to delete a multi-review. I go into the multi set results pages, check the article I want deleted, select Articles->Delete->All in the pulldown, and then hit update. But the review rating remains. I’d like to delete the entire record, since I used the wrong set. But no matter what I do I can’t get rid of it. I’ll have to delete it manually from the DB.
loading...
Comment Link
Articles page doesn’t control multi ratings at the moment. You have multis panel for this, but some things there still don’t work.
loading...
Comment Link
I use your plugin with a Russian|Ukrainian language content and have some problem. For example, You are using function “substr” in wp-content/plugins/gd-star-rating/code/t2/render.php for post titles length cut. because of that we have � symbol instead of some characters. To solve a problem i replace function “substr” with “mb_substr”. And it seems to be ok
.
It’s for information only. Thanks
loading...