My "Thank You Hack" Postbit Template[Version: 1.00]

My "Thank You Hack" Postbit Template
Version: 1.00 by Boosted Panda

This is a new "Users Saying Thank You" box. I think its MUCH cleaner! You can adjust colors and etc by changing the CSS fields in the .thanks.

First add this to your additional CSS area:

Code:
.thanks { 
border: solid 1px #fff;
color: #444; 
background: #def9e5;
font: 10px arial, tahoma, sans-serif;
}

Next add this to the post_thanks_postbit_legacy or post_thanks_postbit template.

Code:
<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
    <table width="100%" align="center">
        <tr>
            <td class="thanks" style="padding:0px">
                <if condition="$post['post_thanks_amount'] == 1">
                    <strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
                <else />
                    <strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]:</phrase></strong>
                </if>
            $post[post_thanks_bit]
            <if condition="$bbuserinfo['usergroupid'] == 6">
                <td class="thanks" align="center">
                    <a href="post_thanks.php?do=post_thanks_remove_all&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a></td>
                
            </if>
            <if condition="$post['show_thanks_remove_option']">
            <td class="thanks" align="center">
                    <a href="post_thanks.php?do=post_thanks_remove_user&p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a></td>
            </if>
        </td></tr>
    </table>
</div>


11snzmb.png

11awpj7.png
 

VADOS [Dj]

New Member
KillaStaff said:
what is your modification for reputation in two picture ? can you share the code please, thanks
I think it's just "Post Thank You Hack" and "Post Groan Hack", I made tha same thing for my board last year - nothing difficult ;)
 
Top