usernode guestbook interferes with userpoints
MarcoR - November 11, 2007 - 16:10
| Project: | Usernode Guestbook |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | MarcoR |
| Status: | active |
Jump to:
Description
With userpoints and usernode you can give points if a usernode is created.
When a user saves his account settings page, he is given points again each time it is submitted.

#1
OK, we use
usernode_save_node($node);instead ofnode_save($node);. This is supposed to invoke all hooks properly.Will be fixed in next dev version.
#2
The current version in which the current patch is included, usernode_save_node($node); doesn't save the changed comment option. So you cannot change your personal guestbook settings. We need a new solution. Unfortunatly even simple db update doesn't work here. Strange.
#3
Will come back to the original version. This is a conflict between usernode and userpoints. http://drupal.org/node/200596 makes clear that userpoints is not standard conform when saving a node. So a usernode cannot be used to gain points for registration, this functionality must be added in a different way.