
Here is another mainly bug fixing release. If no more bugs are found in this one, next release should be available in the next 7 to 10 days with many improvements. Beside fixing few bugs, there are some new features also included.
Concerning found bugs, I have fixed all reported so far from the last version, including wrong plugin version number, small problem with saving new multi rating sets and a bug with including IE PNG Fix. Most importantly, annoying mkdir() bug should be finally fixed.
Since the problem with different characters sets and encoding is not that easy to solve with some universal approach, I decided to add new setting for character set that will be used by the plugin. You will find this on the general tab on the settings panel. Default value is UTF-8, and you can change it to any of the PHP supported sets. Also, multi ratings will use character set encoding set there. I can’t test how this encoding options work with every possible set up with both PHP and MySQL, please test it and report back if this new feature is working the way it should be. If the templates worked fine before, multi ratings should also because same procedure is used to save data into database. UTF-8 should be working with most languages anyway.
Also, multi ratings have first statistical admin panel showing the multi ratings on per post basis. Visitor based statistics will be done for the next version and will include detailed info on each saved vote.
For UTF-8 encoding to work, database tables need to be UTF-8 also. So, check if all the wordpress tables are with same encoding.
loading...





Comment Link
Let’s try the UTF-8 encoding !
Thank you Millan
loading...
Comment Link
Hi again,
I’ll try to investigate this, but when i modify a previous multirating set, i get this message :
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 ' 'a:4:{i:0;s:6:"æœåŠ¡";i:1;s:9:"Wine list";i:2;s:6:"Prices";i:3;s:18:"Easiness ' at line 1]
“æœåŠ¡” is the characters i tried to put in my set.
loading...
Comment Link
Same conversions of the text is used for templates as for the multi rating sets. This error you get is from MySQL basically means that converted text is not compatible with MySQL table character set. Check if the gdsr_multis tables are UTF-8.
If any one have idea how to solve this problem, please describe what should be done, and I will change this further.
loading...
Comment Link
Hi Millan,
You were right, the matter came from my qdsr_multi tables. They were in latin1. After the modification, i’ve been able to write multirating sets in chinese characters.
My problem is solved. Thanks !
loading...
Comment Link
Great, another problem solved
loading...
Comment Link
cool cool excelletn stuff. Will multi ratings eventually have the same shortcode functionality as regular ratings, so that one will be able to use shortcode and create Top rated lists and place them in posts or pages?
Thanks, Rob
loading...
Comment Link
Yes it will. I still don’t know how to make that to be easy to use and to display data in some meaningful form because of the number of ratings one set can have.
loading...
Comment Link
As ever, thanks Millan!
loading...
Comment Link
Grat Plugin, great work, great support! Thanks!
loading...
Comment Link
Thanks for this great plugin. There is one problem. I cannot vote when using Firefox. I have no problems with IE.
But… when I’m on this website, Firefox works.
So could there be a problem with my website? Or should I check or uncheck an option in Settings so Firefox voting works on my website.
Thanks!
loading...
Comment Link
Plugin works fine in very browser. But for some reason in few cases reported so far there is a very rare problem with Firefox. As far as I can tell this has to do with some of the Firefox extensions, but I don’t know which one.
I have 4 version of Firefox I use to test during development and it works fine, infact Firebug extension is my primary javascript testing tool for this plugin.
The only thing I can tell you is to test it in the Firefox Safe Mode first (no extensions loaded), and to try to find out which extension is causing problem.
loading...
Comment Link
You’re right! It works in Safe Mode! Thanks
loading...
Comment Link
I have one final question.
I use Multi Sets. When someone fills in the five different options of the multi set, they get one final rating.
Is it possible to sort the final ratings in a list? Like before with the single ratings?
loading...
Comment Link
It will be soon.
loading...
Comment Link
Great! Thanks again
loading...
Comment Link
Thanks for this great plugin. Works perfectly in almost all scenarios except this :
I have a category widget on my page and when I click on any of teh categories it takes me to all the posts of that category. In this page, instead of actual rating and stars I get this:
UN:C [1.1.2_437]Rating: 3.0/4 (1 vote cast)
Rating for same posts work fine on the main posts page. Behaviour is same in both IE and Firefox. I have debugged the problem to a great extent :
When you click on categories, towards the end a method is being called (wp_trim_excerpt). In this method there is a call to another method called strip_tags. This is where all the div tags and other tags get removed and I get the above mentioned output.
If it helps I am using Ikarus 1.21 theme. But I have tried other themes also and result is same.
Please let me know how can I fix it. Thanks again for a great plugin.
loading...
Comment Link
This is caused by the excerpt function. Unfortunatly, wordpress excerpt function strips all html elements from content and you only get the text instead of full rating. But this happens only when your post doesn’t have excerpt defined, and than exceprt function modifies the content.
You can enable auto insert only for actual post pages and disabled it for archive and front page (settings for posts and pages). Or you can write exceprts for posts (I do that here) and have sepparate text for content and excerpt.
loading...
Comment Link
Thanks for inputs. But in that case why does the rating work fine for main posts page and fails when you select categories ? Is it that excerpt function is called only when you select categories ?
loading...
Comment Link
Also, I added excerpt to my post. Now I don’t even see
UN:C [1.1.2_437]Rating: 3.0/4 (1 vote cast)
loading...
Comment Link
Well that’s ok. But, if you want to add rating there, you must use manual function call to insert rating block. Add just after excerpt call in your theme:
wp_gdsr_render_article();
This will render the rating block just as it were added automatically by the plugin. There is no other way to get around excerpt problem.
loading...
Comment Link
hi. Thanks for plugin
perfect.
Regards
loading...