Adding Star Ratings to J-Board
From KitchenTwo
Grab the star script ratings from here:
Download the package,
Upload the css, images and js folders to the root folder of your J-Board.
Open the readme.txt file and create the table in their in your J-Board database using phpmyadmin.
Open _config-rating.php and put in the details of your J-Board database, save and upload to the root folder of your install.
Now upload _drawrating.php, db.php and rpc.php to your root folder.
Now open your header.php from your J-Board theme.
Add these three lines above the </head> tag
<script type="text/javascript" language="javascript" src="<?php echo SITE_URL; ?>js/behavior.js"> </script> <script type="text/javascript" language="javascript" src="<?php echo SITE_URL; ?>js/rating.js"> </script> <link rel="stylesheet" type="text/css" href="<?php echo SITE_URL; ?>css/rating.css" />
Also add this line somewhere near the top of the header file
<?php require(ABSPATH.'/_drawrating.php'); ?>
Save the header.php file and upload to your theme folder. Now open the _job.php file from your theme folder and place this exactly where you want the star rating to show, I would suggest just above the about div
<div style='clear:both;margin-top:20px;'> <?php echo rating_bar($job_id,'5'); ?>
Save and upload and you should be good to go.

