Ekteki ilgili kodları veriyorum...
elimden geldiğince Turkceleştirdim acıkalmayı
Kod:
################################################## ############ ## MOD Title: Banner Ad After First Post ## MOD Author: geocator < [email protected] > (Brian) http://www.geocator.us ## MOD Description: Place a banner ad, including Google AdSense after the first post of each topic ## MOD Version: 0.0.3 ## ## OLTA ## OLTA ## OLTA ## OLTA ## ################################################## ############ # #-----[ phpMyAdmin'de aşağıdaki tabloyu oluşturun... (forum kullandığı db'de... ]------------------------------------------ # CREATE TABLE `phpbb_ads` ( `ad_type` VARCHAR( 10 ) NOT lisanssız , `ad_id` TINYINT( 5 ) NOT lisanssız , `ad_code` TEXT NOT lisanssız , `ad_name` TINYINT( 25 ) NOT lisanssız, UNIQUE ( `ad_id` ) ); INSERT INTO `phpbb_ads` ( `ad_type` , `ad_id` , `ad_code`, `ad_name` ) VALUES ( 'first_post', '1', 'Your banner code goes here', 'Defualt' ); # #-----[ KOPYALA ]------------------------------------------ # firstpost_ad_body.tpl -> templates/subSilver/admin/firstpost_ad_body.tpl admin_firstpost_ad.php -> admin/admin_firstpost_ad.php # #-----[ AC ]------------------------------------------ # viewtopic.php # #-----[ BUL ]------------------------------------------ # $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; # #-----[ SONRA, EKLE ]------------------------------------------ # if ( $i == 0) $adRow = array(); while( $row = $db->sql_fetchrow($result) ) $db->sql_freeresult($result); $post_ad = '[TR]
[TD="class: firstPostAd, colspan: 2"]' . $adRow[0]['ad_code'] . '[/TD]
[/TR]
'; } else # #-----[ BUL ]------------------------------------------ # 'DELETE' => $delpost, # #-----[ARKASINA EKLE ]------------------------------------------ # 'POST_AD' => $post_ad, # #-----[ AC ]------------------------------------------ # includes/constants.php # #-----[ BUL ]------------------------------------------ # define('VOTE_USERS_TABLE', $table_prefix.'vote_voters'); # #-----[ ARKASINA EKLE ]------------------------------------------ # define('ADS_TABLE', $table_prefix.'ads'); # #-----[ AC ]------------------------------------------ # templates/subSilver/overall_header.tpl # #-----[ BUL ]------------------------------------------ # .helpline ; border-style: none; } # #-----[ ARKASINA EKLE ]------------------------------------------ # td.firstPostAd ; border: ; border-style: solid; border-width: 1px; text-align: center; } # #-----[ AC ]------------------------------------------ # templates/subSilver/viewtopic_body.tpl # #-----[ BUL]------------------------------------------ # # #-----[ ONUNE EKLE ]------------------------------------------ # # #-----[ AC ]------------------------------------------ # language/lang_turkish/lang_admin.php # #-----[BUL ]------------------------------------------ # // // That's all Folks! // ------------------------------------------------- # #-----[ ONUNE EKLE ]------------------------------------------ # $lang['ad_managment'] = 'Reklam Yonetimi'; $lang['first_post_ad'] = 'İlk İletiden sonra reklam'; $lang['firstpost_ad'] = 'Ad code for add shown after first post in each topic'; $lang['Click_return_firstpost'] = 'Click %sHere%s to return to First Post Ad Configuration'; # #-----[ TUM DOSYALARI KAPA/KAYDET ]------------------------------------------ #
PHPBB'de İlk İletiden Sonra Adsense!
vBulletin0 Mesaj
●7 Görüntüleme
- ReadBull.net
- Programlama ve Yazılım
- Web Tabanlı Uygulamalar - Aplikasyonlar
- vBulletin
- PHPBB'de İlk İletiden Sonra Adsense!