From the instructions of the hack:
Code:
Post Thank You Hack version 6.0
FOR UPGRADE AND FRESH INSTALLATIONS!
1) upload the 'upload via ftp' folder
--------------------------------------------------------------------
post_thanks.php -> \
post_thanks_admin.php -> \admincp\
post_thanks.js -> \clientscript\
functions_post_thanks.php -> \includes\
cpnav_post_thanks.xml -> \includes\xml\
hooks_post_thanks.xml -> \includes\xml\
post_thanks.gif -> \images\buttons\ (and into EVERY "buttons" folder in every style you have)
--------------------------------------------------------------------
2) Import product-post_thanks.xml into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])
3) Do the template edits
in postbit AND postbit_legacy:
find:
--------------------------------------------------------------------
$vbphrase[posts]: $post[posts]
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
<if condition="$post[userid]">
<br />
$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount_formatted]
<br />
<if condition="$post[post_thanks_thanked_times] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts] == 1">
<phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------
find:
--------------------------------------------------------------------
<!-- controls -->
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------
find:
--------------------------------------------------------------------
<!-- / post $post[postid] popup menu -->
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------
in navbar:
find:
--------------------------------------------------------------------
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
</tr>
<tr>
<td class="vbmenu_option"><a href="post_thanks.php?$session[sessionurl]do=findallthanks">$vbphrase[post_thanks_search]</a></td>
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------
in MEMBERINFO:
find:
--------------------------------------------------------------------
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
<br />
$vbphrase[post_thanks_total_thanks]: <strong>$userinfo[post_thanks_user_amount_formatted]</strong>
<br />
<if condition="$userinfo[post_thanks_thanked_times] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$userinfo[post_thanks_thanked_posts] == 1">
<phrase 1="$userinfo[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$userinfo[post_thanks_thanked_times_formatted]" 2="$userinfo[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</td></tr>
<tr><td>
<a href="post_thanks.php?$session[sessionurl]do=findthanks&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user]</phrase></a>
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------
in SHOWTHREAD:
find:
--------------------------------------------------------------------
<script type="text/javascript" src="clientscript/vbulletin_post_loader.js?v=$vboptions[simpleversion]"></script>
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
<script type="text/javascript" src="clientscript/post_thanks.js"></script>
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------
in SHOWTHREAD_SHOWPOST:
find:
--------------------------------------------------------------------
<title>$vboptions[bbtitle] - $vbphrase[view_single_post] - $threadinfo[title]</title>
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
<script type="text/javascript" src="clientscript/post_thanks.js"></script>
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------
Click 'install' in the thread you downloaded this from.
Done
Looks like you have to the template edits for your new skin if you have the product already working on another skin.