Quote:
Originally Posted by sonofskeletor
Im working on a system, for example like this, Login, votepage pops up = [Only registered and activated users can see links. Click Here To Register...], then from there im trying to get it so, if you CLICK the button, it counts the vote even if the code is wrong, then from there it will reload an alternative page, u login, and it will save a number 1 in an empty document containing the character name, then the server will read the document some how and give the rewards, im still building it tho its not as easy as people make out.
if i can getting it working i will release it, but it will be encrypted, its for flatfile 5165
This is were im struggling lol, the rest will be easy
|
Few things..
#1: Use a database... will be MUCH simpler with the php you need to write.
#2: The simplest way to 'check' for vote is only count the vote if they exit your site AND return from top 100.
As I said before, the simplest way but not the most effective.
All vote links go to something like
[Only registered and activated users can see links. Click Here To Register...]
This checks if their ip has voted within last 12 hours (checks database). If they have not voted yet, it sets outTime in database to now.
They must then click your banner on the top 100 site after voting which routes to a
[Only registered and activated users can see links. Click Here To Register...] which checks if their ip is in the database, outTime is within last... 5 minutes? and they have not already claimed their prize.
Assuming all conditions are passed in the votein then you award the account in database. Note: The only SLIGHT issue is handling which account it gets credited to... that's why I'd make them log into your website before continuing and use that login to handle awarding the proper character.
For them to claim reward without voting they'd have to understand how the system works, go through the vote out page and then still do the votein page (url could change any time you wish if you find people are abusing it). Most people are going to take the time in this case to just type the damn captcha.
The other issue is making sure the explanation is clear AND being a top 5-10 server (if not looking for the linkback is difficult). I'm positive their system is more advanced but I seem to remember trinity using this type of a system. We also experimented with it on hellmouth and it worked quite well.