I think, that this peace of code in userpoints_nodeapi() doesn't work:

      $orig_node = node_load(array('nid' => $node->nid));

Actually, a node is updated when userpoints_nodeapi is processed. So $orig_node ALWAYS contain the same information as $node. I am now trying to figure out how to hack this because i need to see node diff

Comments

berdir’s picture

Component: Code » Code: userpoints API
Status: Active » Closed (won't fix)

Sorry for pinging the participants, I am closing old issues. This version is not supported any more.

You are of course welcome to re-open this issue for a newer version if the bug still exists or you still want to add this feature.