points bug

ankerek - September 6, 2008 - 14:08
Project:User Points Top Contributors
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

I have 10 points in last 1 week. And I post a node. I have 13 points in last 1 week. And if I delete the node, I have 13 points .. not 10. (I runned cron)

#1

kmillecam - September 8, 2008 - 02:37
Status:active» won't fix

This is actually how the User Points module behaves. (Userpoints Top Contributors just uses data generated by the User Points module.)

When a user earns points and those points are approved (automatically approved or moderated then approved) they become part of the historical record and are stored in the userpoints_txn table.

Even if a node is deleted, the points were approved and are still part of the historical record.

If, however, you have "moderate points" turned on and declined the points instead of awarding them, the entry would be marked as "denied" in the transactions table and no points would show on the user's balance (or lifetime balance).

 
 

Drupal is a registered trademark of Dries Buytaert.