Login   Register  
PHP Classes
elePHPant
Icontem

Star rating: Update votes and display rated content with stars

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Sudhir Chauhan
Name: Sudhir Chauhan <contact>
Classes: 5 packages by
Country: India India
Age: 35
All time rank: 1687 in India India
Week rank: 174 Down20 in India India Down


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Sudhir Chauhan  >  Star rating  >  Download Download .zip .tar.gz  >  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
Version: 1.1
PHP version: 5.1.4
License: The PHP License
All time users: 3954 users
All time rank: 721
Week users: 3 users
Week rank: 588 Up
 
  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  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (87%) Sufficient (78%) Sufficient (65%) Sufficient (71%) - - Sufficient (65%) 477
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
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
Accessible without login Plain text file readme.txt Doc. steps to use this example
Accessible without login Plain text file stars.css Data stylesheet used to create stars
Accessible without login Image file star_rating.gif Icon gif image used to create stars using css
Accessible without login Plain text file rpc.php Example the file used by ajax to send request to rating manage
Accessible without login Plain text file db.sql Data database schema contains table structure and example id
Accessible without login 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
Accessible without login Plain text file index.php Example the file used to run example

Download 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.