Dowload >5 starRating 1.1 > Support Page
5 Star Rating System Support page
5StarRating Version 1.1
Developed by Joe Pieruccini
under Creative Commons Attribution-Noncommercial 2.5 Australia License
at www.maniacomputer.com
email : jp50@maniacomputer.com
* thanks to a tutorial found on http://www.hotscripts.com/ named "Online 5star
rating"
I can't mention the author nor his site because it isn't there anymore .
pre requisites:
- PHP4 +
- MySql
- 1 database
- username with create,update,delete,insert permissions
- password
Installation
- Download 5Star Rating 1.1
- Unzip the Folder and upload it to the root folder of your web site
- Make sure the file library/config.php has read and write permissions
- username with create, update, delete, insert permissions
- Open your browser and type in the address bar :
- www.yourdomain.com/5starRating/instal/instal_rating.php
- Fill all fields and run the installer. You've finish.
- Delete 'install_rating.php' after the installation.
- Add at the very top of the web page where you want the Rating the following
code:
<?php include ($_SERVER['DOCUMENT_ROOT'].'\5starRating\add_ratingNew.php');?>
- it must be before anything on your page,even white space.I used absolute path
so you can play around with the files directory without being worried.
- Add the following code where you want the rating to be in the page:
<?php
$page_id =1 ;
include($_SERVER['DOCUMENT_ROOT'].'\5starRating\display_ratingNew.php');?>
- If you put more then a rating system on the same page,just
remember to assign it a unique id changing the value of $page_id.
Have a look at the way the file Example.php in the 5Star Rating folder, has been done.
This work is licensed under a
Creative Commons Attribution-Noncommercial 2.5 Australia License.