Turkce Teşekkur Botu Kurulumu: Arkadaslar Forumlarda SIK SIK Sorulan Sorular Arasinda Tesekkur Botu Kurulumu.. Kafanizda Soru Kalmayacak Sekilde Anlatmaya Calisacagim Kurulumu Fakat Yine Takilirsaniz Imdadinizdayim İlk Sitenizin Kontrol Paneline Girin ve MySQL'e Tiklayin.. Daha Sonra Alttan PhpMYAdmin'e Tıklayin.. Daha Sonra Veritabani'niza Tiklayin.. Veritabani Tablolariniz Acilacaktir.. Ordan En Ustteki SQL Yazan Yere Tiklayip Alttaki Kutuya TEKER TEKER Verdiğim Kodlari Giriyorsunbuz ve GO(Git) 'e Tiklayin..: Kod:
ALTER TABLE `forum` ADD `showthanks` INT(1) DEFAULT '0' NOT NULL;
Bidaha Ayni Sekilde Sunu Ekliyoruz.. Kod:
ALTER TABLE `forum` ADD `showthanks_date` INT(1) DEFAULT '0' NOT NULL;
Ve Son Olarak Yine Ayni Sekilde Alttaki Kodlari Ekleyin.. Kod:
CREATE TABLE `thanks` ( `id` INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, `userid` INT(10) NOT NULL, `username` VARCHAR(50) NOT NULL, `date` INT(10) NOT NULL, `threadid` INT(10) NOT NULL );
Simdilik Kontrol Panel isLemi Bitti.. Simdi Sitenizin (vbullettin) Admin Kontrol Paneline Girin Cumle Yonetiminden..: Asagidakileri Ekleyin.. ------------------------------------------------------------------------ Type : Forum related Varname : show_thanks_button Phrase : Display the 'Thank you' button ------------------------------------------------------------------------ Type : Control Panel Global Varname : enable_disable_thankyou Phrase : Thank you button ------------------------------------------------------------------------ Type : Forum related Varname : show_thanks_date Phrase : Display the date in the thanks post ------------------------------------------------------------------------ Type : GLOBAL Varname : thanks Phrase : Thank for this message ! ------------------------------------------------------------------------ Type : Front-End Error Messages Varname : already_thanks Text : You have already thank this message ! ------------------------------------------------------------------------ Type : Front-End Redirect Messages Varname : thanks Text : Thank you. Your choice was recorded, you will now be redirected to the thread. ------------------------------------------------------------------------ Type : GLOBAL Varname : thanks_bot Phrase : Thank you Bot ------------------------------------------------------------------------ Type : GLOBAL Varname : thanks_title Phrase : Thank you Bot ------------------------------------------------------------------------ Type : GLOBAL Varname : thanks_1_install Phrase : thanks for this thread ------------------------------------------------------------------------ Type : GLOBAL Varname : thanks_x_install Phrase : thank for this thread ------------------------------------------------------------------------ Bunlar ingiLizcesi taBi aLLtaki Kutucugada Turkce'lerini Yaziyorsunuz.. Simdi FTP'den admincp/forum.php 'u Duzenlicez.. forum.php'yi acip alttaki kodu aratin.. ( F3 ) Kod:
print_yes_no_row($vbphrase['show_forum_on_forum_jump'], 'options[showonforumjump]', $forum['showonforumjump']);
Alttaki Kodu Yukarıdaki Kodun Uzerinde Ekleyin.. Kod:
print_table_header($vbphrase['enable_disable_thankyou']); print_yes_no_row($vbphrase['show_thanks_button'], 'forum[showthanks]', $forum['showthanks']); print_yes_no_row($vbphrase['show_thanks_date'], 'forum[showthanks_date]', $forum['showthanks_date']);
Simdi Ana Klasorden newreply.php 'yi duzenliyecegiz.. Alttaki Kodu Aratiyoruz.. Kod:
// ############################### start post reply ############################### if ($_POST['do'] == 'postreply') } }
Simdi includes/functions_showthread.php 'yi duzenliyecegiz.. Alttaki Kodu Aratiyoruz.. Kod:
// hide users in Coventry from non-staff members if ($tachyuser = in_coventry($post['userid']) AND !can_moderate($thread['forumid']))
Bu Kodlarin Uzerine Alttaki Kodlari Ekliyoruz.. Kod:
// thank you hack grog6 $cmpt=1; if ($forum[showthanks] == 1 && $post[postcount]==1) $date=$thank[date]; $cmpt++; } // format date/time $post['postdate'] = vbdate($vboptions['dateformat'], $date, true); $post['posttime'] = vbdate($vboptions['timeformat'], $date); // user profil field $username = "$vbphrase[thanks_bot]"; if ($nb
[/TD]
[/TR]
[TR]
[TD="class: alt2"] [TABLE]
[TR]
[TD] $username
[/TD]
[TD="width: 100%"] [/TD]
[TD] $vbphrase[location_perm]: $vboptions[bbtitle]
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[TR]
[TD="class: alt1"] $vbphrase[thanks_title]
$liste_user $thank_phrase
[/TD]
[/TR]
[/TABLE]
$spacer_close
Bunlari Ekledikten Sonra Tekrar Yeni Template Ekleden thanks_postbit_legacy isminde bir template oLusturuyoruz.. Kodlarinada Asagidakilari Kopyalayin.. Kod:
$spacer_open [TABLE="class: tborder, align: center"]
[TR]
[TD="class: thead"] $post[postdate], $post[posttime] $post[firstnewinsert] [/TD]
[TD="class: thead"] [/TD]
[/TR]
[TR]
[TD="class: alt2, width: 175"] $username $vbphrase[location_perm]: $vboptions[bbtitle]
[/TD]
[TD="class: alt1"] $vbphrase[thanks_title]
$liste_user $thank_phrase
[/TD]
[/TR]
[TR]
[TD="class: alt2"] [/TD]
[TD="class: alt1"] [/TD]
[/TR]
[/TABLE]
$spacer_close
En Son Olarakta thanks.gif'î FTP'den Template Klasorunuzdeki images/buttons klasorune ekLiyorsunuz bu kadar.. bitti sonunda.. Umarim Size Yardimci Olur Bu Dokuman Dokuman Yazarı: CrAzyMuRDER / www.burdayizbiz.com Herkeze Kolay geLsin.. iyi caLismalar.. __________________
Teşekkur Botu Kurulumu [ Turkce Anlatım ]
Webmaster Genel Konular - Sorunlar0 Mesaj
●27 Görüntüleme
- ReadBull.net
- Webmaster Kütüphanesi
- Webmaster Genel Konular - Sorunlar
- Teşekkur Botu Kurulumu [ Turkce Anlatım ]