Location: PHPKode > scripts > Ratings Script > kbratings/kbratings/kbit.htm
<html>

<head>
<title>KBit - Knowledge Base it First | KB Ratings PHP Script</title>
<style type="text/css">  
body
{ font-family: verdana, arial, sans-serif;
  padding: 0;
  margin: 5%;
}
th 
{
text-align: center; 
background: #EDF2F8;
color: #5A6370;
}
td 
{
font : 70%/1.5 Verdana, Arial, Helvetica, sans-serif;
text-align: justify;
padding: 5px;
}
table .border
{ 	
	border: solid 1px #C0C0C0;
}
</style>
</head>

<body>

<table border="0" cellpadding="10" cellspacing="10" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
  <tr>
    <td width="80%" align="center">
<table class="border" cellpadding="0" cellspacing="0" width="100%">
	<tr>
        <th width="100%" height="19">KB Ratings PHP Script</th>
      </tr>
    </table>
    </td>
    </tr>
      <tr>
    <td width="80%">
<table class="border" cellpadding="0" cellspacing="0" width="100%">
	<tr>
        <th width="100%">Description</th>
      </tr>
      <tr>
        <td width="100%">
With this script users/guests on your website can rate your items - articles, listings etc. They can 
select from multiple ratings from a drop down box. Only one vote per IP can be voted 
(within a pre-specified time), but many a times it may happen you have many users from
1 particular IP and if one user votes then others from the same IP are not able to rate
from that IP. So, here you can set a time limit after which a vote from IP can be consider again.
The votes get store with time of vote but all those votes which crosses the time limit you specify
are removed.<br>
There are 3 tables:<br>
1) For your item details
2) Stores the Ratings
3) User Rating, IP, Time (temporary) etc.<br><br>

Also, when a user votes/rates, a cookie is established at users end for a specific time, so that
a user can't vote again (for the same item, if that user has already voted for the item and
the IP removing time period has passed) until he deletes the cookie at his end. You can use a function on any page to get the current ratings for an 
        item.</td>
      </tr>
    </table>
    </td>
    </tr>
      <tr>
    <td width="80%">
<table class="border" cellpadding="0" cellspacing="0" width="100%">
	<tr>
        <th width="100%">Features</th>
      </tr>
      <tr>
        <td width="100%">
<ul>
<li>Easy to implement</li>
<li>You can use a function on any page to get the current ratings for an 
        item.</li>
</ul>
        </td>
      </tr>
    </table>
    </td>
    </tr>      
      <tr>
    <td width="80%">
<table class="border" cellpadding="0" cellspacing="0" width="100%">
	<tr>
        <th width="100%">Installation</th>
      </tr>
      <tr>
        <td width="100%">
        <ul>
        <li>Upload index.php, rating_function, images (folder) and config.php to the web directory you want use it into</li>
        <li>Edit config.php with your database details</li>
        <li>Run or execute in your database SQL mode create.sql to create 3 tables with data:
        	<ol>
        	<li>scrrating</li>
        	<li>scrratinglist</li>
        	<li>scrratingvot</li>
        	</ol>
		</li>
        <li>Run index.php in your browser</li>
        </ul>
        </td>
      </tr>
    </table>
    </td>
    </tr>
      <tr>
    <td width="80%">
<table class="border" cellpadding="0" cellspacing="0" width="100%">
	<tr>
        <th width="100%">Attributes</th>
      </tr>
      <tr>
        <td width="100%">
        <b>Author</b>: KB<br>
        <b>Version</b>: 1.0<br>
        <b>$$$</b>: Free<br>        
        <b>Date</b>:  3rd Feb. 2008</td>
      </tr>
    </table>
    </td>
    </tr>
      <tr>
    <td width="80%">
<table class="border" cellpadding="0" cellspacing="0" width="100%">
	<tr>
        <th width="100%">Terms of Use</th>
      </tr>
      <tr>
        <td width="100%">
<ul>

<li>You should add a link pointing to KB PHP Scripts HuB with in the page you are using this script, 
suggestions for  
        <a href='http://scripts.webpany.com/index1.php?page=help/linktous' title='Link to Us'>Linking me</a></li>
<li>You cannot further distribute and gain credits for my scripts. If you are using this script 
and if any loss that may happen to any user in any way then I am not responsible 
for it in any way.</li>
</ul>
        </td>
      </tr>
    </table>
    </td>
    </tr>    
      <tr>
    <td width="80%">
	<table class="border" cellpadding="2" cellspacing="0" width="100%">
		<tr>
        <th width="100%">Help</th>
      </tr>
      <tr>
        <td width="100%">
        <b>PLEASE NOTE:</b> I cannot provide free installation support for this 
        free script! Please contact me ONLY about possible bug reports, suggestions or comments!<br>
        Check out Reviews/Comment section for this Script
		</td>
      </tr>
      <tr>
        <td width="100%">
        <p>If you use my scripts then you can put up a text or an image link of Webpany.com 
        on your website/blog/forum etc. and I will appreciate it, suggestions for  
        <a href='http://scripts.webpany.com/index1.php?page=help/linktous' title='Link to Us'>Linking me</a></p>
        <p>
        You can help me by HUGging at: <a href='http://scripts.webpany.com/index1.php?page=help/hugus' title='Hug Us'>
        HUG Me</a></p>
        <p>
        If you like this script then you can rate or submit reviews/comments at:<br>
        Hotscripts.com<br>
        Scripts.com<br>
        Web.Webpany.com</p>
        <hr width="80%" align="center">
        </td>
      </tr>
      <tr>
        <td width="100%">
        Regards,<br>
        <b>KB Webpany.com</b><br>
        <a href="http://scripts.webpany.com">http://scripts.webpany.com</a></td>
      </tr>            
    </table>            
    </td>
  </tr>
</table>

</body>

</html>
Return current item: Ratings Script