Login   Register  
PHP Classes
elePHPant
Icontem

Star rating

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sudhir Chauhan  >  Star rating  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Star rating
Base name: ajax_star_rating
Description: Update votes and display rated content with stars
Related classes: , , , , , , ,
Version: 1.1
PHP version: 5.1.4
License: The PHP License
All time users: 3634 users
All time rank: 739
Week users: 6 users
Week rank: 581
 

  Author  
Picture of Sudhir Chauhan
Name: Sudhir Chauhan <e-mail contact>
Packages: 5 Browse all classes by Sudhir Chauhan Browse all classes by
Country: India India - PHP jobs in India
Age: 33
All time rank: 1797 in India India
Week rank: 125 Up12 in India India Down


  Detailed description  
This class can be used to update user votes and display rated content with star images.

It can store in a MySQL database the ratings given by each user that votes on content keeping track of the IP addresses of the computers from which each user votes.

The class shows a row of stars to let the user vote on the content. Votes are submitted to the server via AJAX.

It can also display the stars that correspond to the current average of votes from all users of different IP addresses.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Content management Components and tools to manage content View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (87.5%)
Sufficient (78.1%)
Sufficient (65.6%)
Sufficient (71.9%)
-
-
Sufficient (65.3%)
437
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file readme.txt Doc. steps to use this example
Plain text file stars.css Data stylesheet used to create stars
Image file star_rating.gif Icon gif image used to create stars using css
Plain text file rpc.php Example the file used by ajax to send request to rating manage
Plain text file db.sql Data database schema contains table structure and example id
Plain text file js.js Data the file contains ajax code and other java script code that is responsible for changing start status
Plain text file RatingManager.inc.php Class file contains database class and rating class handles all functionality of star rating
Plain text file index.php Example the file used to run example

Download all files: ajax_star_rating.tar.gz ajax_star_rating.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.