Closed (won't fix)
Project:
Voting Actions
Version:
4.7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2006 at 14:51 UTC
Updated:
3 Feb 2013 at 15:46 UTC
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
Comment #1
eaton commentedI'll take a look. What versions of votingapi and voting_actions are you using?
Comment #2
formicin commentedVoting 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)
Comment #3
formicin commentedIs there anyone that can use voting with comments?
Comment #4
skor commentedWorks 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.
Comment #5
skor commentedhere are my settings:
value type
Points
tag
empty
function
average
comparison
is less then
value
0
Actions
action
Unpublish comment
Comment #6
skor commentedUpdated my non-working site to 4.7.2 and it seems to work. No idea why that should make a difference
Comment #7
formicin commentedI use the latest versions, but they are updated ones. I'll try to install fresh versions of them and post a follow up.
Comment #8
skor commentedActually, 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.
Comment #9
formicin commentedWere you able to make it work?
Comment #10
skor commentedno, 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?
Comment #11
formicin commentedyou can use the devel module as an option, but I don't know if it can help.
Comment #12
ksoonson commentedI experience similar issues.
Could you check http://drupal.org/node/107735 ?
I also am having trouble with automatic comment deletion.
Comment #13
stafford commentedHi,
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?
Comment #14
duaelfrThis version of Voting Actions is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.