Thanks if you are using the system.
==================================
Step 1. Open post_thanks_button template of your default theme, replace all the codes with the ones below :
PHP Code:
<a href="post_thanks.php?{vb:raw session.sessionurl}do=post_thanks_add&p={vb:raw post.postid}&securitytoken={vb:raw bbuserinfo.securitytoken}" id="post_thanks_button_{vb:raw post.postid}"<vb:if condition="$vboptions[disable_ajax] != 2"> onclick="return post_thanks_give({vb:raw post.postid}, <vb:if condition="$vboptions[post_groans_integrate]">true<vb:else />false</vb:if>);"</vb:if> <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> rel="nofollow" class="fa-ikon fa-ikon-sinir fa-thumbs-o-up post_thanks_button ">{vb:rawphrase post_thanks_thanks}</a>
<span class="seperator" id="post_thanks_separator_{vb:raw post.postid}" <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if>> </span>
Step 2.Open post_thanks_postbit template of your default theme, replace all the codes with the ones below :
PHP Code:
<div class="postbody"<vb:if condition="$vboptions['legacypostbit']"> style="margin-{vb:stylevar left}: 0"</vb:if>>
<div class="postrow">
<vb:if condition="$bbuserinfo['usergroupid'] == 5 || $post['show_thanks_remove_option']">
<div class="smallfont" style="float:{vb:stylevar right}">
<vb:if condition="$bbuserinfo['usergroupid'] == 5">
<a href="post_thanks.php?do=post_thanks_remove_all&p={vb:raw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_all({vb:raw post.postid}, <vb:if condition="$vboptions['post_groans_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove}</a>
</vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 5 && $post['show_thanks_remove_option']">
|
</vb:if>
<vb:if condition="$post['show_thanks_remove_option']">
<a href="post_thanks.php?do=post_thanks_remove_user&p={vb:raw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user({vb:raw post.postid}, <vb:if condition="$vboptions['post_groans_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove_user}</a>
</vb:if>
</div>
</vb:if>
<h2 class="<vb:if condition="!$vboptions['legacypostbit']">post</vb:if>title">
<vb:if condition="$post['post_thanks_amount'] == 1">
<i class="fa-ikon fa-ikon-sinir fa-thumbs-o-up vw-bigikon "></i> {vb:rawphrase post_thanks_user_says, {vb:raw post.username}}
<vb:else />
<i class="fa-ikon fa-ikon-sinir fa-thumbs-o-up vw-bigikon "></i>{vb:rawphrase post_thanks_users_say, {vb:raw post.post_thanks_amount_formatted}, {vb:raw post.username}}
</vb:if>
</h2>
<!--COLLAPSE-->
<vb:if condition="$vboptions['collapse_on']==0">
<div class="content">
<div class="post_thanks_bit_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.post_thanks_bit}
</blockquote>
</div>
</div>
</div>
</div>
<hr />
</vb:if>
<vb:if condition="$vboptions['collapse_on']==1">
<style type="text/css">
.msg_head {
padding: 5px 10px;
cursor: pointer;
position: relative;
margin:1px;
}
</style>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/jquery/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
//hide the all of the element with class msg_body
$(".post_thanks_bit_{vb:raw post.postid}").hide();
//toggle the componenet with class msg_body
$(".msg_head").click(function()
{
$(this).next(".post_thanks_bit_{vb:raw post.postid}").slideToggle(600);
});
});
</script>
<div class="content">
<p class="msg_head"><img src="{vb:raw vboptions.bburl}/images/misc/collapse.jpg"</p>
<div class="post_thanks_bit_{vb:raw post.postid}">
<blockquote class="postcontent restore">
{vb:raw post.post_thanks_bit}
</blockquote>
</div>
</div>
</div>
</div>
<hr /></vb:if>
<!--END COLLAPSE-->
Step 3.Open post_thanks_postbit_info template of your default theme, replace all the codes with the ones below :
PHP Code:
<vb:if condition="$post['userid']">
<!-- Thanks -->
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<tr><td class="legacystats"> <dt>Thanked:</dt><dd> 1</dd> </td></tr>
<vb:else />
<tr><td class="legacystats"><dt>Thanked</dt><dd> {vb:raw post.post_thanks_thanked_times}</dd></td></tr>
</vb:if>
<!-- /Thanks -->
</vb:if>