Türkiye'nin En Eski Webmaster Forumu İyinet'e Hoşgeldiniz!

vBulletinde Ayrı Bir Sayfa Oluşturmak İstiyorsan İçeri

Raqe

1
Onaylı Üye
Üye
Katılım
4 Mayıs 2010
Mesajlar
615
Açılan Konu
131
Tepki puanı
7
Konum
İstanbul/Pendik
vBulletinde yeni bir sayfa oluşturmak için öncelikle yeni bir metin belgesi oluşturup içine aşağıdaki kodları içine koyun ve adını yenisayfa.php olarak kayıt edin.

Eklenecek olan kodlar:

Kod:
[COLOR=#000000] [COLOR=#0000BB]<?php 
[/COLOR][COLOR=#FF8000]// ####################### SET PHP ENVIRONMENT ###########################  
[/COLOR][COLOR=#0000BB]error_reporting[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]E_ALL [/COLOR][COLOR=#007700]& ~[/COLOR][COLOR=#0000BB]E_NOTICE[/COLOR][COLOR=#007700]); 
[/COLOR][COLOR=#FF8000]// #################### DEFINE IMPORTANT CONSTANTS #######################  
[/COLOR][COLOR=#0000BB]define[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'NO_REGISTER_GLOBALS'[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]1[/COLOR][COLOR=#007700]); 
[/COLOR][COLOR=#0000BB]define[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'THIS_SCRIPT'[/COLOR][COLOR=#007700], [/COLOR][COLOR=#DD0000]'deneme'[/COLOR][COLOR=#007700]); [/COLOR][COLOR=#FF8000]// change this depending on your filename 
// ################### PRE-CACHE TEMPLATES AND DATA ######################  
// get special phrase groups 
[/COLOR][COLOR=#0000BB]$phrasegroups [/COLOR][COLOR=#007700]= array( 
); 
[/COLOR][COLOR=#FF8000]// get special data templates from the datastore 
[/COLOR][COLOR=#0000BB]$specialtemplates [/COLOR][COLOR=#007700]= array( 
); 
[/COLOR][COLOR=#FF8000]// pre-cache templates used by all actions 
[/COLOR][COLOR=#0000BB]$globaltemplates [/COLOR][COLOR=#007700]= array( 
    [/COLOR][COLOR=#DD0000]'yenisayfa'[/COLOR][COLOR=#007700], 
); 
[/COLOR][COLOR=#FF8000]// pre-cache templates used by specific actions 
[/COLOR][COLOR=#0000BB]$actiontemplates [/COLOR][COLOR=#007700]= array( 
); 
[/COLOR][COLOR=#FF8000]// ######################### REQUIRE BACK-END ############################  
[/COLOR][COLOR=#007700]require_once([/COLOR][COLOR=#DD0000]'./global.php'[/COLOR][COLOR=#007700]); 
[/COLOR][COLOR=#FF8000]// #######################################################################  
// ######################## START MAIN SCRIPT ############################  
// #######################################################################  
[/COLOR][COLOR=#0000BB]$navbits [/COLOR][COLOR=#007700]= array(); 
[/COLOR][COLOR=#0000BB]$navbits[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]$parent[/COLOR][COLOR=#007700]] = [/COLOR][COLOR=#DD0000]'yenisayfa'[/COLOR][COLOR=#007700]; 
[/COLOR][COLOR=#0000BB]$navbits [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]construct_navbits[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]$navbits[/COLOR][COLOR=#007700]); 
eval([/COLOR][COLOR=#DD0000]'$navbar = "' [/COLOR][COLOR=#007700]. [/COLOR][COLOR=#0000BB]fetch_template[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'navbar'[/COLOR][COLOR=#007700]) . [/COLOR][COLOR=#DD0000]'";'[/COLOR][COLOR=#007700]); 
eval([/COLOR][COLOR=#DD0000]'print_output("' [/COLOR][COLOR=#007700]. [/COLOR][COLOR=#0000BB]fetch_template[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'yenisayfa'[/COLOR][COLOR=#007700]) . [/COLOR][COLOR=#DD0000]'");'[/COLOR][COLOR=#007700]); 
[/COLOR][COLOR=#0000BB]?>[/COLOR][/COLOR]

Şimdi admin panelinize girin
nokta.gif
.


Biçimler & Şablonlar >>> Biçim Yöneticisi >>> Kullandığını Tema >>> Yeni Şablon Ekle yolunu izleyerek yeni bir template oluşturun
nokta.gif


Başlık: yenisayfa

Şablon: Aşağıdaki kodları ekleyin.

Kod:
[COLOR=#000000][COLOR=#0000BB]$stylevar[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]htmldoctype[/COLOR][COLOR=#007700]] 
<[/COLOR][COLOR=#0000BB]html dir[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"$stylevar[textdirection]" [/COLOR][COLOR=#0000BB]lang[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"$stylevar[languagecode]"[/COLOR][COLOR=#007700]> 
<[/COLOR][COLOR=#0000BB]head[/COLOR][COLOR=#007700]> 
<[/COLOR][COLOR=#0000BB]title[/COLOR][COLOR=#007700]>[/COLOR][COLOR=#0000BB]$vboptions[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]bbtitle[/COLOR][COLOR=#007700]]</[/COLOR][COLOR=#0000BB]title[/COLOR][COLOR=#007700]> 
[/COLOR][COLOR=#0000BB]$headinclude 
[/COLOR][COLOR=#007700]</[/COLOR][COLOR=#0000BB]head[/COLOR][COLOR=#007700]> 
<[/COLOR][COLOR=#0000BB]body[/COLOR][COLOR=#007700]> 
[/COLOR][COLOR=#0000BB]$header 
 
$navbar 
 
[/COLOR][COLOR=#007700]<[/COLOR][COLOR=#0000BB]table [/COLOR][COLOR=#007700]class=[/COLOR][COLOR=#DD0000]"tborder" [/COLOR][COLOR=#0000BB]cellpadding[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"$stylevar[cellpadding]"  [/COLOR][COLOR=#0000BB]cellspacing[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"$stylevar[cellspacing]" [/COLOR][COLOR=#0000BB]border[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"0" [/COLOR][COLOR=#0000BB]width[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"100%"  [/COLOR][COLOR=#0000BB]align[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"center"[/COLOR][COLOR=#007700]> 
<[/COLOR][COLOR=#0000BB]tr[/COLOR][COLOR=#007700]> 
    <[/COLOR][COLOR=#0000BB]td [/COLOR][COLOR=#007700]class=[/COLOR][COLOR=#DD0000]"tcat"[/COLOR][COLOR=#007700]>[/COLOR][COLOR=#0000BB]Tablo Başlığı[/COLOR][COLOR=#007700]</[/COLOR][COLOR=#0000BB]td[/COLOR][COLOR=#007700]> 
</[/COLOR][COLOR=#0000BB]tr[/COLOR][COLOR=#007700]> 
<[/COLOR][COLOR=#0000BB]tr[/COLOR][COLOR=#007700]> 
    <[/COLOR][COLOR=#0000BB]td [/COLOR][COLOR=#007700]class=[/COLOR][COLOR=#DD0000]"alt1"[/COLOR][COLOR=#007700]>[/COLOR][COLOR=#0000BB]Tablo içerisine yazılacak olan yazı veya kodlar[/COLOR][COLOR=#007700]</[/COLOR][COLOR=#0000BB]td[/COLOR][COLOR=#007700]> 
</[/COLOR][COLOR=#0000BB]tr[/COLOR][COLOR=#007700]> 
</[/COLOR][COLOR=#0000BB]table[/COLOR][COLOR=#007700]> 
 
[/COLOR][COLOR=#0000BB]$footer 
[/COLOR][COLOR=#007700]<[/COLOR][COLOR=#0000BB]br [/COLOR][COLOR=#007700]/><[/COLOR][COLOR=#0000BB]div style[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"z-index:3" [/COLOR][COLOR=#007700]class=[/COLOR][COLOR=#DD0000]"smallfont" [/COLOR][COLOR=#0000BB]align[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"center"[/COLOR][COLOR=#007700]>[/COLOR][COLOR=#0000BB]SEO by vBSEO 3.1.0[/COLOR][COLOR=#007700]</[/COLOR][COLOR=#0000BB]div[/COLOR][COLOR=#007700]></[/COLOR][COLOR=#0000BB]body[/COLOR][COLOR=#007700]> 
</[/COLOR][COLOR=#0000BB]html[/COLOR][COLOR=#007700]>  [/COLOR][/COLOR]

Ve kayıt edin
nokta.gif
.

Yeni sayfamız hazır artık sizinsiteniz.com/yenisayfa.php adresini ziyaret edebilirsiniz.

Not:Bu makale sadece ayrı bir sayfa oluşturma hakkında olduğu için fazla detaya girilmemiştir
nokta.gif
.isteyenler oluşturulan şablona yeni kodlar yazarak özgün bir sayfa oluşturabilir.
 
Üst