Neler yeni

Welcome to SATBİL FORUM PAYLAŞIM

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Bir Satbil Forum Efsanesi

Satbil Reklam Alanı

Satbil Forum Reklam

[vB 3.6.4] - Post Thank You and Post Groan Hack {Teşekkürler ve Tepki Eklentisi}

digimy

Banned
Local time
19:18
Katılım
17 Mayıs 2006
Mesajlar
49
Tepkime puanı
1
Puanları
0
Yaş
38
..:: !!- KURULUM -!! ::..

Öncelikle ekteki dosyalardan begendiğiniz çifti images/buttons içine upload ediniz(bir çiftin sonunca 1 rakamı var* onu silin sonra). Daha sonra*
Admincp>>Plugins & Products>>Ürün Yöneticisi>>[Ürünü Ekle/Yükle] 'den ekteki iki xml dosyasınıda ayrı ayrı import edin. ve şimdide postbit ve postbit_legacy adlı templatelerde ayrı ayrı bulun


PHP:
$vbphrase[posts]: $post[posts]

altına ekleyin

PHP:
<!-- 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 --> 
 
<!-- Start Post Groan Hack --> 
<if condition="$post[userid]"> 
<br /> 
$vbphrase[post_groan_groans]: $post[post_groan_user_amount] 
<br /> 
<if condition="$post[post_groan_times_on] == 1"> 
$vbphrase[post_groan_time_post] 
<else /> 
<if condition="$post[post_groan_posts_on] == 1"> 
<phrase 1="$post[post_groan_times]">$vbphrase[post_groan_times_post]</phrase> 
<else /> 
<phrase 1="$post[post_groan_times]" 2="$post[post_groan_posts]">$vbphrase[post_groan_times_posts]</phrase> 
</if> 
</if> 
</if> 
<!-- End Post Groan Hack -->

aynı templatelerde bulun

PHP:
<!-- controls -->

altına ekleyin
PHP:
<!-- Start Post Thank You Hack --> 
$post_thanks_button 
<!-- End Post Thank You Hack --> 
 
<!-- Start Post Groan Hack --> 
$post_groan_button 
<!-- End Post Groan Hack -->

yine aynı templatelerde şunu bulun
PHP:
<!-- / post $post[postid] popup menu -->

altına ekleyin

PHP:
<!-- Start Post Thank You Hack --> 
$post_thanks 
<!-- End Post Thank You Hack --> 
 
<!-- Start Post Groan Hack --> 
$post_groan 
<!-- End Post Groan Hack -->

bu sefer MEMBERINFO adlı templatede bulun

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

altına ekleyin
PHP:
<!-- 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 --> 
 
<!-- Start Post Groan Hack --> 
<br /> 
$vbphrase[post_groan_groans]: <strong>$post[post_groan_user_amount]</strong> 
<br /> 
<if condition="$post[post_groan_times_on] == 1"> 
$vbphrase[post_groan_time_post] 
<else /> 
<if condition="$post[post_groan_posts_on] == 1"> 
<phrase 1="$post[post_groan_times]">$vbphrase[post_groan_times_post]</phrase> 
<else /> 
<phrase 1="$post[post_groan_times]" 2="$post[post_groan_posts]">$vbphrase[post_groan_times_posts]</phrase> 
</if> 
</if> 
</td></tr> 
<tr><td> 
<a href="search.php?$session[sessionurl]do=find_user_groan&u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_groan_search_user]</phrase></a> 
<!-- End Post Groan Hack -->

ve son olarak navbar adlı templatede bulun (bunu yapmasanızda olur arama yaparken kullanılıyor

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

altına ekleyin* kaydedip kapatın..
PHP:
<!-- 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 --> 
 
<!-- Start Post Groan Hack --> 
</tr> 
<tr> 
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=find_all_groan">$vbphrase[post_groan_search]</a></td> 
<!-- End Post Groan Hack -->

Kurulum bu kadar. Gereken ayarlamaları Admincp>>vBulletin Seçenekleri'nde açılacak olan bölümlerden yapabilirsiniz. Türkçe oldukları için zorlanmadan yapacaksınız. Umarım beğenirsiniz. Saygılar...


PHP:
digimy.funpic.de/ozeldosyalar/TesekkurlerveTepki Eklentileri.zip
 
shape1
shape2
shape3
shape4
shape7
shape8
Üst