Tarih: 2009-02-07, 02:24:04 Mesaj konusu: bir modül için dil çevirisi
Bir modül kuruyorum reklam modülü...kurulumunu türkçe yençevirebilecek varmı?
Kod:
1. Introduction and Requirements
--------------------------------
· It requires PHP-Nuke 7.5 thru 7.7 plus Patched 2.9+ be installed.
· This product requires an experenced webmaster for installation.
· Allows new clients to sign up.
· Adds Scripted and Flash banner types.
· Allows a webmaster to set the start date for banners.
· Allows webmaster to decide to use impressions or and ending date
for banners.
· Provides webmaster the option of transfering all clients and
banners to the new database tables.
· Added ` marks to enclose table and field names.
· Added get_magic_quotes_runtime to help prevent failed queries.
2. Installation
---------------
Extract archive to temp dir and copy included as noted below (and chmod if shown):
---------------------------------------------------------------------------------
README.txt (do not upload, your reading it)
Edits_For_Core_Files ---------------> Instructions for core file edits
html/blocks/*.* --------------------> root/blocks/*.*
html/images/*.* --------------------> root/images/*.*
html/includes/*.* ------------------> root/includes/*.*
html/modules/*.* -------------------> root/modules/*.*
html/themes/*.* --------------------> this theme is included so you can see
what needs to be added to your themes
for this package.
* root = the root directory of your site.
html/nsnba.php ---------------------> This installer will install, upgrade,
or destall NSN Banner Ads.
3. Use
------
1) The link needed to use anywhere is :
<a href="modules.php?name=Banner_Ads">Banner Ads</a>
2) To use the side blocks you should simply upload the files as noted above.
After that you "Create New" block and the block will appear in your selection
list.
3) In your theme.php files (you MUST edit all themes) look for the themeheader &
themefooter functions. Then replace the first example with the second example:
(In some themes you will find a complete copy of the old banners.php code, in
that case you will need to replace that section completely)
THEMEHEADER ORIGINAL LINES
if ($banners == 1) {
@include_once("banners.php");
}
THEMEHEADER NEW LINES
if ($banners == 1) {
@include_once("includes/babanners1.php");
}
THEMEFOOTER NEW LINES (place just after the global line and add $banners to
the global line)
if ($banners == 1) {
@include_once("includes/babanners2.php");
}
You will have to add the following to your theme.php (if your theme uses
html files this is the one to edit):
1) $tbanners1 to the header display for placement 1 (header.html).
2) $tbanners2 to the footer display for placement 2 (footer.html).
4. File Modifications
---------------------
Goto http://www.nukescripts.net/modules.php?name=Script_Depository . Once there go
in the Modified_Core_Files/NSN_Banner_Ads section and select your version of
PHP-Nuke. There your will find pre-edited core files that you can use or compare
to your current copy to find the needed edits.
1. Giriş ve Koşullar
--------------------------------
Bu PHP-Nuke 7,5 7,7 artı Patched 2,9 ile + yüklü olması gerekmektedir.
Bu ürün yüklemesi için bir experenced webmaster'a gerektirir.
Yeni müşteriler sağlar kaydolmak için.
Scripted ekler ve Flash afiş türleri.
Afiş için başlangıç tarihini belirlemek için bir webmaster sağlar.
Sağlar yöneticisi veya gösterim kullanmaya karar vermek için son tarih
afiş için.
Sağlar webmaster'a tüm müşteri ve aktarma seçeneğini
Yeni veritabanı tabloları için afiş.
Added `isimleri tablo ve alan çevrelemek için işaretler.
Başarısız sorguları engellemek için get_magic_quotes_runtime eklendi.
2. Yükleme
---------------
Dir ve kopyalama ısı arşivlemek Çıkarımı aşağıda eğer gösterilir (ve): chmod kaydetti dahil:
-------------------------------------------------- -------------------------------
Benioku.txt (yükleme yapmak değil, sizin okuma it)
Edits_For_Core_Files ---------------> Talimatları core dosyası düzenleme için
html / bloklar / *.* --------------------> root / bloklar / *.*
html / images / *.* --------------------> root / images / *.*
html / includes / *.* ------------------> root / includes / *.*
html / modules / *.* -------------------> root / modules / *.*
html / temalar / *.* --------------------> bu temayı böylece görebilirsiniz dahildir
ne temalar eklenmiş olması gerekir
bu paket için.
* Root = sitenizin kök dizinine.
html / nsnba.php ---------------------> Bu yükleyici, yükseltme, yükleyecek
veya destall NSN Banner Reklamları.
3. Kullanmak
------
1) herhangi bir yerde bir bağlantı kullanmak için gerekli:
<a href="modules.php?name=Banner_Ads"> Afiş Reklamlar </a>
2) sadece dosyaları yukarıda belirttiğimiz yüklemelisiniz yan blok kullanmak için.
Bundan sonra "ve blok seçiminizi görünecektir Yeni Blok Oluştur
listesi.
3) theme.php dosyalarında (You MUST) ve themeheader & arayın tüm temalar düzenlemek
themefooter işlevleri. Daha sonra ikinci örnek olan ilk örnek değiştirin:
(Bazı temalar olarak, en eski banners.php kodu tam bir kopyasını bulabilirsiniz
Tamamen bu bölüm değiştirmek için) Bu durumda ihtiyacınız olacak
THEMEHEADER ORİJİNAL HATLARI
if ($banners == 1) {
@include_once("banners.php");
}
THEMEHEADER YENİ HAT
if ($banners == 1) {
@include_once("includes/babanners1.php");
}
Global satırı ve sonra $ afiş eklemek THEMEFOOTER YENİ HAT (yer
küresel hat)
if ($banners == 1) {
@include_once("includes/babanners2.php");
}
Eklemek gerekir Sizin theme.php için aşağıdaki (eğer tema kullanır
Bu düzenlemek için ise html dosyası):
1) $ tbanners1 yerleştirme 1 (başlık.html) için başlık görüntülemek için kullanılır.
2) $ tbanners2 yerleşim 2 (altlık.html) için altbilgi görüntüleyin.
4. Dosya Modifications
---------------------
Git http://www.nukescripts.net/modules.php?name=Script_Depository. Sonra git
bu Modified_Core_Files in / NSN_Banner_Ads bölümü ve sürümü seçin
PHP-Nuke. Ancak önceden düzenlenmiş çekirdek dosyaları kullanmak veya karşılaştırın bulabilirsiniz
gerekli düzenlemeler için geçerli kopyalayın.
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız