28-03-2008, 18:44
|
#1 (permalink)
|
|
EN Adaletli
Üyelik Tarihi: 09-08-2007
Yer: İstanbuL
Mesajlar: 7,392
|
Post Thank You and Post Groan Hack {Teşekkürler ve Tepki Eklentisi}
..:: !!- 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
Alıntı:
|
$vbphrase[posts]: $post[posts]
|
altına ekleyin
Alıntı:
<!-- 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
altına ekleyin
Alıntı:
<!-- 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 blun
Alıntı:
|
<!-- / post $post[postid] popup menu -->
|
altına ekleyin
Alıntı:
<!-- 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
Alıntı:
|
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
|
altına ekleyin
Alıntı:
<!-- 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 şahsen ben yapmadım
Alıntı:
|
<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..
Alıntı:
<!-- 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..
RapidShare: 1-Click Webhosting
Konu 3n3sboy2 tarafından (28-03-2008 Saat 19:10 ) de değiştirilmiştir.
|
|
|