Posted by Flying Drupalist on September 13, 2008 at 10:28pm
Jump to:
| Project: | Extra Voting Forms |
| Version: | 6.x-1.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I understand how to increase or decrease the number of points assigned to a comment, but how to set it so that the css class of the comment would change after a certain point?
Sorry if this was addressed already, I couldn't find the instructions.
Comments
#1
Hi,m
Sorry, I have to ask you to please clarify your question...
Can you please add a bit of detail?
The form is point-agnostic. I don't think there is currently a way to do that. There _is_ a class assigned if the node the form is referring to is promoted or not promoted... but I don't think that's what you're asking!
Merc.
#2
On digg for example, if a comment passes a certain negative threshhold the comment is shrunken and marked as 'buried'.
Well you just answered my question. I guess the issue is that the form doesn't do anything about the points? Where would I have to go to enable some kind of affect to the comment? Trigger doesn't seem to have anything for comments.
#3
Hi,
ah, I now understand your question...
There are two possible ways.
The first one is to use the comment_bury_promote module -- which I wrote! -- which will allow you to actually kill a comment server-side.
But! If you want to have some kind of effect on the client as well, you will need to do some manual Javascript programming. Basically, your javascript will have to apply some kind of magic if the threshold is < of a certain number.
The client and the server side of the story are somehow separate... but not quite.
Does this make sense?
Merc.
#4
Ahh of course, comment bury and promote!
Well I am happy with killing a comment server-side, so I'll leave the javascript for another year.
I suppose I'll wait for bury promote to come to Drupal 6, thanks for answering my question.
#5
Hi,
No worries :-D
I will prot comment Bury/Promote soon enough!
Merc.
#6
Hi,
Issue is fixed...
It looks like I will port comment bury/promote soon enough...
Merc.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.