LinkShare  Referral  Program

New

Advertise ad Here
learn more
Useful

Links

Free technical Tutorials At techtutorials.net



Link Exchange at iWEBTOOL.com

 



The PHP Resource Index
            Dowload >5 starRating 1.2 > Support Page

5 Star Rating System Support page

5StarRating Version 1.2
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:



New Installation

  1. Download 5Star Rating 1.2
  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. Set security setting for the file library/config.php with no write and modify permissions for all users
  9. 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..Or you can use relative path.
  10. 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.
  11. In this new version you also have a Admin Control Panel.Look at this example username admin password admin
  12. Set your password and usrename when installing.

Have a look at the way the file NewRating.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.