Parašė ramon· 2008 Vas. 18 13:02:57
#3
Cituoju
bdZ:
######### Instoliacija #########
1. kopija
includes/ratings_include.php failo
2. archyvo esancius katalogus (ajaxstarrater ir includes) imesti i pagrindini kataloga
3. konfiguruojam DB
ajaxstarrater/_config-rating.php failas
$rating_dbhost = 'localhost';
$rating_dbuser = '';
$rating_dbpass = '';
$rating_dbname = '';
$rating_tableName = '';
$rating_path_db = '';
$rating_path_rpc = '';
$rating_dbhost - kur stobi
MySQL :D standartas localhost.
$rating_dbuser - prisijungimo vardas (kaip
php-fusion)
$rating_dbpass - prisijungimo slaptazodis (kaip
php-fusion)
$rating_dbname - DB pavadinimas (kaip
php-fusion)
$rating_tableName - pilnas lenteles pavadinimas kur guli reitingas su prefiksu, bet reikia rasyti ne $db_prefix, o pati prifiksa kuris nurdytas
php-fusion. Jeigu prefiksas fsion_, tai
fusion_ratings. kitu atveju
jusu_prefiksas_ratings
$rating_path_db - 'ajaxstarrater/'
$rating_path_rpc - 'ajaxstarrater/'
4. subheader.php
<link rel='stylesheet' type='text/css' href='".BASEDIR."ajaxstarrater/css/rating.css' />
<script type='text/javascript' language='javascript' src='".BASEDIR."ajaxstarrater/js/behavior.js'></script>
<script type='text/javascript' language='javascript' src='".BASEDIR."ajaxstarrater/js/rating.js'></script>
virsh </head>