Webmaster Forumu

Geri git   Webmaster Forumu > Webmaster Kaynak Eğitim Tanıtım Hizmet > Hazır Uygulamalar Forumlar Paket Programlar > Vbulletin VbSEO

Vbulletin VbSEO Vbulletin VbSeo Temalar Eklentiler

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)   iTrader 
Alt 2005-06-08, 13:20
OLTA - ait Kullanıcı Resmi (Avatar)
Member
 
Üyelik tarihi: Sep 2004
Mesajlar: 240
Tecrübe Puanı: 3
iTrader: %0/0
OLTA is an unknown quantity at this point
Standart PHPBB'de İlk İletiden Sonra Adsense!

Ekteki ilgili kodları veriyorum...

elimden geldiğince Türkçeleştirdim açıkalmayı

Kod:
##############################################################
## MOD Title: Banner Ad After First Post
## MOD Author: geocator < geocator@gmail.com > (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 NULL ,
`ad_id` TINYINT( 5 ) NOT NULL ,
`ad_code` TEXT NOT NULL ,
`ad_name` TINYINT( 25 ) NOT NULL,
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
#
#-----[ AÇ ]------------------------------------------
#

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)
   {
		$sql = "SELECT a.ad_code
		FROM " . ADS_TABLE . " a 
		WHERE a.ad_id=1";
		if ( !($result = $db->sql_query($sql)) )
		{
			message_die(GENERAL_ERROR, 'Could not query ad information', '', __LINE__, __FILE__, $sql);
		}
		$adRow = array();
		while( $row = $db->sql_fetchrow($result) )
		{
			$adRow[] = $row;
		}
		$db->sql_freeresult($result);
		$post_ad = '<tr><td colspan=2 class="firstPostAd">' . $adRow[0]['ad_code'] . '</td></tr>';
   }
   else
   {
      $post_ad = ' ';
   }
#
#-----[ BUL ]------------------------------------------
#
		'DELETE' => $delpost,

#
#-----[ARKASINA EKLE ]------------------------------------------
#
		'POST_AD' => $post_ad,
#
#-----[ AÇ ]------------------------------------------
#

includes/constants.php
#
#-----[ BUL ]------------------------------------------
#
define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');
#
#-----[ ARKASINA EKLE ]------------------------------------------
#
define('ADS_TABLE', $table_prefix.'ads');

#
#-----[ AÇ ]------------------------------------------
#

templates/subSilver/overall_header.tpl
#
#-----[ BUL ]------------------------------------------
#
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }
#
#-----[ ARKASINA EKLE ]------------------------------------------
#
td.firstPostAd {
	background-color: {T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; border-width: 1px; text-align: center;
}
#
#-----[ AÇ ]------------------------------------------
#

templates/subSilver/viewtopic_body.tpl
#
#-----[ BUL]------------------------------------------
#
<!-- END postrow -->

#
#-----[ ÖNÜNE EKLE ]------------------------------------------
#
{postrow.POST_AD}
#

#-----[ AÇ ]------------------------------------------
#

language/lang_turkish/lang_admin.php
#
#-----[BUL ]------------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------
#
#-----[ ÖNÜNE EKLE ]------------------------------------------
#
$lang['ad_managment']  = 'Reklam Yönetimi';
$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';
#
#-----[ TÜM DOSYALARI KAPA/KAYDET ]------------------------------------------
#
Eklenmiş Dosya
Dosya tipi: zip banner_after_post.zip (3,6 KB (Kilobyte), 25x kez indirilmiştir)
__________________
http://www.esato.info
Alıntı ile Cevapla

Cevapla


Seçenekler
Stil

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Adsense den sonra gmail de cividi! ZiRVeDeKiLeR Gmail Gtalk 31 2008-03-12 01:35
Google adsense reklamına tıkladıktan sonra download linki açılacaktır.(nasıl yaparız) emucu Google Adsense 6 2006-06-17 11:26
Adsense hesabimdaki parayi biriktirsem sonra alsam olur mu :p M.CoRLeOnE Google Adsense 9 2005-10-18 21:55
1.5 Ay sonra ADSENSE(lütfen yardim) Bedavalar-Net Internetten Para 17 2004-11-17 18:17
PHPBB'de Yeni Bölüm Ekleme cevdetbulut Vbulletin VbSEO 2 2003-01-20 10:41


Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 19:40 .


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

Firefox