راهنمائی جهت نصب هک یا دکمه تشکر در ویبلتین
دوستان سلام!
میشه یه نفر راهنمائیم کنه که چطور میشه این هک تشکر رو نصب کرد؟
البته من از قسمتی که با رنگ قرمز مشخض شده مشکل دارم!
کد:
Post Thank You ---- version 5.3
FOR UPGRADE AND FRESH INSTALLATIONS!
1) upload
--------------------------------------------------------------------
post_thanks.gif -> EVERY "buttons" image folder in every style you have. Default is /images/buttons/
--------------------------------------------------------------------
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_lagacy:
find:
--------------------------------------------------------------------
$vbphrase[posts]: $post[posts]
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You ---- -->
<if condition="$post[userid]">
<br />
$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
<br />
<if condition="$post[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$post[post_thanks_thanked_posts_on] == 1">
<phrase 1="$post[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times]" 2="$post[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
<!-- End Post Thank You ---- -->
--------------------------------------------------------------------
find:
--------------------------------------------------------------------
<!-- controls -->
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You ---- -->
$post_thanks_button
<!-- End Post Thank You ---- -->
--------------------------------------------------------------------
find:
--------------------------------------------------------------------
<!-- / post $post[postid] popup menu -->
--------------------------------------------------------------------
AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You ---- -->
$post_thanks
<!-- End Post Thank You ---- -->
--------------------------------------------------------------------
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 ---- -->
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=findallthanks">$vbphrase[post_thanks_search]</a></td>
<!-- End Post Thank You ---- -->
--------------------------------------------------------------------
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 ---- -->
<br />
$vbphrase[post_thanks_total_thanks]: <strong>$userinfo[post_thanks_user_amount]</strong>
<br />
<if condition="$userinfo[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$userinfo[post_thanks_thanked_posts_on] == 1">
<phrase 1="$userinfo[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$userinfo[post_thanks_thanked_times]" 2="$userinfo[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</td></tr>
<tr><td>
<a href="search.php?$session[sessionurl]do=findthanks&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user]</phrase></a>
<!-- End Post Thank You ---- -->
--------------------------------------------------------------------
Done.
Click 'install' in the thread you downloaded this from.
Done