Hi,
i'm using vote up/down together with userpoints. As already described here the author of a node get's rewarded with 10 points by error when another user votes for his content. I haven't defined any actions regarding this.
in the userpoints_txn table it shows "snip" as event which is the name of my content type and the 10 points normally are the value for the users when creating a new snip. So it seems like the votes are handled as new snip by error? i don't know exactly but that hasn't been an issue a few days ago and i can't combine any things i did which could have caused this.
Comments
Comment #1
frjo commentedI have had some weird problems with Voting actions for Drupal 5 that sounds similar to your problems.
Do you have one action that is some context award the node author 10 points?
See my issue here http://drupal.org/node/144927.
Try do deactivate/remove this voting action and I think your problem will go away.
Comment #2
fhelmschrott commentedHi frjo,
thanks for your quick reply. No unfortunately i don't have any action rewarding points. The only two actions i have are the ones that promote a node to the frontpage with more than X points in summary and remove it if the points fall below.
That's all with actions :( I will try to remove them and rebuild them - don't think this will help.
Comment #3
fhelmschrott commentedok you were right - it's definitely the voting actions - they seem to buggy anywhere. After deleting the options the problem went away, but that's not really a solution as i need the promotion to the frontpage ;)
Currently i use this action to get nodes to the frontpage:
"All individual votes" - "Credits" - "Updownvote" - "Is greater than or equal to" - "3"
-> "Promote node to front page"
and this to get them from the frontpage:
"All individual votes" - "Credits" - "Updownvote" - "Sum" - "Is less than" - "3"
-> "Remove node from front page"
Any idea for alternatives?
Comment #4
fhelmschrott commented"Any vote result" of course and not "All individual notes", sorry.
Comment #5
frjo commentedComment #6
fhelmschrott commentedi don't know why this bug got closed, but it's not solved yet afaik.
I started a new project yesterday where the same problem came up after some unknown circumstances.
First everything worked fine. After we setup some points for creating nodes of a special type that thing happened again -> the author of the node get's the amount of points set for creating a node (in this case 6 points) when someone votes on his node.
The only action in the game is the one that promotes nodes to the frontpage. it looks similar to the one described above.
Comment #7
frjo commentedI closed it because it's not a Vote up/down problem, it's a Voting action module problem.
Comment #8
fhelmschrott commentedas far as i can see until now it seems to be a problem between vote up/down and userpoints. Even with your little sandbox actions the points get rewarded on promotion. even if i take out the vote_up_down_userpoints_add and even if the action points are set to 0.
userpoints seems to think this is a node creation and awards the point amount setup for creating a node of this type for the vote. strange things happen.