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

frjo’s picture

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

fhelmschrott’s picture

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

fhelmschrott’s picture

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

fhelmschrott’s picture

"Any vote result" of course and not "All individual notes", sorry.

frjo’s picture

Category: bug » support
Status: Active » Closed (fixed)
fhelmschrott’s picture

Status: Closed (fixed) » Active

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

frjo’s picture

Status: Active » Closed (fixed)

I closed it because it's not a Vote up/down problem, it's a Voting action module problem.

fhelmschrott’s picture

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