That was really helpful kb74. Thanks a lot. I got the terms & conditions thing set up.
I also set up the rating system but ran into a problem.
In the instructions it says look for this line
PHP Formatted Codeif( $index
== 'n' )
in lib_common.php so i can insert the given code above that line. However, I could not find that line anywhere in lib_common.php so I donot know where to install the code. Did you run into a similar problem?
I have already run installratings.php with confirmation of its success.
The code that I have to paste into lib_common.php is:
PHP Formatted Code //If an article there is no sid so look for appropriate variable
= DB_query("SELECT * FROM $_TABLES[ratings] WHERE type='sid' AND id = $gstory")
//See if record exists
= '<IMG ALIGN=absmiddle SRC='