Forums Sign Up Reply Search Statistics
Star Rating System GraFX Software Solutions - Forum / Star Rating System /

AJAX Star Rating

 
Author alfq
Forums Member
#1 Posted: 7 Jan 2009 13:11:44 Edited by: alfq
Reply 
Hey there, first im sorry for my bad english. Im from Germany and try to find help here.
So i installed the script entering all datas in the config nd so on. It works good but its not AJAX. The site reload all time i voted. I thought if its AJAX it doesnt reload?!

Here´s the link to the site so u can take a look how it looks like:
http://alfq.bplaced.net/langweilich/rater/test_rat e_ajax.php?ID=1

I also change this line to "ID" because of the site ID

$var_array = array(0=>"ID");

before i change it was "id"!

There are also all Datas in the database like Item: test_rate_ajax.php?ID=1

I need your help :(

alfq
Author alfq
Forums Member
#2 Posted: 8 Jan 2009 17:01:03
Reply 
please, need your help :(
can somebody help me with it?
thanks
Author software
Admin
#3 Posted: 9 Jan 2009 10:34:34
Reply 
We try to see why this is happening, today programmers will try to figure out.
Author alfq
Forums Member
#4 Posted: 9 Jan 2009 13:12:09
Reply 
hey there, thanks for the mail and now the answer.
Maybe there is a mistake in my code.
i can post it here:

<?php

include "/users/alfq/www/langweilich/config.inc.php";


$conn = mysql_connect("$host", "$user", "$password");
mysql_select_db("$datenbank", $conn) or die("Fehler:".mysql_error($conn));

$sql = "SELECT * FROM `$dbk_links` WHERE ID =" . $_GET['ID'];
$ergebnis = mysql_query($sql, $conn) or die("Fehler:".mysql_error($conn)."<br><br>$sql");
while($row=mysql_fetch_assoc($ergebnis))
{

$videoid = $row['ID'];
$title = $row['beschreibung'];

}

?>

<?php

/*

YOUTUBE

*/


$sql = "SELECT * FROM `$dbk_links` WHERE provider = 'youtube' && ID =" . $_GET['ID'];
$ergebnis = mysql_query($sql, $conn) or die("Fehler:".mysql_error($conn)."<br><br>$sql");
while($row=mysql_fetch_assoc($ergebnis))
{

$provider = $row['provider'];
$kategorie = $row['kategorie'];
$link = $row['link'];

define("YOUTUBE_WIDTH", 425);
define("YOUTUBE_HEIGHT", 355);
$video_youtube = "<object type=\"application/x-shockwave-flash\" data=\"http://www.youtube.com/v/###URL###\" width=\"".YOUTUBE_WIDTH."\" height=\"".YOUTUBE_HEIGHT."\"><param name=\"movie\" value=\"http://www.youtube.com/v/###URL###\" /></object>";

$output_video = str_replace("###URL###", $link, $video_youtube);




echo "<b>";

echo $row['beschreibung'];

echo "</b><br><br>";


echo $output_video;

echo "<br><br><br><br>";



}


?>

So first on top there is your script.
Hope you can help me. Maaybe there something wrong with $_GET['ID']??
Really dont know but hope you can help me.

thanks alfq
Author software
Admin
#5 Posted: 9 Jan 2009 14:58:56
Reply 
No, our programmer implemented wrong. We need to fix.
Author alfq
Forums Member
#6 Posted: 9 Jan 2009 17:05:22
Reply 
Okay thanks... would be so nice if you can fix it. Will there be an official version update?
Author software
Admin
#7 Posted: 12 Jan 2009 13:09:49
Reply 
yes, will be an official update.
Author software
Admin
#8 Posted: 14 Jan 2009 16:54:05
Reply 
OK, we fixed here. http://rate.grafxsoftware.com/test_rate_ajax.php?i d=1
We will release in 1 day the software.
Author alfq
Forums Member
#9 Posted: 15 Jan 2009 14:07:49
Reply 
:) really nice. Saw it yesterday. Will there be an new version (2.4) Or can i download 2.3 again and it works?
Author software
Admin
#10 Posted: 15 Jan 2009 16:32:30
Reply 
Will be 2.4, available today later.
Author software
Admin
#11 Posted: 16 Jan 2009 11:58:00
Reply 
ok, now can be downloaded the new version.
Author rleio
Forums Member
#12 Posted: 5 Mar 2009 03:03:12
Reply 
Can this be easily implemented on Star Rate Pro?

Thank you.
Author software
Admin
#13 Posted: 5 Mar 2009 18:02:54
Reply 
into RATE PRO the Ajax version, no, not yet.
 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.