Voting Script Development Help

@angeldev (171)
Romania
July 3, 2010 1:21pm CST
I own a browser game and I've created a voting script. Players click on a button, they are directed to a voting website, they vote and they get a point as reward. The problem is that they get the point even if they dont vote, because the point is given when they click the button ( and they can click the button only once for 24 hours ). How can I check if they still have a tab with the voting website open? Or how can I make a frame page with a countdown on top with 30 seconds or so.. so I can be sure that the player at least stays on that page.
1 response
@wmraul (2552)
• Bucharest, Romania
3 Jul 10
Move the "give the reward point to user" under the "submit vote" button. or Insert in sql php script an if-else (if user voted + point, else alert"you did not voted, you must vote to get our bonus points")