Can i use the Annika Live Wall as a comment wall?
Using Jamroom
Actually, what you are asking for is nothing to do with the Annika module. Comments being inserted in the thread is a standard feature of the Comment module, so all I have done on
http://guffr.it is add the comment form to each action item in the jrAction item_list.tpl (activities and module actions sections only) -
{* Activity Updates *}
{elseif isset($item.action_text)}
<div id="a{$item._item_id}" class="action_item_holder" style="border-bottom:0px;border-top:1px solid #ccc;">
<div class="container">
<div class="row">
<div class="col2">
<div class="action_item_media">
{if jrCore_checktype($item.user_image_size, 'number_nz')}
{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="icon" crop="auto" alt=$item.user_name class="action_item_user_img img_shadow img_scale"}
{elseif jrCore_checktype($item.profile_image_size, 'number_nz')}
{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$item._profile_id size="icon" crop="auto" alt=$item.profile_name class="action_item_user_img img_shadow img_scale"}
{else}
{/if}
</div>
</div>
<div class="col8" style="position:relative">
<div class="action_item_desc">
<a href="{$jamroom_url}/{$item.profile_url}" class="action_item_title" title="{$item.profile_name|jrCore_entity_string}">@{$item.profile_url}</a> <span class="action_item_actions">{if !isset($_params.random)}• {$item._created|jrCore_date_format:"relative"}{/if}{if jrUser_is_logged_in() && $_user._user_id != $item._user_id && $item.action_shared_by_user != '1'} • <a href="{$jamroom_url}/{$murl}/share/{$item._item_id}" onclick="if(!confirm('{jrCore_lang module="jrAction" id="9" default="Share this update with your followers?"}')) { return false; }">{jrCore_lang module="jrAction" id="10" default="Share This"}</a>{/if} {if $_post.module_url == $_user.profile_url && $item.action_shared_by_user == '1'} • <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">{jrCore_lang module="jrAction" id="26" default="shared by you"}</a> {elseif $item.action_shared_by_count > 0} • {jrCore_lang module="jrAction" id="24" default="shared by"} <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">{$item.action_shared_by_count} {jrCore_lang module="jrAction" id="25" default="follower(s)"}</a>{/if}{if $img == "comments.png"} • <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">{jrCore_lang module="jrAction" id="22" default="Comments"}: {$item.action_comment_count|default:0}</a>{/if}• <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">detail</a></span><br>
<div class="action_item_link">
<div class="p5">{$item.action_text|jrCore_format_string:$item.profile_quota_id|jrAction_convert_hash_tags}</div>
</div>
</div>
{*** Comment form here ***}
{jrComment_form module="jrAction" profile_id=$item._profile_id item_id=$item._item_id}
</div>
<div class="col2 last" style="position:relative">
<div class="position: absolute; top: 0px; right: 0px; display: none;">
<div id="d{$item._item_id}" class="action_item_delete">
<script>$(function () { $('#a{$item._item_id}').hover(function() { $('#d{$item._item_id}').toggle(); }); });</script>
{jrCore_item_update_button module="jrAction" profile_id=$item._profile_id item_id=$item._item_id}
{jrCore_item_delete_button module="jrAction" profile_id=$item._profile_id item_id=$item._item_id}
</div>
<div>
{jrLike_button item=$item action="like" module="jrAction"}
{jrLike_button item=$item action="dislike" module="jrAction"}
</div>
</div>
</div>
</div>
</div>
</div>
{* Registered Module Action templates *}
{elseif isset($item.action_data) && strpos($item.action_data, '{') !== 0}
{jrCore_module_url module=$item.action_module assign="lurl"}
<div id="a{$item._item_id}" class="action_item_holder" style="border-bottom:0px;border-top:1px solid
<div class="container">
<div class="row">
<div class="col2">
<div class="action_item_media">
{if jrCore_checktype($item.user_image_size, 'number_nz')}
{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="icon" crop="auto" alt=$item.user_name class="action_item_user_img img_shadow img_scale"}
{elseif jrCore_checktype($item.profile_image_size, 'number_nz')}
{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$item._profile_id size="icon" crop="auto" alt=$item.profile_name class="action_item_user_img img_shadow img_scale"}
{else}
{/if}
</div>
</div>
<div class="col8">
<div class="action_item_desc">
<a href="{$jamroom_url}/{$item.profile_url}" class="action_item_title" title="{$item.profile_name|jrCore_entity_string}">@{$item.profile_url}</a> <span class="action_item_actions">{if !isset($_params.random)}• {$item._created|jrCore_date_format:"relative"}{/if}{if jrUser_is_logged_in() && $_user._user_id != $item._user_id && $item.action_shared_by_user != '1'} • <a href="{$jamroom_url}/{$murl}/share/{$item._item_id}" onclick="if(!confirm('{jrCore_lang module="jrAction" id="9" default="Share this update with your followers?"}')) { return false; }">{jrCore_lang module="jrAction" id="10" default="Share This"}</a>{/if} {if $_post.module_url == $_user.profile_url && $item.action_shared_by_user == '1'} • <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">{jrCore_lang module="jrAction" id="26" default="shared by you"}</a> {elseif $item.action_shared_by_count > 0} • {jrCore_lang module="jrAction" id="24" default="shared by"} <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}">{$item.action_shared_by_count} {jrCore_lang module="jrAction" id="25" default="follower(s)"}</a>{/if}{if $item.action_module != 'jrFollower' && $item.action_module != 'jrLike' && $item.action_mode != 'create_album'} • <a href="{$jamroom_url}/{$item.action_item.profile_url}/{$lurl}/{$item.action_item._item_id}">detail</a>{/if}</span><br>
<div class="action_item_link">
{$item.action_data|jrCore_format_string:$item.profile_quota_id:null:"nl2br"}
</div>
</div>
{*** Comment form here (NOTE that I don't allow comments on Follow and Like actions) ***}
{if $item.action_module != 'jrFollower' && $item.action_module != 'jrLike'}
{jrComment_form module="jrAction" profile_id=$item._profile_id item_id=$item._item_id}
{/if}
</div>
<div class="col2 last">
<div id="d{$item._item_id}" class="action_item_delete">
<script>$(function () { $('#a{$item._item_id}').hover(function() { $('#d{$item._item_id}').toggle(); }); });</script>
{jrCore_item_delete_button module="jrAction" profile_id=$item._profile_id item_id=$item._item_id}
</div>
<div>
{if $item.action_module != 'jrLike'}
{jrLike_button item=$item action="like" module="jrAction"}
{jrLike_button item=$item action="dislike" module="jrAction"}
{/if}
</div>
</div>
</div>
</div>
</div>
{/if}
Also note that in the jrAcion item_list.tpl template I exclude comment actions themselves in all the jrCoure_list calls, otherwise you'll be allowing comments on comment actions which could get out of hand!!
{jrCore_list module="jrAction" profile_id=$_profile_id order_by="_updated numerical_desc" pagebreak="12" page="1" pager=true search1="action_module != jrComment"}
hth