teşekkür butonunu nasıl koyabilirim

wepstrrr

New member
Katılım
15 Şub 2007
Mesajlar
1
Reaction score
0
Puanları
0
Slm arkadaşlar teşekkür butonunu bulletinde nasıl yapabilirim. Şimdiden yardımlarınız için teşekkürler..
 
öncelikle sormadan önce forumda arama yap...
benim şimdi verdiğim son sürüm olduğu için yetkili arkadaş konu başlığını değiştirip sabitlerse daha iyi olur. bu sürümde teşekkür butonuna basınca sayfa yenilenmiyor. beklemek zorunda kalmıyorsunuz.

Ekteki dosyayı indirin...

1) upload
--------------------------------------------------------------------
post_thanks.gif -> her mesajda görünecek teşekkür butonu. yükleme yeri : /images/buttons/
--------------------------------------------------------------------

2) product-post_thanks.xml'yi import edin. üzerine yaz seçeneğini "YES" ile aktif edin (admincp -> Plugin System -> Manage Products -> [Add/Import Product])

3) Template editlemeleri;

postbit ve postbit_lagacy'de:
Kod:
Bul:
--------------------------------------------------------------------
$vbphrase[posts]: $post[posts]
--------------------------------------------------------------------

Altına Ekle :
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
<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 Hack -->

Kod:
Bul:
--------------------------------------------------------------------
<!-- controls -->
--------------------------------------------------------------------

Altına Ekle:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
$post_thanks_button
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------

Kod:
Bul:
--------------------------------------------------------------------
<!-- / post #$post[postid] -->
--------------------------------------------------------------------

Altına Ekle :
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------

Kod:
navbarda ;

Bul :
--------------------------------------------------------------------
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
--------------------------------------------------------------------

Altına Ekle :
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=findallthanks">$vbphrase[post_thanks_search]</a></td>
<!-- End Post Thank You Hack -->
--------------------------------------------------------------------

Kod:
MEMBERINFO'da:

Bul:
--------------------------------------------------------------------
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
--------------------------------------------------------------------

Altına Ekle :
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
<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 Hack -->
--------------------------------------------------------------------

ekli dosya tıkla indir

__________________

return of the king
 
Geri
Üst