Quote:
Originally Posted by STORMS
so im using this code for my Post Thank You on my postbit. Why is it that some members have their postbit trashed? Is it the code? or is there something I can do to fix this?
|
Try my code: (it works fine for me)
PHP Code:
<vb:if condition="$post['userid']">
<div class="eti_postbit"><dt>{vb:rawphrase post_thanks_thanks} : {vb:raw post.post_thanks_user_amount_formatted}</dt></div>
<vb:if condition="$post['post_thanks_thanked_times'] == 1">
<div class="eti_postbit"><dd>{vb:rawphrase post_thanks_time_post}</dd></div>
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="eti_postbit"><dd>{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd></div>
<vb:else />
<div class="eti_postbit"><dd>{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd></div>
</vb:if>
</vb:if>
Your main problem in the code is float: {vb:stylevar right} that has to be left instead of right!