GD Star Rating 2.0 development is still very slow due to the lack of free time, but there are a couple of things completed so far. It’s not enough for testing yet, but CSS/jQuery rendering and control of stars and thumbnails is done, so there will be 4 rating variations supported by the plugin to start.
Previous GD Star Rating had standard star ratings, multi star ratings and thumbs ratings. Now, we will have one more: multi thumbs ratings. For all of them, a brand new CSS and jQuery code is written from scratch with new format for images. Now, each set will have all stars/thumbs sizes in one file instead of having separate files for each stars/thumbs size. By default, plugin will support these sizes: 8px, 12px, 16px, 20px, 24px, 32px, 40px and 48px. But, CSS for handling it is now very, very simple and will be easy to change to support bigger sizes and even non square dimensions. Combined CSS code for all sizes for thumbs and stars is under 10KB and it will be static, unlike in current versions.
Image on the right shows new settings panel that borrows visual elements from xScape settings panel. It’s still a work in progress, but plugin will have same interface look as all the other Dev4Press premium plugins.
jQuery code is also 100% rewritten to support better dynamic code adding (if you add stars through ajax for instance, or use some cache or dynamic loading) using jQuery live methods. New code will also allow for vote changing feature and it will be faster and more reliable for cross browser compatibility. But, IE6 will not be supported. New code can’t be made to work with that browser, and tests for now show that it works fine with IE7 and newer versions, with Safari, Opera, Firefox and Chrome.
By default plugin will have 2 stars and 2 thumbs sets included. New sets for download will be available to premium support users on Dev4Press, but as before, anyone can make new set with own images. When plugin is done, I plan to offer unusual sets that are not star based, sets with non square object and with non symmetrical patterns.
As for rating types, plugin will by default support rating for posts (default post/page and custom post types), comments and users. Each rating type will support site based rating or network based for multisites, or combination (for users). BuddyPress specific data types are also planned, but new data and code organization will allow for adding of new rating types that may be images, links or anything else. Comment integration for review purposes will be also supported. Review by admin/editor also will be there as before. I also plan to support rating block integration for GravityForms plugin. Plugin will have modular loading structure to make easier for additional code to be added for new rating types.
I can’t give any schedule yet, but good thing is that many core components are done. Main task is to put all things together for first phase of beta testing, and I really hope that will happen soon.
ajax, all stars, cross browser compatibility, css code, dynamic code, dynamic loading, firefox, free time, ie7, multi star, safari, scratch, square dimensions, star rating, star ratings, support users, variations, visual elements, work in progress, xScape