
I was working on a customization project recently, and few things were missing in the plugin for comment integration for better control. So, this release features few improvements for the integration. Also, T2 system is reorganized and updated.
If you use threaded comments introduced in WP 2.7, and comment integration, even with replies rating blocks will be displayed. And in many cases you don’t wanna do that. So, there is a new option on the settings page for this that can hide rating block(s) when the comment is in reply mode. Since WordPress developers didn’t left too much to work with in the new comments system, this was very tricky to do, and I hope that this will work fine. If you find some problems, post a comment here.
Also, I have added 6 javascript functions to get the status of the rating blocks integrated into the comment, so you can check their status before submitting form. I couldn’t do anything directly to the forms, because they can be different from theme to theme, and you must write your own handling using these new functions.
Next two releases should have categories management completed.
loading...





June 15, 2009
at 6:10 AM
Direct link
Any support for category ratings? So a user can rate a category instead of posts inside a category.
loading...
June 15, 2009
at 7:23 AM
Direct link
I think it would be AWESOME to be able to call GD ratings from inside a TD mini forms form. I have user submissions to rate things, via a TD form, and it would be awesome for them to use GD to rate what they are submitting about – unless this is already achievable?
loading...
June 15, 2009
at 11:59 AM
Direct link
This can be done, and for quite some time now. I will post a tutorial on this later this week.
loading...
June 15, 2009
at 11:11 AM
Direct link
yet another question about multi review rating and widget.
is where any way to show in widget the total rating of posts I’ve rated in “edit-post” page (multi review rating)?
loading...
June 15, 2009
at 12:00 PM
Direct link
Yes. You need to modify template to show review values instead of rating values. Also, tutorial on this is coming soon.
loading...
June 15, 2009
at 12:11 PM
Direct link
great news, thanks!
loading...
June 18, 2009
at 9:29 AM
Direct link
can you e-mail me a simple example of that template?
loading...
June 15, 2009
at 1:51 PM
Direct link
Doesn´t work here. 1.4.3 was fine, but the new Version seems to have some problems to display the Stars under my posts.
loading...
June 15, 2009
at 3:18 PM
Direct link
This version didn’t changed anything that’s used for rendering. I use it on my website, and works fine. Since you reverted back to 1.4.3 I can’t check out why there was a problem.
loading...
June 15, 2009
at 8:36 PM
Direct link
somehow after upgrading to wordpress 2.8 and activating gdstarrating (1.4.4) plugin there are some missing options in Settings-General-Timezone/Date format/time format/
deactivating this plugin brings them back
please halp!
loading...
June 15, 2009
at 10:36 PM
Direct link
This WP 2.8 bug, not the plugins. WP 2.8 uses much more memory then previous and has some memory problems on some of the settings pages. You need to increase memory used by PHP to over 32MB. I have written a post about WP 2.8 upgrade: http://www.dev4press.com/2009/06/11/upgrading-to-wordpress-28/
You can use my plugin GD Press Tools to change PHP memory. Install plugin and enable more memory on plugin Settings page.
loading...
June 16, 2009
at 2:43 AM
Direct link
Hi,
On my website, the plugin was working fine until today when I upgraded to this vers. 1.4.4. When users try to vote now, it got frozen at the waiting animation, and no voting is recorded. Maybe there’s some conflict between this vers. and wp since i’m still using 2.7.
any help would be great. thx in advance and thx alot for ur great plugin again.
loading...
June 16, 2009
at 10:05 AM
Direct link
Try enabling the cross domain ajax support from the setting panel.
loading...
June 16, 2009
at 2:58 AM
Direct link
For the poster above, try changing this line:
“$this->plugin_ajax = get_option(‘siteurl’).’/wp-content/plugins/gd-star-rating/ajax.php”
to
$this->plugin_ajax = WP_PLUGIN_URL.’/gd-star-rating/ajax.php’;
loading...
June 16, 2009
at 8:24 AM
Direct link
Hi Milan
It Looks Starscape theme breaks with WP 2.8 (atleast the settings part – it still looks fine on the website). In GDSTarRating Tab
1.
Fatal error: Call to undefined method GDSRHelper::render_templates_section() in /home/khojiyec/public_html/reviews/wp-content/themes/starscape/code/options/gdsr.php on line 48
2.
No Save changes button visible on this tab
3.
Changelog and Setup aren’t visble at all
loading...
June 16, 2009
at 10:04 AM
Direct link
Starscape is not updated, sorry. I forgot to release new version. It will be out in a day or two.
loading...
June 16, 2009
at 12:03 PM
Direct link
Hello. Great Job. But i have problem with graphic stars. When i update i lost stars and i cant vote. In Board is the same i dont have a list when i change graphic stars
loading...
June 16, 2009
at 1:40 PM
Direct link
Hi, i have installed your plugin on my wp 2.7.1 site but i always get the message:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /www/htdocs/xxx/wp-content/plugins/gd-star-rating/code/t2/render.php on line 481
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /www/htdocs/xxx/wp-content/plugins/gd-star-rating/code/t2/render.php on line 486
Even from a fresh install – can you please give me a hint where to look for to solve the problem?
Thanks a lot!
loading...
June 16, 2009
at 4:08 PM
Direct link
Samo comment was on WordPress Extend, but I am not sure what the problem is. I use the plugin on all my blogs on both 2.7.1 and 2.8, and on one even older 2.5 and this I can’t reproduce. I will check it but I am not sure what can cause this. The only thing that can be the problem is the invalid set template.
loading...
June 17, 2009
at 3:48 PM
Direct link
I am having this same issue. Any help would be great!
loading...
June 16, 2009
at 11:26 PM
Direct link
I don’t know if its the new version, but if I change the default template under settings->multi it always goes back to the default template. It the changed ones appear in the pulldown, I select one and hit “Save settings”, but the default is still set.
loading...
June 16, 2009
at 11:45 PM
Direct link
This is actualy a bug caused by the changes in 1.4.4. It will be fixed very soon.
loading...
June 16, 2009
at 11:59 PM
Direct link
Also, I am not getting a review choice in the Edit Post Page.
loading...
June 17, 2009
at 12:01 AM
Direct link
Sorry for so many, but should Review in Pages and Posts have a default template? I don’t see any way to set a template for review
loading...
June 17, 2009
at 12:17 AM
Direct link
There is a settings on the settings panel for reviews where you can select template.
loading...
June 17, 2009
at 12:46 AM
Direct link
Settings has multiple pages and 100s of options. Under “Posts and Pages” there is a Review section. I can set the starts, the rating header and the CSS class, but no template.
Also I cannot get a multi review rating block (or any other review block) to allow me to set a review rating on the Edit Post page (or Add New post page). There was a box before that allowed me to set the review, but now its gone.
loading...
June 17, 2009
at 1:09 AM
Direct link
There is no need for it becasue there is no way for automatic insertion of the review. If you use shortcode or function template id is requried parameter.
loading...
June 17, 2009
at 12:48 AM
Direct link
I have installed the latest version of the plugin and the plugin gives me the following errors when I activate the plugin.
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 '' at line 1]
SELECT * FROM wp_gdsr_templates WHERE `template_id` =
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 '' at line 1]
SELECT * FROM wp_gdsr_templates WHERE `template_id` =
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/emiastur/public_html/wp-content/plugins/gd-star-rating/code/t2/render.php on line 481
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/emiastur/public_html/wp-content/plugins/gd-star-rating/code/t2/render.php on line 486
I have wordpress 2.8, SQL 5.1.30.
It may be mine or the plugin.
Thanks and great plugin!!
loading...
June 17, 2009
at 1:04 AM
Direct link
Somewhere the template is missing. But, some people also reported similar error, so I will investigate.
loading...
June 17, 2009
at 1:55 AM
Direct link
I think I found a bug. If you only allow multireviews in the edit page (and no post review), the multi rating can’t be saved. It will take the setting, but then be gone after update. If you enable the post review in sidebar, it then will accept the multi.
loading...
June 17, 2009
at 3:32 AM
Direct link
[starreviewmulti id=1 tpl=35]
What function do I need to call to render the same as this shortcode? I have tried:
wp_gdsr_show_multi_review(1,35);
but it doesn’t use the correct template. The shortcode used the template #35. I need to put this in a page template before the post and some custom fields and I can’t get the right one to show.
loading...
June 17, 2009
at 10:10 AM
Direct link
I’ve installed it and it gives me this error, any idea how to fix it? I’m on php5 and wordpress 2.7
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/iretroar/public_html/wp-content/plugins/gd-star-rating/code/t2/render.php on line 481
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/iretroar/public_html/wp-content/plugins/gd-star-rating/code/t2/render.php on line 486
loading...
June 17, 2009
at 11:44 AM
Direct link
My template is Mandigo theme
loading...
June 17, 2009
at 1:12 PM
Direct link
Problem is now solved. It was affecting only fresh installations. Sorry about that. New 1.4.5 version will be released later tonight.
loading...
June 17, 2009
at 2:28 PM
Direct link
which problem is now solved?
loading...
June 17, 2009
at 4:50 PM
Direct link
[starreviewmulti id=1 tpl=35]
What function do I need to call to render the same as this shortcode? I have tried:
wp_gdsr_show_multi_review(1,35);
but it doesn’t use the correct template. The shortcode used the template #35. I need to put this in a page template before the post and some custom fields and I can’t get the right one to show.
Can you PLEASE answer this. Its driving me nuts. Whats the correct php call needed to duplicate the output of the shortcode above?
loading...
June 17, 2009
at 5:46 PM
Direct link
Hi, I use GD Star Rating and I must give you thanks for this incredible plugin and thanks for your good work.
Recently I found an error when you change “Vote Rules” at Articles list. This is the message:
WordPress database error: [Duplicate entry '340' for key 1]
INSERT INTO wp_gdsr_data_article (post_id, rules_articles, rules_comments, moderate_articles,(…)
But it changes correctly the rule.
loading...
June 17, 2009
at 11:41 PM
Direct link
This is currently under revising and few changes can be expected next week.
loading...
June 17, 2009
at 11:46 PM
Direct link
I’m using v1.4.2, and I noticed that the 200K gdsr.css.php stylesheet is getting loaded on every page view, according to Firebug. Has this been fixed in v1.4.4? It’s 60% of my average total page size with a primed cache.
loading...
June 18, 2009
at 12:15 AM
Direct link
Nothing to fix, not a bug. I have explained this already. Read the settings tutorials on details how to make this stylesheet smaller. Also, it’s loaded once, and should remain in browser cache.
loading...
June 18, 2009
at 4:12 AM
Direct link
Thanks for the tip on the stylesheet’s size.
However, I can’t confirm stylesheet caching using Firefox 3.0.10. For example, looking at the 77KB gdsr.css.php file for your site here:
http://www.gdstarrating.com/wp-content/plugins/gd-star-rating/css/gdsr.css.php?s=a10i10m20k20c05r05%231216202430%231poxygen%231goxygen_gif%231pstarrating%231pstarscape
Firebug’s Net panel shows this file returning a 200 OK response and reloading it from the network on every page reload, instead of returning a 304 Not Modified that directs the browser to load from the cache.
In case you don’t trust Firebug… I can load up something like a static image from your site, hit Ctrl+R all day (304 Not Modified), and not see any spike in my PC’s network traffic. But if I load up that stylesheet and reload it, I see a consistent 77KB traffic spike each time.
I’m guessing that PHP files are expected to be dynamic, so they’re served up fresh every time and the browser is instructed not to cache them. This has the unfortunate side effect of leaving your plugin’s dynamic stylesheet uncached.
loading...
June 18, 2009
at 8:17 AM
Direct link
I will check why the file is returning 200 every time. Maybe the code I wrotte to set cache is making some problem.
loading...
June 18, 2009
at 1:12 PM
Direct link
You were absolutely right. Apache handles dynamic files differently, and some browsers don’t cache this files. I have added new caching mechanism that uses last modify time and etag, and I also track if the changes to CSS are made at all. Now the caching works. Modified files will be on the SVN in the next few hours, and inlcuded in the 1.4.6 next week.
loading...
June 18, 2009
at 4:36 PM
Direct link
Thank you so much!! =)
loading...
July 13, 2009
at 12:27 PM
Direct link
I really like this plug-in, and have been using it for awhile. However, I don’t like the new thumbs up/down. Is it possible to hide them?
Thanks!
loading...
July 13, 2009
at 12:32 PM
Direct link
Settings, thumbs up/down tab, uncheck auto insert options for posts and comments.
loading...
July 13, 2009
at 2:01 PM
Direct link
WOW; Thanks for the quick reply.
loading...