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
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

MarcoR - November 11, 2007 - 16:24
Assigned to:Anonymous» MarcoR
Status:active» patch (to be ported)

OK, we use usernode_save_node($node); instead of node_save($node);. This is supposed to invoke all hooks properly.

Will be fixed in next dev version.

#2

MarcoR - November 12, 2007 - 17:14
Status:patch (to be ported)» active

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

MarcoR - January 5, 2008 - 02:07

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.

 
 

Drupal is a registered trademark of Dries Buytaert.