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

Star Rating System PRO Question

 
Author Anonymous
Guest
#1 Posted: 11 Aug 2003 05:52:43
Reply 
Hello,

I'm currently running SRS 1.4 on my website (motogpdesigns.com) and have run into a problem with visitors voting multiple times and using that vulnerability to abuse the rating system. Basically what they are doing [I believe] is that they're voting, and as soon as the white screen comes up with various statistics, they're hitting the back button (before the redirect takes place) and voting again... and again... and again. Does the pro version of SRS include better protection in this area other than cookies... such as logging individual votes in a separate database? The trick I mentioned didn't appear to work with your PRO demo sites, but I'm looking for a little more assurance.
Author software
Admin
#2 Posted: 11 Aug 2003 13:55:03
Reply 
We started to study this possibilities ...
Thank you for this.
Author motogpd
Forums Member
#3 Posted: 24 Aug 2003 12:13:40 Edited by: motogpd
Reply 
Thank you very much for the fixes in version 1.6. Great stuff!

However, there appears to be a small error in cls_rate.php that you may want to investigate. Having the "setIP" function call in the following location...

- - -

// Update Rating

if(!$isMarked)
{
$sql = "UPDATE Rate set Num_Votes='$new', Votes='$row[2]', Rating='$row[1]', IP='$ip_address' ";
$sql .= "WHERE Item = '$file' ";
$retid = mysql_query($sql);
if (!$retid) { echo( mysql_error()); }

$this->setIp($id);
}

- - -

actually results in views being logged by the vote logging database instead of votes. Basically what happens is that code gets executed as the page loads (but after the voting form has been generated), you get marked in the logger database, and when you vote... everything goes normally on the redirect screen, but the original page will say "Not Yet Rated", have no voting form and the vote is not written to the database.

Moving the function call to an If statement tied to an actual vote value being submitted seems to have resolved the problem for me:

- - -

if ($Rate > 0) {
$this->setIp($id);
}

// Update Rating

if(!$isMarked)
{
$sql = "UPDATE Rate set Num_Votes='$new', Votes='$row[2]', Rating='$row[1]', IP='$ip_address' ";
$sql .= "WHERE Item = '$file' ";
$retid = mysql_query($sql);
if (!$retid) { echo( mysql_error()); }
}

- - -
Author software
Admin
#4 Posted: 24 Aug 2003 21:38:44
Reply 
Thank you, we will investigate it ...
Author user
Guest
#5 Posted: 1 Jun 2005 20:36:17
Reply 
I have a question, instead of using word links to the rate and review page, can you use images? Like in your example of pages using Star rating, the site http://www.buy-the-domain-name.com/rate_registrar/, it has links to the hosts review etc...can you use an image to link to it?

Also, does the free version have bad word filters as well?
Author user
Guest
#6 Posted: 1 Jun 2005 20:38:24
Reply 
Also I notice that with that example, there was no pagination for the reviews or the links to the reviews...

can this be done with the free or pro version? Like only show ten reviews per page, or ten links to the review per page?
Author software
Admin
#7 Posted: 1 Jun 2005 22:59:42
Reply 
http://www.buy-the-domain-name.com/rate_registrar have modified to get that list. We use JavaScript for it. Dunno how can be lonked an image, I do not understand it exaccttly what you want.

About Words filter, no, not have either PRO or FREE (freedo not have Comment part)

Pagination is included since version 2.1
 
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.