Posted by formicin on July 10, 2006 at 2:51pm
Jump to:
| Project: | Voting Actions |
| Version: | 4.7.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I'm using Vote UpDown, Voting Actions, Actions, Voting API modules and they work fine on nodes(promoting, unpublishing).
But I couldn't make them work on comments. I can see the widget, I can use it, my vote is cast but no action is done.
I wanted to unpublish comments when one has lower points than -10, so I set up an action like:
value type
Points
tag
empty
function
average
comparison
is less then
value
-10
Actions
action
Unpublish comment
Voting actions seems to work fine with nodes, so i think there is a bug with comments.
Any suggestions?
Comments
#1
I'll take a look. What versions of votingapi and voting_actions are you using?
#2
Voting Actions 4.7
Voting API 4.7 (I was using the CVS version, but I uninstalled it by disabling, then dropping the tables created by voting api and dropping the columns that belong to voting api. Then I uploaded the 4.7 version and enabled it)
#3
Is there anyone that can use voting with comments?
#4
Works for me on a fresh 4.7.2 install with the latest version of voting api, voting actions, actions, and vote up/down.
however, I have another install (4.7beta6 I think) with some previous versions of voting api, and actions that I'm having trouble upgrading properly.
#5
here are my settings:
value type
Points
tag
empty
function
average
comparison
is less then
value
0
Actions
action
Unpublish comment
#6
Updated my non-working site to 4.7.2 and it seems to work. No idea why that should make a difference
#7
I use the latest versions, but they are updated ones. I'll try to install fresh versions of them and post a follow up.
#8
Actually, mine is broken again. Was working for a single action to un-publish the comment per my above config. But then I added a 2nd action to try to send an email notification (triggered by the same contitions) and now neither action triggers.
#9
Were you able to make it work?
#10
no, not even when I delete all the actions, and then re-implement just the un-publish action. The voting api is clearly working properly, since the score appears to update properly. Seems like the first step should be to figure out whether the voting-actions module is actually making the call to the actions module. Then we'd at least know which module to look at. Is there any better method for de-bugging than putting print-statements in the code to check which branches are being executed?
#11
you can use the devel module as an option, but I don't know if it can help.
#12
I experience similar issues.
Could you check http://drupal.org/node/107735 ?
I also am having trouble with automatic comment deletion.
#13
Hi,
Same problem here. Voting comments works fine. But the voting actions don't work. Modules: vote up/down, actions, vote actions.
Settings:
value type: Points
tag: "emtpy"
function: sum
comparsion: is less than
value: 0
We have a lot of comments with negatives, but they are still published.
Did I make a mistake?