Multi Ajax Star Rating
This is a rating bar script done with PHP and mySQL that allows users to rate things like can be done on Netflix or Amazon, all web 2.0-like with no page refresh. It is a major improvement on the previous version because it is now unobtrusive, meaning that if Javascript is off it will still work (although the page will refresh). You can also set the number of rating units you want to use (i.e. 4 stars, 5 stars, or 10 stars) on a rater to rater basis (see samples below or read the docs). A few other changes were made as well - see the docs for details. Note that this script isn't tied to any specific system (such as WordPress), so you should be able to adapt it to your situation without too much trouble.
Good example but how can I get all example code.
Lemon, are you moron, all example codes are above the demo ratings, closly :)
its not a good example for a ie7, but it works perfect on firefox
how can i implement this code in our program
test star rate
this script rocks!!
Danke.ich bin ein Stück weiter mit der Installation.
a really nice Script.
Anyone know how I can include this on multiple records like a voting of random things in a db?
i have a problem its says this: 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 '-e_starrate.ratings WHERE id='id21'' at line 1
any1 tried this on a framework?
I don't have this star rating script installed, but I have another that looks and works almost exactly the same. Isn't anybody else receiving TONS of spam ratings? Every day I get like 100 random spam ratings from an IP. I wish I had more talent in the Ajax department as I'd create a little pop-out bar or something with a mini captcha in it. What I've had to do is add another 'status' field to the MySQL table. It gets set to 0 by default. At 0 it is not factored into the rating. Then about once a week I go into PhpAdmin and delete all the phony looking entries (a slew of votes from the same IP on multiple items). What's more, I can't figure out what the benefit is to the spammer.
ive got this problem. 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 '-ratings.ratings WHERE id='id21'' at line 1
como lo bajo???
I have put this script in my project, but there's still a problem : when the one of the stars is clicked, the whole page is refreshed. I got a folder with the example as I has downloaded it and it works fine. but not when it is implemented in my website. Thanks
Thanks! Star Rating is very good:)
I did better version without checking Ip every time,when you want to vote. It's not correct for me , because it's just another query - For an example ,u have on the page 10 rate bars, it's equal 10 queries. I did some modifications with using "Cookies",every time i checking a cookie array seperated by ";", It's look like "2;3;43; I just searching my id number in cookie array. Logical system is the same,i just use cookies with lower sql queries. For code u could write me :) I deleted
nice script...i had tried it and loves it..
Cool script, thanks
good example,but can u give me full code for this
good but can u provide me this example with using C# with asp.net coding
Can you provide me the full code of this rating example?
Can you provide me the full code of this rating example? it is showing error like error: require() [function.require]: Failed opening required '_drawrating.php' please provide me _drawrating.php file.
Pooja, i think its a full HTML code.I have tried. U can......
This is not working on Chrome?
nice but not so....
Very helpful. Nice job.. Thanks for sharing
Great Ajax star rating system. I'd like to promote that on my site. I have some good widgets there. Check them out at appsandwidgets.net