Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Voting reward system?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Haid" data-source="post: 389879" data-attributes="member: 10450"><p>You can use the API to validate if a user has already voted.</p><p><a href="https://github.com/FindRetros/Vote-Validator/" target="_blank">https://github.com/FindRetros/Vote-Validator/</a></p><p>If you implement that on your CMS correctly simply use the following on your rewards page.</p><p></p><p>[CODE]</p><p><?php</p><p>if($FindRetros->hasClientVoted()) {</p><p> </p><p> // User has voted, execute your reward</p><p> </p><p>}else{</p><p> </p><p> // User has not voted, no rewards, redirect to vote or whatever</p><p> </p><p>}</p><p>?></p><p>[/CODE]</p><p></p><p>Note that people will still be able to abuse this with the abundant access to VPN's these days and I'm really not sure what the point in rewarding the vote is, it's not an optional thing; you can enforce voting?</p></blockquote><p></p>
[QUOTE="Haid, post: 389879, member: 10450"] You can use the API to validate if a user has already voted. [URL]https://github.com/FindRetros/Vote-Validator/[/URL] If you implement that on your CMS correctly simply use the following on your rewards page. [CODE] <?php if($FindRetros->hasClientVoted()) { // User has voted, execute your reward }else{ // User has not voted, no rewards, redirect to vote or whatever } ?> [/CODE] Note that people will still be able to abuse this with the abundant access to VPN's these days and I'm really not sure what the point in rewarding the vote is, it's not an optional thing; you can enforce voting? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Voting reward system?
Top