solved "Liking" Individual Posts in a Forum Topic

alt=
Tatiana Dokuchic
@tatiana-dokuchic
8 years ago
83 posts
Is it possible to use the "Like it" module somehow to like individual posts in a forum topic.? Right now we can "Like" the topic itself but not its components.

I believe a lot of the quieter members would use this to participate without having to actually say anything.

Thanks!
updated by @tatiana-dokuchic: 01/29/17 03:41:21PM
paul
@paul
8 years ago
4,331 posts
Yes - Just add the Like smarty call, with parameters, to the appropriate Forum template.

https://www.jamroom.net/the-jamroom-network/documentation/modules/1722/like-it

So in this case, in the Forum item_detail.tpl template, about line 64 -

                    {if isset($_conf.jrForum_editor) && $_conf.jrForum_editor == 'on' && !jrCore_is_mobile_device()}
                        {$_itm.forum_text|jrCore_format_string:$_itm.profile_quota_id}
                    {else}
                        {$_itm.forum_text|jrCore_format_string:$_itm.profile_quota_id:null:"html"}
                    {/if}

                    {jrLike_button action="like" module="jrForum" item=$_itm}

hth


--
Paul Asher - JR Developer and System Import Specialist
alt=
Tatiana Dokuchic
@tatiana-dokuchic
8 years ago
83 posts
Very cool! Thanks, Paul :)