Reviews for Listing: Star rating system with JavaScript and PHP

Add/Edit Your Review
Average Member Rating: 3.26/5

Displaying all 9 reviews

  • Take a look to my website to see the ratingsystem fully customized and in action: " ". It's perfect for people who don't know how to work with php, css and html. All of this work is done you only have to change some lines in the code. But don't worry all the lines are marked/highlighted so you find it easy and can customized easy. And you don't have to use a databank/mysql, you got the possibility to use text-files instead, but if you want you can easily connect to your databank/mysql. On my website I use 18-ratings on one site and it works perfectly with no problems in my tested browsers (Safari, Google Chrome and Firefox). I'm sure it works in the other browser too. It's the perfect system to got ratings from the users. I can recommend it to any person. I don't have many experience so I contact the developer for 2 questions and he answer very fast (only a few hours) and give me the solution. That's an excellent support. 5/5 or better 10/10. :)

  • the wording and instruction are not clear. it seems that the indtructions are for different product.. but close enuff

  • Nice tutorial very good to learn i found a tutorial on same topic star rating system and it is also very good to understand with demo also i also recommend that have a look

  • If you want to see how this script works, go to and select any photo. This script is excellent! I tested saving the data as text file and MySQL. Both works. I really can't think of anything where the script can be further improved. PROs: ============== 1) It allows specifying a product ID by adding rating_id = 'xxxxxx' to your webpage. So you can call the same rating record under different pages but still showing the same result. In my case, I have English and Thai versions for each of my photo page. If you click on the switch language icon (the flag icon on top of the website), you will see how it works. 2) Very neat design. 3) You may specify the number of stars and text (such as Terrible, Poor, Average, Good! and Excellent!!!) up to 10 stars. I use 5 stars. 4) The script does NOT call externally (such as calling a Javascripts or file at the developer's website). 5) It let you specify (in seconds) how long the voter can re-vote. By default it is a year. CONs: ============== Nil IMPORTANT NOTES: ============== If the star rating system does not show up (instead, it shows only the "loading" text) on your webpage, it might have been blocked by your server's security feature. In my case, I am using ModSecurity and the standard OWASP ModSecurity Core Rule Set. - 981261 SQL Injection Attack Detected via LibInjection. Once I added Rule ID 981261 to the whitelist for my domain name (I added this under cPanel/WHM >> ConfigServer ModSec Control), the script works flawlessly.

  • It uses document.write() to create its container element. If you have any kind of dynamic setup, you'll have to rewrite that portion of the client-side code, since document.write() isn't supposed to be used after the DOM has loaded. Furthermore, you'll have to add some isset() calls in the back-end PHP code since if you don't, you'll get at least 3 PHP warnings showing up on the output page. Other than that, when you invent your own client-side setup for it, so that it will smoothly create its container, it's pretty decent. The quality of the design of the code is very novice-level. Inconsistent code style, indentation is ridiculous, etc. The only saving grace is that the core algorithm works, so you only have to do some cleanup work around it, basically to fix the issues I've already mentioned.

  • This script works as easy as described!! Great product, easy to configure.

  • Instructions were straight forward. Worked on the first try, no problems.

  • I'm using it to rate mal items... Easy to include and change langsame. Not easy to reset votes (txt-flies needs to be edited).

  • Made heavy modification to it in terms of CSS and info displayed. Bottom line it was easy to modify and it works!