You have implented rewards system on your server. So how to check if user has voted on Rune-Server TopList?
Easy!
Solution 1(Ip check):
Code:
<?php
$serverid = 1; // This is your server id, you need to change this value!!!
if(file_get_contents("http://www.rune-server.org/toplist.php?do=hasvoted&sid=" . $serverid . "&ip=" . $_SERVER['REMOTE_ADDR']) == "true")
echo "User has voted.";
else
echo "User has not voted.";
?>
Solution 2(Incentive postback):
You specify postback url in TopList.
Example:
Code:
http://www.yoursite.com/postback.php?data=
When linking your player to vote, you include 'incentive' variable with id, hash, ip or whatever you like.
Code:
http://www.rune-server.org/toplist.php?do=vote&sid=yourserverid&incentive=idorhash
You will receive HTTP GET request when player votes.
Code:
http://www.yoursite.com/postback.php?data=idorhash