I have a question regarding the max_points field, if you don't mind. I see some values that I don't understand. For example, a user comments on a blog post and gets 1 point. Points = 1, max points = 1. User comments on another blog, and gets another point. Points = 2, but now max points = 3. That doesn't make much sense to me - max points should be 2, as far as I can tell.
If that user goes and spends a point, max points should still be 2, but points should be 1.
Another example:
- User currently has 500 points, max points is also 500.
- User spends 200 points. Current points is now 300, but max points is 500.
- User gets another 600 points. Current points is now 900, but max points is 1100.
What are your thoughts?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | userpoints_7.patch | 1.14 KB | ebeyrent |
| #2 | userpoints_6.patch | 1.22 KB | ebeyrent |
Comments
Comment #1
kbahey commentedCheck this http://drupal.org/node/168634
Comment #2
ebeyrent commentedI have attached a patch for this issue. In summary, if the number of points is greater than 0, the points are added to the max points, instead of adding the current points to the max points.
Comment #3
ebeyrent commentedLet's try this again - fixed the patch paths...
Comment #4
jredding commentedThanks for the patch. It has been incorporated into v3.
Comment #5
(not verified) commented