<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Human factor problems</title>
	<atom:link href="http://www.gdstarrating.com/2009/02/03/human-factor-problems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gdstarrating.com/2009/02/03/human-factor-problems/</link>
	<description>A WordPress Rating System</description>
	<lastBuildDate>Sun, 06 Nov 2011 22:12:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: MillaN</title>
		<link>http://www.gdstarrating.com/2009/02/03/human-factor-problems/comment-page-1/#comment-431</link>
		<dc:creator>MillaN</dc:creator>
		<pubDate>Mon, 23 Feb 2009 20:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdstarrating.com/?p=263#comment-431</guid>
		<description>They can&#039;t vote again because both IP or cookies will prevent it. I am not sure about timestamp in your code.</description>
		<content:encoded><![CDATA[<p>They can&#8217;t vote again because both IP or cookies will prevent it. I am not sure about timestamp in your code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.gdstarrating.com/2009/02/03/human-factor-problems/comment-page-1/#comment-430</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Mon, 23 Feb 2009 20:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdstarrating.com/?p=263#comment-430</guid>
		<description>Sorry but wordpress cutted off some rows of my comment.
Contact me if you can.</description>
		<content:encoded><![CDATA[<p>Sorry but wordpress cutted off some rows of my comment.<br />
Contact me if you can.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.gdstarrating.com/2009/02/03/human-factor-problems/comment-page-1/#comment-429</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Mon, 23 Feb 2009 20:28:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdstarrating.com/?p=263#comment-429</guid>
		<description>This is my solution,i would like to have your opinion:
The idea is checking if within a time period a user with the same IP has rated(legged or not),then if no results are coming from this checking if the logged user has rated.
So i was thinking to modify this:

        if ($user &gt; 0)
            $votes_sql = sprintf(&quot;SELECT * FROM %s WHERE vote_type = &#039;%s&#039; and multi_id = %s and id = %s and user_id = %s&quot;,
                $table_prefix.$table, $type, $set, $id, $user
            );
        else
            $votes_sql = sprintf(&quot;SELECT * FROM %s WHERE vote_type = &#039;%s&#039; and multi_id = %s and id = %s and ip = &#039;%s&#039;&quot;,
                $table_prefix.$table, $type, $set, $id, $ip
            );

into this:

  $votes_sql = sprintf(&quot;SELECT * FROM %s&quot;,$table_prefix.$table);   
  $votes_sql .= sprintf(&quot;WHERE vote_type = &#039;%s&#039; and multi_id = %s  and id = %s and ip = &#039;%s&#039; and timestamp  0)
{
            $votes_sql .= sprintf(&quot;OR WHERE vote_type = &#039;%s&#039; and multi_id = %s and id = %s and user_id = %s&quot;,
                $type, $set, $id, $user
            );

}

By this way you can also avoid users that rated previously to rate again when they are logged.
I would like to know what do you think about this.

Marco</description>
		<content:encoded><![CDATA[<p>This is my solution,i would like to have your opinion:<br />
The idea is checking if within a time period a user with the same IP has rated(legged or not),then if no results are coming from this checking if the logged user has rated.<br />
So i was thinking to modify this:</p>
<p>        if ($user &gt; 0)<br />
            $votes_sql = sprintf(&#8220;SELECT * FROM %s WHERE vote_type = &#8216;%s&#8217; and multi_id = %s and id = %s and user_id = %s&#8221;,<br />
                $table_prefix.$table, $type, $set, $id, $user<br />
            );<br />
        else<br />
            $votes_sql = sprintf(&#8220;SELECT * FROM %s WHERE vote_type = &#8216;%s&#8217; and multi_id = %s and id = %s and ip = &#8216;%s&#8217;&#8221;,<br />
                $table_prefix.$table, $type, $set, $id, $ip<br />
            );</p>
<p>into this:</p>
<p>  $votes_sql = sprintf(&#8220;SELECT * FROM %s&#8221;,$table_prefix.$table);<br />
  $votes_sql .= sprintf(&#8220;WHERE vote_type = &#8216;%s&#8217; and multi_id = %s  and id = %s and ip = &#8216;%s&#8217; and timestamp  0)<br />
{<br />
            $votes_sql .= sprintf(&#8220;OR WHERE vote_type = &#8216;%s&#8217; and multi_id = %s and id = %s and user_id = %s&#8221;,<br />
                $type, $set, $id, $user<br />
            );</p>
<p>}</p>
<p>By this way you can also avoid users that rated previously to rate again when they are logged.<br />
I would like to know what do you think about this.</p>
<p>Marco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.gdstarrating.com/2009/02/03/human-factor-problems/comment-page-1/#comment-427</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Mon, 23 Feb 2009 18:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.gdstarrating.com/?p=263#comment-427</guid>
		<description>What i can say...great job with this plugin.
I&#039;ve only a question,and i think it could be a usefull response to all guys havin such a mind problem...
What happen if...
I rate a post,then i delete the cookie and trying to tove again?

Looking at the source code,the check_vote function do the trick,
and if a user is not logged in you check if that IP has voted for that POST.

Now,my IP is not fixed so,is is possible that another guy getting my IP in the next future cannot rate for this post???
Or again,what if I&#039;m behind an office with multiple users having the same IP?

Thanks in advance
Marco</description>
		<content:encoded><![CDATA[<p>What i can say&#8230;great job with this plugin.<br />
I&#8217;ve only a question,and i think it could be a usefull response to all guys havin such a mind problem&#8230;<br />
What happen if&#8230;<br />
I rate a post,then i delete the cookie and trying to tove again?</p>
<p>Looking at the source code,the check_vote function do the trick,<br />
and if a user is not logged in you check if that IP has voted for that POST.</p>
<p>Now,my IP is not fixed so,is is possible that another guy getting my IP in the next future cannot rate for this post???<br />
Or again,what if I&#8217;m behind an office with multiple users having the same IP?</p>
<p>Thanks in advance<br />
Marco</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced)
Content Delivery Network via cdnx.gdstarrating.com

Served from: www.gdstarrating.com @ 2012-02-09 11:11:46 -->
