Maniacomputer Web Mail     Powered bydeskNow
     Learn More
    or     Register
Useful

Links

Free technical Tutorials At techtutorials.net



Link Exchange at iWEBTOOL.com

 


For the graphics you need on your website

For javascript
195
            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:



Installation

  1. Download 5Star Rating 1.1
  2. Unzip the Folder and upload it to the root folder of your web site
  3. Make sure the file library/config.php has read and write permissions
  4. username with create, update, delete, insert permissions
  5. Open your browser and type in the address bar :
        - www.yourdomain.com/5starRating/instal/instal_rating.php
  6. Fill all fields and run the installer. You've finish.
  7. Delete 'install_rating.php' after the installation.
  8. 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.
  9. 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.

















Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial 2.5 Australia License.