new votingpoints contrib not working for me

sziggle - January 31, 2009 - 02:30
Project:User Points Contributed modules
Version:6.x-1.x-dev
Component:Code: votingpoints
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

WOW, exactly what i need when i need it. but i can't get it to do what i want, so i am hoping you can help me.

i think that the votingpoints.rules_sample.inc is supposed to be creating a sample rule in rules that will award userpoints to the author of a node or comment that is being voted on (i sure hope that is what this module will do).

but when i install the module against either rules 6.x-1.0-beta3 or 6.x-1.0-dev, no sample rule is created and i am unable to create a rule that accesses the author of the content instead of the user who is voting.

can you give me a step-by-step on how to award points to the content author?

thanks very much.

#1

kbahey - January 31, 2009 - 17:24

The module was written by Stalski http://drupal.org/user/322618.

I sent him a note pointing him to this issue so he would reply to your query.

#2

sziggle - January 31, 2009 - 17:55

thanks, i also direct PM'd him when i created the issue here, so he's probably sick of hearing it already.

i decided that the rules-based approach to my use-case wasn't the best way to go, so i created a new module based on userpoints_votingapi that does what i want instead. please include it in userpoints_contrib if you want to. module attached here.

AttachmentSize
userpoints_vote_for_author.zip 10.17 KB

#3

kbahey - January 31, 2009 - 18:06

It does not make sense to include it in userpoints_contrib as it contains a dependency on an external module.

You are better off opening a new issue for userpoints_votingapi and attach your code. It would belong better with the parent module.

#4

nirad - March 27, 2009 - 00:56

Hi sziggle,
I downloaded userpoints_vote_for_author but I can't figure out how to configure it. It does not show up in the Userpoints configuration form.

#5

nirad - March 27, 2009 - 21:25

I disabled Userpoints Voting API and a section for "Vote for Author" showed up in the Userpoints form, but the only option available is "Moderate votes" - there is no section for choosing the number of points to award or the category of points.

#6

nirad - March 27, 2009 - 22:29

the same issue is being worked on here: http://drupal.org/node/317585

#7

johlin23 - April 21, 2009 - 12:18

I installed this module, but for some reason, no points are going to the author, but are still going to the voter. Did I not disable something, or do I need to enable something else?

Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.