|
Posts Tagged ‘rating’
New GD Star Rating will be released tomorrow, but now I want to talk about the only big problem that rating plugin has right now. Some users were (are) getting the following error on their blog(s) after rating: Warning: Cannot modify header information - headers already sent by... Problem is not plugin related, but theme related. Plugin uses get_header() WordPress call to save cookies. Cookies must be set before any HTML output to the browser. This get_header() call is ment to load page header. Before this function there should be NO HTML output. All Header elements should go in header.php that is loaded with get_header() method (default case). Another day, and another release. I made mostly cosmetic chaneges to control panel and to the display of stars so I decided to release it right away. You can now control aligment of the rating block and the position of the text for the rating blog. Also, I have added one more text row with some sort of title or message that will be placed above the rating for all 3 types of ratings. For now only text is allowed, but I will work on adding the html in that header. Control panel settings page is a reorganized because the number of options is grown and I like it more if I don’t need to scroll much to see most of the options.
Comments and suggests are welcome as always. Here is the new version of rating plugin. Since I have completed all work I have planned on my Starscape theme, I will have more time for this plugin. And this new version adds few new things, introduces many changes and bug fixes. Since this is still far from final stable release, database handling code is still not completed, and right now there are many uneeded calls made to the database when it comes to comments rating. Also, I had to change some things in database layout, and I have added upgrade code, so this should be working ok. In any case, after you upgrade, please check if the votes are recorded properly, and report any errors you find with that. I have tested upgrading on few test blog, and there were no problems. And as always, mind that this is still in development, and is not recommended to use it on your production blog. Well, laste few days I have received a lot of emails and there was a discussion in the forum and on this blog about the features for GD Star Rating plugin. So, I have decided to slow down with new version, and instead I will do a rewrite on some parts of the plugin to add new things, and to make possible easier expansion for the future versions. So, the planned 0.8.0 Beta will not be released befoe all these things are done. But, the most important thing is to make a list of the things that will be changed. If you are interested in these features, please continue reading. New version is ready. This one will hopefully fix duplicate voting, header sent error message and few other small errors. I have tested it last two days on different blogs, with WordPress 2.5.1 and WordPress 2.6, and so far I couldn’t find any problem. If you still getting errors, please report it in the forum and add exact error you get along with version of WordPress you are using.
Also, shortcode support is expanded, new options are added into TinyMCE3 plugin settings and now you can have rating displayed with stars. You can see the example on the screenshot on the right. Next version will be availbe in the next few days with some changes to widget and control panel. |