![]() |
Up/Down Voting System
Sites like Reddit and the Stack Exchange network have seen tremendous success with the up/down voting model for selecting the best of a set of posts. I wanted to apply this to a suggestions window and allow players to submit ideas and vote on those ideas. And thus, I present you my implementation of an up/down voting system for Graal.
http://uploads.graalcenter.org/upload/bonus-window.png This system is fairly minimal and is lacking some features I'd like to have. I doubt if I'll ever have time to implement them, so I encourage anyone who is interested to take the source code and run with it. Current Features
Future Features? Eventually, I'd like to make some improvements.
About the Anti-Cheating System There are thresholds for most upvotes per hour, most downvotes per hour, and ratio of upvotes:downvotes. Votes may be "suppressed" (visible only to the voter) if the script thinks they're cheating. In addition, the vote count is randomly changed slightly each time it is refreshed to make it harder to game the system. The defaults are tuned to encourage upvotes more than downvotes, with a low threshold for downvotes per hour (meaning a lot of them get suppressed). Instead, it relies on players to upvote the ideas that they support. Installation
The system should now be working :). I welcome feedback and suggestions, but again, I probably won't have time to make any big changes. I encourage anyone interested to improve the code to add new features, especially the ones I mentioned about that were lacking. |
dat sexy ui gj
|
*up vote*
|
| All times are GMT +2. The time now is 10:06 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.