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




Comment Link
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
loading...
Comment Link
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.
loading...
Comment Link
I am using it to show the nextgen galleries using custom fields.
loading...
Comment Link
Than disable GDSR auto insertion and use functions to add ratings.
loading...
Comment Link
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.
loading...
Comment Link
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.
loading...
Comment Link
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/
loading...
Comment Link
Never mind… I had to uninstall the star ratings… way way way too many bugs…. way way way too many errors…
loading...
Comment Link
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.
loading...
Comment Link
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…
loading...
Comment Link
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.
loading...
Comment Link
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…
loading...
Comment Link
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…
loading...
Comment Link
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.
loading...
Comment Link
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?
loading...
Comment Link
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.
loading...
Comment Link
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″
loading...
Comment Link
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?
loading...
Comment Link
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.
loading...
Comment Link
It is possible with gd rating to show monthly and years ratings ranks?
loading...
Comment Link
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.
loading...
Comment Link
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
loading...
Comment Link
Use functions.
loading...
Comment Link
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?
loading...
Comment Link
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.
loading...
Comment Link
Chuck, don’t be so upset, at least you got an answer to your many questions. I am still waiting for mine…
loading...
Comment Link
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.
loading...
Comment Link
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.
loading...
Comment Link
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!
loading...