Cevapla  Konu Gönder 
 
Derecelendir
  • 0 Oylar - 0 Yüzde
  • 1
  • 2
  • 3
  • 4
  • 5
index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!
12-28-2007, 03:30 PM
Mesaj: #1
index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!
BİRAZ UZUN AMA FARKLI BİRŞEY YAPMAK İSTEYENLER İÇİN GÜSEL EKLENTİ BU [Resim: tongue.gif]

ADMİN PANELİNDEKİ RESMİ

Ziyaretçi Linkleri görebilmek için LütfenKAYITOlunuz.
ÇALIŞTIĞI AN :=)
Ziyaretçi Linkleri görebilmek için LütfenKAYITOlunuz.


ÖRNEK BAKIN;
Ziyaretçi Linkleri görebilmek için LütfenKAYITOlunuz.

Ziyaretçi Linkleri görebilmek için LütfenKAYITOlunuz.

Ziyaretçi Linkleri görebilmek için LütfenKAYITOlunuz.




Kod:
/*
+--------------------------------------------------------------------------
|  |   ========================================
|   by Jack
|
|   (c) 2005 mkportal-fr.com
|   http://www.mkportal-fr.com
||  http://www.mkportal.gen.tr
|
+---------------------------------------------------------------------------
|
|   > Powered by Neuroitc
|   > http://www.neuroitc.net
|
+--------------------------------------------------------------------------
|
|   > MKPortal
|   > Written By Amedeo de longis
|   > Date started: 9.2.2004
|
+--------------------------------------------------------------------------
*/
==============================DESCRIPTION========= =========================

This MOD enables you to change the addresses of mkportal for a better referencing.

=============================YÜKLEME============== ====================

ANA DİZİNDE .htaccess DOSYASI
------------------------------
AÇ /.htaccess
------------------------------
EKLE :

Kod:
RewriteEngine On
RewriteRule ^index\.html /index.php [L]
RewriteRule [.]*-page\-([0-9]*)\.html /index.php?pid=$1 [L]
RewriteRule ^downloads\.html /index.php?ind=downloads [L]
RewriteRule ^downloads\-section\-([0-9]*)\.html /index.php?ind=downloads&op=section_view&idev=$1 [L]
RewriteRule ^downloads\-section\-([0-9]*)-([0-9]*)\.html /index.php?ind=downloads&op=section_view&idev=$1&order=&st=$2 [L]
RewriteRule ^downloads\-file\-([0-9]*)\.html /index.php?ind=downloads&op=entry_view&iden=$1 [L]
RewriteRule ^downloads\-submit\.html /index.php?ind=downloads&op=submit_file [L]
RewriteRule ^downloads\-addfile\.html /index.php?ind=downloads&op=add_file [L]
RewriteRule ^downloads\-editfile-([0-9]*)\.html /index.php?ind=downloads&op=update_file&iden=$1 [L]
RewriteRule ^downloads\-search\.html /index.php?ind=downloads&op=search [L]
RewriteRule ^downloads\-searchresult\.html /index.php?ind=downloads&op=result_search [L]
RewriteRule ^downloads\-comment-([0-9]*)\.html /index.php?ind=downloads&op=submit_comment&ide=$1 [L]
RewriteRule ^downloads\-rate-([0-9]*)\.html /index.php?ind=downloads&op=submit_rate&ide=$1 [L]
RewriteRule ^downloads\-edit-([0-9]*)\.html /index.php?ind=downloads&op=edit_file&iden=$1 [L]
RewriteRule ^downloads\-delete-([0-9]*)\.html /index.php?ind=downloads&op=del_file&iden=$1 [L]
RewriteRule ^blog\.html /index.php?ind=blog [L]
RewriteRule ^blog\-([0-9]*)\.html /index.php?ind=blog&op=home&idu=$1 [L]
RewriteRule ^blog\-rate-([0-9]*)\.html /index.php?ind=blog&op=submit_rate&ide=$1 [L]
RewriteRule ^blog\-comment-([0-9]*)-([0-9]*)\.html /index.php?ind=blog&op=home&idu=$1&singlepost=$2 [L]
RewriteRule ^gallery\.html /index.php?ind=gallery [L]
RewriteRule ^gallery\-section\-([0-9]*)\.html /index.php?ind=gallery&op=section_view&idev=$1 [L]
RewriteRule ^gallery\-section\-([0-9]*)-([0-9]*)\.html /index.php?ind=gallery&op=section_view&idev=$1&order=&st=$2 [L]
RewriteRule ^gallery\-image\-([0-9]*)\.html /index.php?ind=gallery&op=foto_show&ida=$1 [L]
RewriteRule ^gallery\-search\.html /index.php?ind=gallery&op=search [L]
RewriteRule ^gallery\-searchresult\.html /index.php?ind=gallery&op=result_search [L]
RewriteRule ^gallery\-submit\.html /index.php?ind=gallery&op=submit_file [L]
RewriteRule ^gallery\-addfile\.html /index.php?ind=gallery&op=add_file [L]
RewriteRule ^gallery\-editfile-([0-9]*)\.html /index.php?ind=gallery&op=update_file&iden=$1 [L]
RewriteRule ^gallery\-present\.html /index.php?ind=gallery&op=slide_start [L]
RewriteRule ^gallery\-ecard\-([0-9]*)\.html /index.php?ind=gallery&op=submit_postcard&ide=$1 [L]
RewriteRule ^gallery\-comment\-([0-9]*)\.html /index.php?ind=gallery&op=submit_comment&ide=$1 [L]
RewriteRule ^gallery\-rate\-([0-9]*)\.html /index.php?ind=gallery&op=submit_rate&ide=$1 [L]
RewriteRule ^gallery\-edit\-([0-9]*)\.html /index.php?ind=gallery&op=edit_file&iden=$1 [L]
RewriteRule ^gallery\-delete\-([0-9]*)\.html /index.php?ind=gallery&op=del_file&iden=$1 [L]
RewriteRule ^news\.html /index.php?ind=news [L]
RewriteRule ^news\-section\-([0-9]*)\.html /index.php?ind=news&op=news_show_category&idc=$1 [L]
RewriteRule ^news\-section\-([0-9]*)-([0-9]*)\.html /index.php?ind=news&op=news_show_category&idc=$1&order=&st=$2 [L]
RewriteRule ^news\-([0-9]*)\.html /index.php?ind=news&op=news_show_single&ide=$1 [L]
RewriteRule ^news\-submit\.html /index.php?ind=news&op=submit_news [L]
RewriteRule ^news\-addnews\.html /index.php?ind=news&op=reg_data [L]
RewriteRule ^news\-editnews-([0-9]*)\.html /index.php?ind=news&op=update_news&idnews=$1 [L]
RewriteRule ^news\-search\.html /index.php?ind=news&op=search [L]
RewriteRule ^news\-searchresult\.html /index.php?ind=news&op=result_search [L]
RewriteRule ^news\-edit\-([0-9]*)\.html /index.php?ind=news&op=edit&idnews=$1 [L]
RewriteRule ^news\-delete\-([0-9]*)\.html /index.php?ind=news&op=delete&idnews=$1 [L]
RewriteRule ^news\-comment\-([0-9]*)\.html /index.php?ind=news&op=submit_comment&idnews=$1 [L]
RewriteRule ^topsite\.html /index.php?ind=topsite [L]
RewriteRule ^site\-([0-9]*)\.html /index.php?ind=topsite&op=click_site&idb=$1 [L]
RewriteRule ^rate-site\-([0-9]*)\.html /index.php?ind=topsite&op=submit_rate&ide=$1 [L]
RewriteRule ^topsite-submit\.html /index.php?ind=topsite&op=submit_site [L]
RewriteRule ^reviews\.html /index.php?ind=reviews [L]
RewriteRule ^reviews\-section\-([0-9]*)\.html /index.php?ind=reviews&op=section_view&idev=$1 [L]
RewriteRule ^reviews\-section\-([0-9]*)-([0-9]*)\.html /index.php?ind=reviews&op=section_view&idev=$1&order=&st=$2 [L]
RewriteRule ^reviews\-([0-9]*)\.html /index.php?ind=reviews&op=entry_view&iden=$1 [L]
RewriteRule ^reviews\-search\.html /index.php?ind=reviews&op=search [L]
RewriteRule ^reviews\-searchresult\.html /index.php?ind=reviews&op=result_search [L]
RewriteRule ^reviews\-submit\.html /index.php?ind=reviews&op=submit_file [L]
RewriteRule ^reviews\-submitfile\.html /index.php?ind=reviews&op=submit_file1 [L]
RewriteRule ^reviews\-addfile\.html /index.php?ind=reviews&op=add_file [L]
RewriteRule ^reviews\-editfile-([0-9]*)\.html /index.php?ind=reviews&op=update_file&iden=$1 [L]
RewriteRule ^reviews\-comment\-([0-9]*)\.html /index.php?ind=reviews&op=submit_comment&ide=$1 [L]
RewriteRule ^reviews\-rate\-([0-9]*)\.html /index.php?ind=reviews&op=submit_rate&ide=$1 [L]
RewriteRule ^reviews\-edit\-([0-9]*)\.html /index.php?ind=reviews&op=edit_file&iden=$1 [L]
RewriteRule ^reviews\-delete\-([0-9]*)\.html /index.php?ind=reviews&op=del_file&iden=$1 [L]
RewriteRule ^quote\.html /index.php?ind=quote [L]
RewriteRule ^quote\-submit\.html /index.php?ind=quote&op=submit_quote [L]
RewriteRule ^chat\.html /index.php?ind=chat [L]
RewriteRule ^staff\.html /index.php?ind=staff [L]
RewriteRule ^shoutbox\.html /index.php?ind=urlobox [L]
RewriteRule ^shoutbox-delete-([0-9]*)\.html /index.php?ind=urlobox&op=delete&idurlo=$1[L]
RewriteRule ^websites\.html /index.php?ind=websites [L]
RewriteRule ^websites\-section\-([0-9]*)\.html /index.php?ind=websites&op=section_view&idev=$1 [L]
RewriteRule ^websites\-section\-([0-9]*)-([0-9]*)\.html /index.php?ind=websites&op=section_view&idev=$1&order=&st=$2 [L]
RewriteRule ^websites\-([0-9]*)\.html /index.php?ind=websites&op=entry_view&iden=$1 [L]
RewriteRule ^websites\-search\.html /index.php?ind=websites&op=search [L]
RewriteRule ^websites\-searchresult\.html /index.php?ind=websites&op=result_search [L]
RewriteRule ^websites\-submit\.html /index.php?ind=websites&op=submit_file [L]
RewriteRule ^websites\-submitsite\.html /index.php?ind=websites&op=submit_file1 [L]
RewriteRule ^websites\-addsite\.html /index.php?ind=websites&op=add_file [L]
RewriteRule ^websites\-editsite-([0-9]*)\.html /index.php?ind=websites&op=update_file&iden=$1 [L]
RewriteRule ^websites\-comment\-([0-9]*)\.html /index.php?ind=websites&op=submit_comment&ide=$1 [L]
RewriteRule ^websites\-rate\-([0-9]*)\.html /index.php?ind=websites&op=submit_rate&ide=$1 [L]
RewriteRule ^websites\-edit\-([0-9]*)\.html /index.php?ind=websites&op=edit_file&iden=$1 [L]
RewriteRule ^websites\-delete\-([0-9]*)\.html /index.php?ind=websites&op=del_file&iden=$1 [L]
RewriteRule ^websites\-badlink\-([0-9]*)\.html /index.php?ind=websites&op=submit_badlink&ide=$1 [L]
RewriteRule ^articoli\.html /index.php?ind=articoli [L]
RewriteRule ^articoli\-section\-([0-9]*)\.html /index.php?ind=articoli&op=section_view&idev=$1 [L]
RewriteRule ^articoli\-section\-([0-9]*)-([0-9]*)\.html /index.php?ind=articoli&op=section_view&idev=$1&order=&st=$2 [L]
RewriteRule ^articoli\-([0-9]*)\.html /index.php?ind=articoli&op=entry_view&iden=$1 [L]
RewriteRule ^articoli\-search\.html /index.php?ind=articoli&op=search [L]
RewriteRule ^articoli\-searchresult\.html /index.php?ind=articoli&op=result_search [L]
RewriteRule ^articoli\-submit\.html /index.php?ind=articoli&op=submit_file [L]
RewriteRule ^articoli\-submitfile\.html /index.php?ind=articoli&op=submit_file1 [L]
RewriteRule ^articoli\-addsite\.html /index.php?ind=articoli&op=add_file [L]
RewriteRule ^articoli\-editfile-([0-9]*)\.html /index.php?ind=articoli&op=update_file&iden=$1 [L]
RewriteRule ^articoli\-comment\-([0-9]*)\.html /index.php?ind=articoli&op=submit_comment&ide=$1 [L]
RewriteRule ^articoli\-rate\-([0-9]*)\.html /index.php?ind=articoli&op=submit_rate&ide=$1 [L]
RewriteRule ^articoli\-edit\-([0-9]*)\.html /index.php?ind=articoli&op=edit_file&iden=$1 [L]
RewriteRule ^articoli\-delete\-([0-9]*)\.html /index.php?ind=articoli&op=del_file&iden=$1 [L]
------------------------------
KAYDET VE GÖNDER
------------------------------------------------------------
------------------------------------------------------------

------------------------------
AÇ /mkportal/admin/ad_main.php
------------------------------
------------------------------
Code:
Kod:
In function ad_show()
------------------------------
BUL :

Kod:
$loadleftf = $mklib->unloadforumleft;
Add after:
  Code:
//added urlfriendky
    $urlfriendly = $mklib->friendurl;
    //end urlfriendly
------------------------------
Find :

Kod:
$checkleftf2 = "checked=\"checked\"";
    if ($loadleftf == "1") {
        $checkleftf1 = "checked=\"checked\"";
        $checkleftf2 = "";
       }
SONRASINA EKLE :

Kod:
//added urlfriendly      
       $urlfriendly2 = "checked=\"checked\"";
    if ($urlfriendly == "1") {
        $urlfriendly1 = "checked=\"checked\"";
        $urlfriendly2 = "";
       }
       //end urlfriendly
------------------------------
BUL:

Kod:
<tr>
        <td width=\"50%\" height=\"60\" class=\"modulex\">{$mklib->lang['ad_disablezip']}</td>
        <td width=\"50%\" class=\"modulex\" align=\"center\">{$mklib->lang['ad_yes']}&nbsp;<input type=\"radio\" value=\"1\" name=\"disablegzip\" $checkgzipd />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$mklib->lang['ad_no']}&nbsp;<input type=\"radio\" value=\"0\" name=\"disablegzip\" $checkgzipd2 /></td>
          </tr>
SONRASINA EKLE :

Kod:
<!-- added urlfriendly -->
        <tr>
        <td width=\"50%\" height=\"60\" class=\"modulex\"><b>{$mklib->lang['ad_enableurlfriendly']}</b></td>
        <td width=\"50%\" class=\"modulex\" align=\"center\">{$mklib->lang['ad_yes']}&nbsp;<input type=\"radio\" value=\"1\" name=\"enableurlfriendly\" $urlfriendly1 />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$mklib->lang['ad_no']}&nbsp;<input type=\"radio\" value=\"0\" name=\"enableurlfriendly\" $urlfriendly2 /></td>
        </tr>
        <!-- end urlfriendly -->
------------------------------
------------------------------

Kod:
In function main_save()
------------------------------
BUL:

Kod:
$loadrightf = $mkportals->input['loadrightf'];
SONRASINA EKLE :

Kod:
//--added urlrewriting
    $enableurlfriendly = $mkportals->input['enableurlfriendly'];
    //--end urlrewriting
BUL:

Kod:
$content = "<?php\n\n \$FORUM_PATH = \"$forumpath\"; \n \$FORUM_VIEW = \"$forumview\"; \n \$PORTAL_VIEW = \"$portalview\"; \n \$FORUM_CD = \"$forumcd\"; \n \$FORUM_CS = \"$forumcs\"; \n \$SITE_NAME = \"$sitename\";  \n \$SITE_URL = \"$siteurl\"; \n \$MK_TEMPLATE = \"$template\";\n \$MK_LANG = \"$mklang\";\n \$MK_EDITOR = \"$mkeditor\";\n \$MK_BOARD = \"$MK_BOARD\";\n \$MK_TIMEDIFF = \"$timediff\";\n \$MK_OFFLINE = \"$offline\";\n \$MK_DISABLEGZIP = \"$disablegzip\";\n \$MK_PORTALWIDTH = \"$portalwidth\";\n \$MK_COLUMNWIDTH = \"$columnwidth\";\n \$MK_DISABLENAV = \"$shownav\";\n \$MK_LOADLEFTC = \"$loadleftg\";\n \$MK_LOADRIGHTC = \"$loadrightg\";\n \$MK_UNLOADLEFTF = \"$loadleftf\";\n \$MK_UNLOADRIGHTF = \"$loadrightf\";\n ?>";
SONRASINA EKLE :

Kod:
$content = "<?php\n\n \$FORUM_PATH = \"$forumpath\"; \n \$FORUM_VIEW = \"$forumview\"; \n \$PORTAL_VIEW = \"$portalview\"; \n \$FORUM_CD = \"$forumcd\"; \n \$FORUM_CS = \"$forumcs\"; \n \$SITE_NAME = \"$sitename\";  \n \$SITE_URL = \"$siteurl\"; \n \$MK_TEMPLATE = \"$template\";\n \$MK_LANG = \"$mklang\";\n \$MK_EDITOR = \"$mkeditor\";\n \$MK_BOARD = \"$MK_BOARD\";\n \$MK_TIMEDIFF = \"$timediff\";\n \$MK_OFFLINE = \"$offline\";\n \$MK_DISABLEGZIP = \"$disablegzip\";\n \$MK_PORTALWIDTH = \"$portalwidth\";\n \$MK_COLUMNWIDTH = \"$columnwidth\";\n \$MK_DISABLENAV = \"$shownav\";\n \$MK_LOADLEFTC = \"$loadleftg\";\n \$MK_LOADRIGHTC = \"$loadrightg\";\n \$MK_UNLOADLEFTF = \"$loadleftf\";\n \$MK_UNLOADRIGHTF = \"$loadrightf\";\n \$MK_FRIENDURL = \"$enableurlfriendly\";\n ?>";
------------------------------
KAYDET VE GÖNDER
------------------------------------------------------------
------------------------------------------------------------
AÇ /mkportal/include/functions.php
------------------------------
------------------------------ Code:
Kod:
In function printpage, function printpage_forum, function printpage_admin and function printpage_blog:
------------------------------
BUL :

Kod:
$output .= $this->footer();
iKSİNDEN BİRİ:

Kod:
$output .= $this->footer_admin();
SONRASINA EKLE :

Kod:
//--added urlrewriting
    if($this->friendurl){
        $output = $this->urlrewriting($output);
        }
        //--end urlrewriting

[Resim: 2lktzco.jpg]
Tüm Mesajlarını Bul
Alıntı Yaparak Cevapla
« Önceki | Sonraki »
Cevapla  Konu Gönder 
Anahtar Kelimeler

index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  ,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  indir,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  yükle,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  download,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  indirmek istiyorum,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  yükle,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  bedava, index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  İNDİR,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  YÜKLE,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!free,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!yukle,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!İndir,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!download,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!inndir,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  Dvdrip,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!  filmi indir,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!online izle,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!super film,index.php YERİNE index.html OLSUN SAYFA UZANTILARINIZ !!bedava insit



Benzeyen Konular
Konu: Yazar Cevaplar: Görüntüleyenler: Son Mesaj
  Portalda Sayfa Olusturabiliceginiz Html Code Dersleri SoniQuake 0 177 12-09-2007 12:36 PM
Son Mesaj: SoniQuake

Forum Atla: