thumbs up/down every reply in a discussion?

hypnoscott
@hypnoscott
9 years ago
71 posts
title says it all. Is there a way I could implement an upvote / downvote system into every reply in a discussion form, or can I only vote on the entire discussion once?
updated by @hypnoscott: 10/12/15 11:42:20PM
paul
@paul
9 years ago
4,326 posts
Assuming you have the Like module installed and set up, add this code to the row template that lists the comments -

{jrLike_button item=$item action="like" module="jrComment"}
{jrLike_button item=$item action="dislike" module="jrComment"}



--
Paul Asher - JR Developer and System Import Specialist
hypnoscott
@hypnoscott
9 years ago
71 posts
thanks!

it's starting to come together. Hopefully launching in the next 7 days!
http://hypnothoughtscom.jamroomhosting.com/
michael
@michael
9 years ago
7,715 posts
Wow, that's looking fantastic!
hypnoscott
@hypnoscott
9 years ago
71 posts
yeah, I'm really happy with it and where it's going. I came up with a concept and some inspirational sites (facebook, engaget, microsoft, and t new yorker) and Ruben has been kicking large amounts of ass in making a great site.
soaringeagle
@soaringeagle
9 years ago
3,304 posts
been wanting this myself thnx


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
2 questions on this
1 where exactly am I supposed to be putting this when I put it in comments template (details) no matter where it makes it look threaded like each comments contained within a indendted container a total mess
I tried in the blog couldn't get it right
also how do I get the thumbs up on forum posts and comments both
its not included in forums neither is ratings


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
9 years ago
7,715 posts
If its a formatting issue, you could try putting it inside a div, the position the div with css. eg:
<div class="like_buttons">{jrLike_button item=$item action="like" module="jrComment"}
{jrLike_button item=$item action="dislike" module="jrComment"}
</div>

Then position .like_buttons to how you want them.

It looks to me like it probably would go in item_detail.tpl of the jrComment module, perhaps in the .block_config at a guess.
soaringeagle
@soaringeagle
9 years ago
3,304 posts
not sure why I'm not seeing it show up now


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
it has to go in item-list after the close of the normal span


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
hmm but then it still shows everywhere but forums


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
when i add it to jrforum item-detail at the place that makes sense to me i get a "item not set correctly" showing up in the page
is it possible to gdet the thumbs up and down working in the forums as well
can you alow us a option to turn it on in forums
can you alow us a option to rate forum posts too


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags