yes, but some of players playing in computer shop will complain about that. :))
Printable View
I didnt had too much time to work on these but ill give a look to do something with it. But also u can just remove the IP check from the code and it will allow to vote multiple times / IP.
Edit: Also wanted ask Alphakilo if u finished that script u were speaking about?
In vote.php change this part:
To this:Code:$q = mssql_query("SELECT ip, accName, lastVoteDate FROM dbo.votes WHERE ip = '".$data['ip']."' OR accName = '".$data['accountName']."'");
//Never used. So why even bother?
//$get = mssql_num_rows($q);
$r=mssql_fetch_array($q);
$votetime = $r[lastVoteDate];
//Keep in mind, this is an array you're checking against. This will only check the first record ($r[0])
if ($r[ip] == $data['ip'] || $r[accName] == $data['accountName'])
{
die("<p align=center><font color=blue>You already voted. Check back at $votetime. </br><a href='javascript:history.go(-1)'>Go back.</a></font></p>");
}
I hope i didnt messed up cos im in hurry (lol) :thumbup1:Code:$q = mssql_query("SELECT accName, lastVoteDate FROM dbo.votes WHERE accName = '".$data['accountName']."'");
//Never used. So why even bother?
//$get = mssql_num_rows($q);
$r=mssql_fetch_array($q);
$votetime = $r[lastVoteDate];
//Keep in mind, this is an array you're checking against. This will only check the first record ($r[0])
if ($r[accName] == $data['accountName'])
{
die("<p align=center><font color=blue>You already voted. Check back at $votetime. </br><a href='javascript:history.go(-1)'>Go back.</a></font></p>");
}
i will try to make this load in the iron site.
Wish me luck.If i succked i will post here how i did it.
Have you ever thought how we can prevent users from reciving the reward untill they enter the security code on the voting site?
the script cant vote (example : 4link) because limit 1user/1ip per vote..
how to vote 4 link in 1 id/ip?
Here is a newer version of the vote script:
http://forum.ragezone.com/f458/vote-...v0-3-a-798843/