Postponed
Project:
BitTorrent
Version:
6.x-9.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2009 at 05:03 UTC
Updated:
11 Jul 2009 at 01:30 UTC
I'm sure this is a long way off, but I'd love to see the new Drupal 6 version of this module to integrate with Userpoints. The idea is that you could specify an amount of points to award or subtract based on a user's share ratio.
Example: Users who have a ratio of over a set amount (say 1.0) are awarded a set amount of points (say 100). If they drop below a set amount (say 0.7), they lose a set number of points (say 150).
An ideal setup would allow admins to set all the above values for full control.
Comments
Comment #1
bradfordcp commentedHow often would these "points" be updated. This needs to be fleshed out a little bit more. I think I get the general gist thought, it sounds like a good idea. I am working a bit of code into the tracker module to load the user information into the object. So you may access / calculate the user's ratio in real-time.
Comment #2
TwistedLincoln commentedUpdating in real time would be awesome, but I imagine that would strain the server more than it would be worth.
If the ability to calculate the ratio at any time is on its way, then I'd probably just update the userpoints for all users whenever cron is run. Basically it would take whatever ratio each user has at the time of cron and post the userpoints accordingly based on that figure.
The system would only be as accurate as how often you set cron to run, but since that's up to the admin it shouldn't matter.
Comment #3
bradfordcp commentedNow that I have the big picture this wouldn't be too difficult to implement. I am up to my eyeballs in getting a stable release out, but this will go on the list of things to be put in shortly thereafter.
Comment #4
liquixis commentedComment #5
liquixis commented