Quote:
Originally Posted by Juggernaut
This tutorial is exellent, but I've found that I can't change the background color or size of the post thanks box, no matter where I change the code. Has anybody else been able to make changes to the post thanks display?
|
To be able to do it, first you have to modify
post_thanks_postbit template.
Please try change it to:
PHP Code:
<vb:if condition="$bbuserinfo['usergroupid'] == 6 || $post['show_thanks_remove_option']">
<div class="smallfont" style="float:{vb:stylevar right}">
<vb:if condition="$bbuserinfo['usergroupid'] == 6">
<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_groan_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove}</a>
</vb:if>
<vb:if condition="$bbuserinfo['usergroupid'] == 6 && $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_groan_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove_user}</a>
</vb:if>
</div>
</vb:if>
<div class="content">
<div id="post_thanks_bit_{vb:raw post.postid}">
<blockquote class="postcontent restore">
<strong><vb:if condition="$post['post_thanks_amount'] == 1">
{vb:rawphrase post_thanks_user_says, {vb:raw post.username}}
<vb:else />
{vb:rawphrase post_thanks_users_say, {vb:raw post.post_thanks_amount_formatted}, {vb:raw post.username}}
</vb:if>
</strong>{vb:raw post.post_thanks_bit}
</blockquote>
</div>
</div>
regards
PS. An appendix to post:
https://vborg.vbsupport.ru/showpost....7&postcount=35