|
New RC3 version is now available. This version adds some of the time restriction functionality, mostly still unusable, but getting there. Also, MySQL4 related problems are (hopefully) fixed. There are some small overall changes and fixes. Import from WP-Post Rating plugin is added, but right now without some more testing I am not 100% sure that import will always work. So, please report errors if you find any. Also, there is an important update to code that’s saving votes. I have added check to see if the vote is valid. There was a case that someone changed ajax request with voting data and sent vote value of 1000. Now something like that can’t happen. This post is mainly about some of the features that have gone through changes recently, and until I complete user guide, maybe they are not that easy to use. StarRating ShortocodeHere is the example for using the StarRating shortcode. To get such table you can use red star button on the editor and if you don’t change any of default settings you get only simple [ starrating ] shortcode. For the table above, I have used following shortcode:
Also, you need to set the template for the shortcode on the Templates plugins admin page. Template has 3 parts, and here is what the template is for the table above.
Right now you can have only one set of templates for this shotrcode, but that will be changed in the future. Bayesian Estimated Mean RatingThis is alternative method to calculate rating. Main rating value is total sum of votes devided by number of votes. Bayesian method is different and uses a forumla that requires two additional parameters. One is minimal number of votes, and the other is precentage of maximum votes value as a refernce value. This method is used my IMDb website for their Top Movies list. You can find more data about this method on the internet. If you want to use this rating, the best results are with the posts that have more then minimal number of votes set for this rating method. This method can eliminate infulence of extreme votes for the post. You can display both ratings, and see the difference. |
Millan, is this [ starrating ] code on the user side or the admin side? You maybe remembered that I asked if you can implement multiple ratings per one article and then donate
I am still waiting for this to happen.
StarRating shortcode renders table with results as in the post.
I am still going to work on multiple ratings part, but that requires a lot of work, and I had little free time in the last month. As soon as I publish 1.0.0 next week, I am star working on that.
I’ve noticed that when using the comment rating system, that the end tag for the paragraph that is included with the comment_text() function is omitted or somehow lost.
Also, for posts, an unordered list is inserted after them that includes a post-meta class in single quotes “should be double” and it doesn’t put anything in there… I just installed this plug-in and maybe I haven’t poked around enough yet, but is there a place to change this or would you call these bugs?
Well, ignore the quote part… That was me testing out the_meta() and forgetting about it…
However, I can’t resolve the missing /p
Also, using ‘align=’ on a DIV is not XHTML strict compliant. I’d recommend using ’style=”float: right;” for align=right, or even assigning custom classes for them that can be styled by the author?
There are few things I need to clear from the rendering code, and it should be done soon. As for the align in DIV tag, the reason for it is stupid IE browsers. There was no good way to align anything there. But you can disable alignment from settings, and add custom CSS class to rating block if you want. CSS options are visible after you enable advanced options on general tab.
I am not sure what’s the problem with missing tag. Plugin doesn’t modify actual content, and only adds rating stars at the very end of content sent by WordPress.
No problem. I will wait for it, you are still doing a great job.
I recently upgraded to the latest version and found few issues with my wordpress.
1 - Some javascript error is introduced. Through firebug i can see it is something related to GDR only.
2 - Now i am not able to use flash uploader while uploading images and when i try the normal upload the images are not uploaded. If i disable the GDR plugin everything works fine.
Let me know if you need any further information on the same
I know about FlashUploader problem and I am working on that.