Posted by GabrielGadfly on March 31, 2009 at 2:59am
Jump to:
| Project: | User Points Contributed modules |
| Version: | 5.x-3.0 |
| Component: | Code: referral_points |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
Noticed something while testing referral_points. The multiplier works fine when points are being awarded, but the module doesn't check to see if the integer is positive, so whenever the referred user loses points, so does the referrer. For example, when referral_points is set to 10%:
Referred User lost 10 points.
Referring User lost 1 point.
I plan on using the Ecommerce points-as-payment option, but I'd like to make sure my referrers don't lose points when my referred users buy something. Is there any way to modify the code in referral_points.module to make it so it only adds points and never subtracts them?
Comments
#1
Sorry for pinging the participants.
Now that Drupal 7 is out, there is no support for Drupal 5 and the
corresponding modules anymore. Therefore, I'm closing all old issues
which are still open.
I suggest you upgrade to Drupal 6 or 7 and figure out if you're feature
is still needed or the bug still exists and open a new issue in that
case.