Anasayfa FORUMLAR Üye Girişi Dosyalar Dersler İpuçları Yardımcı Araçlar Hakkımızda
KİMLER BAĞLI
Toplam Üye: 32638
Aktif Üye: 0
Aktif Ziyaretçi: 761
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 nuke için sağ tarafta kay..
(23963 okuma, 13 yanıt)
 php hata yardım lüffen..
(9565 okuma, 2 yanıt)
 Virüs..
(7399 okuma, 1 yanıt)
 php-nuke Den Kayıp Yapmad..
(26289 okuma, 18 yanıt)
 Yeni 1 Tema yükledim böyL..
(10033 okuma, 5 yanıt)
 Türkçe KArakter Hatası :S..
(11672 okuma, 7 yanıt)
 Bir modülün admin file'ın..
(5556 okuma, 1 yanıt)
 Herhangi Bir Site Hostund..
(6620 okuma, 2 yanıt)
 sql hata veriyor..
(4977 okuma, 0 yanıt)
 Avatar yüklemede hata ver..
(6109 okuma, 1 yanıt)
 Konu başlıkları boyutu..
(5545 okuma, 1 yanıt)
 Resimli Menü Block Sorunu..
(13356 okuma, 9 yanıt)
 Üye kayıt olurken boşluk..
(12066 okuma, 9 yanıt)
 Aynı mysql'u kullanan bir..
(12283 okuma, 8 yanıt)
 video stream için bi iste..
(5139 okuma, 0 yanıt)
 siir bölümünde ilginc bir..
(5283 okuma, 1 yanıt)
 facebook hayranı ol blogu..
(14409 okuma, 7 yanıt)
 facebook'ta rss..
(4992 okuma, 1 yanıt)
 Center Block Sorunu..
(7022 okuma, 3 yanıt)
 Forum Yedeği Yardım..
(6397 okuma, 2 yanıt)
 Resim Göstermeme Sorunu..
(6464 okuma, 2 yanıt)
 Flashchat kaldırma..
(5633 okuma, 1 yanıt)
 Dergi tasarım..
(4591 okuma, 0 yanıt)
 Forum konusuna resim ekle..
(5945 okuma, 1 yanıt)
 html destek-yardım..
(9923 okuma, 7 yanıt)
 Temayı Sola Dayayıp, Dara..
(10964 okuma, 8 yanıt)
 Amanav Manşet Haber Yorum..
(15876 okuma, 15 yanıt)
 Haber resmi çok büyük çık..
(9958 okuma, 6 yanıt)
 Ip ve Domain Girişi..
(4562 okuma, 0 yanıt)
 Üye olurken noktalama isa..
(6036 okuma, 2 yanıt)
 Site ana sayfası çok geç ..
(5649 okuma, 1 yanıt)
 merhabalar..
(4899 okuma, 1 yanıt)
 emlak sitesi hakkında..
(10820 okuma, 7 yanıt)
 DinleTr Scriptinin Hatası..
(6037 okuma, 2 yanıt)
 Şeritli resimler Bloğu..
(9828 okuma, 7 yanıt)
 facebook duvar yazısı..
(5239 okuma, 1 yanıt)
 Radyo İstek Bölümü..
(12314 okuma, 11 yanıt)
 Php-Nuke 8.1 Kurulum Soru..
(7992 okuma, 5 yanıt)
 üye olunca aktifleştirme ..
(12003 okuma, 12 yanıt)
 php nuke tema..
(5293 okuma, 2 yanıt)
 bos sayfa nasil olusturur..
(7498 okuma, 4 yanıt)
 Resim Galersi Ve Ziyaretç..
(8220 okuma, 5 yanıt)
 DinleTr Scripti artık çal..
(9842 okuma, 7 yanıt)
 Phpnuke etiket sistemi...
(20969 okuma, 20 yanıt)
 tree menu..
(6902 okuma, 3 yanıt)
 sitem üye girişlerini kab..
(10870 okuma, 9 yanıt)
 Windows Hostta Nuke Sitey..
(6531 okuma, 3 yanıt)
 Pm Gönderiminde Sorun..
(4489 okuma, 1 yanıt)
 üyeyi sildim forumda izi ..
(6826 okuma, 3 yanıt)
 Üyeler arasi e-mail gönde..
(4330 okuma, 0 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - modülleri tam sayfa gösterme editlemesi lazım?
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


modülleri tam sayfa gösterme editlemesi lazım?

 
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Sorunlarınız
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
erkancan
Mesaj: 1+
Mesaj: 1+





Kayıt: Jan 23, 2008
Mesajlar: 34

MesajTarih: 2008-08-01, 03:36:26    Mesaj konusu: modülleri tam sayfa gösterme editlemesi lazım? Alıntıyla Cevap Gönder

İşte benim theme.php dosyam size zahmet modülleri tam sayfa göstermek için bu temada napabilirim?


Kod:
<php> "7.7") {
      $showbanners = ads(0);
   } else {
         if ($banners == 1) {   
         $numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'"));
         /* Get a random banner if exist any. */
         /* More efficient random stuff, thanks to Cristian Arroyo from http://www.planetalinux.com.ar */

         if ($numrows>1) {
         $numrows = $numrows-1;
         mt_srand((double)microtime()*1000000);
         $bannum = mt_rand(0, $numrows);
         } else {
         $bannum = 0;
         }
         $sql = "SELECT bid, imageurl, clickurl, alttext FROM ".$prefix."_banner WHERE type='0' AND active='1' LIMIT $bannum,1";
         $result = $db->sql_query($sql);
         $row = $db->sql_fetchrow($result);
         $bid = $row[bid];
         $imageurl = $row[imageurl];
         $clickurl = $row[clickurl];
         $alttext = $row[alttext];
         
         if (!is_admin($admin)) {
            $db->sql_query("UPDATE ".$prefix."_banner SET impmade=impmade+1 WHERE bid='$bid'");
         }
         if($numrows>0) {
         $sql2 = "SELECT cid, imptotal, impmade, clicks, date FROM ".$prefix."_banner WHERE bid='$bid'";
         $result2 = $db->sql_query($sql2);
         $row2 = $db->sql_fetchrow($result2);
         $cid = $row2[cid];
         $imptotal = $row2[imptotal];
         $impmade = $row2[impmade];
         $clicks = $row2[clicks];
         $date = $row2[date];

      /* Check if this impression is the last one and print the banner */

         if (($imptotal <impmade>sql_query("UPDATE ".$prefix."_banner SET active='0' WHERE bid='$bid'");
            $sql3 = "SELECT name, contact, email FROM ".$prefix."_bannerclient WHERE cid='$cid'";
            $result3 = $db->sql_query($sql3);
            $row3 = $db->sql_fetchrow($result3);
            $c_name = $row3[name];
            $c_contact = $row3[contact];
            $c_email = $row3[email];
            if ($c_email != "") {
           $from = "$sitename <adminmail>";
           $to = "$c_contact <c_email>";
           $message = ""._HELLO." $c_contact:\n\n";
           $message .= ""._THISISAUTOMATED."\n\n";
           $message .= ""._THERESULTS."\n\n";
           $message .= ""._TOTALIMPRESSIONS." $imptotal\n";
           $message .= ""._CLICKSRECEIVED." $clicks\n";
           $message .= ""._IMAGEURL." $imageurl\n";
           $message .= ""._CLICKURL." $clickurl\n";
           $message .= ""._ALTERNATETEXT." $alttext\n\n";
           $message .= ""._HOPEYOULIKED."\n\n";
           $message .= ""._THANKSUPPORT."\n\n";
           $message .= "- $sitename "._TEAM."\n";
           $message .= "$nukeurl";
           $subject = "$sitename: "._BANNERSFINNISHED."";
           mail($to, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
            }
         }
         $showbanners = "<a href="banners.php?op=click&bid=$bid\" target="_blank\"><img src=\"$imageurl\" border=\"0\" alt='$alttext' title='$alttext'></a>";
         }
      }
   }
   c o o k i edecode($user);
    $username = $c o o k i e[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#FFFFFF\" text=\"#000000\" leftmargin=\"10\" topmargin=\"10\" marginwidth=\"10\" marginheight=\"10\">";
   
    if ($username == "Anonymous") {
   $theuser = "&nbsp;&nbsp;<a href="modules.php?name=Your_Account\">"._LOGIN."</a>/<a href="modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
    } else {
   $theuser = "&nbsp;&nbsp;"._BWEL." $username!";
    }
   $datetime = "<s>\n\n"
   ."<!--   // Array ofmonth Names\n"
   ."var monthNames = new Array( \""._JANUARY."\",\""._FEBRUARY."\",\""._MARCH."\",\""._APRIL."\",\""._MAY."\",\""._JUNE."\",\""._JULY."\",\""._AUGUST."\",\""._SEPTEMBER."\",\""._OCTOBER."\",\""._NOVEMBER."\",\""._DECEMBER."\");\n"
   ."var now = new Date();\n"
   ."thisYear = now.getYear()+543;\n"
   ."if(thisYear <1900>\n\n"
   ."</s>";
     $public_msg = public_message();
    $tmpl_file = "themes/Nuke12-dec-07/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
    $blockside="l";
    blocks(left);
    $tmpl_file = "themes/Nuke12-dec-07/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themefooter()                                   */
/*                                                          */
/* Control the footer for your site. You don't need to      */
/* close BODY and HTML tags at the end. In some part call   */
/* the function for right blocks with: blocks(right);       */
/* Also, $index variable need to be global and is used to   */
/* determine if the page your're viewing is the Homepage or */
/* and internal one.                                        */
/************************************************************/

function themefooter() {
    global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message, $blockside;
    if (defined('INDEX_FILE') || ($index == 1)) {
   $tmpl_file = "themes/Nuke12-dec-07/center_right.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   e v a l($thefile);
   print $r_file;
    $blockside="r";
   blocks(right);
    }   
    $tmpl_file = "themes/Nuke12-dec-07/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
   //echo "<center>\n";
   //$footer_message = footmsg();
   // echo "</center>\n";
   //echo "<br>\n";
}

/************************************************************/
/* Function themeindex()                                    */
/*                                                          */
/* This function format the stories on the Homepage         */
/************************************************************/

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
   $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
   $t_image = "themes/$ThemeSel/images/topics/$topicimage";
    } else {
   $t_image = "$tipath$topicimage";
    }
    if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> $notes\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   $content = "$thetext$notes\n";
    } else {
   if($informant != "") {
       $content = "<a href="modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." \"$thetext\"$notes\n";
    }
    $posted = ""._POSTEDBY." ";
    $posted .= get_author($aid);
    $posted .= " "._ON." $time $timezone ($counter "._READS.")";
    $tmpl_file = "themes/Nuke12-dec-07/story_home.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themearticle()                                  */
/*                                                          */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home        */
/************************************************************/

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath;
   $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
   $t_image = "themes/$ThemeSel/images/topics/$topicimage";
    } else {
   $t_image = "$tipath$topicimage";
    }
    $posted = ""._POSTEDON." $datetime "._BY." ";
    $posted .= get_author($aid);
    if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> $notes\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   $content = "$thetext$notes\n";
    } else {
   if($informant != "") {
       $content = "<a href="modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." \"$thetext\"$notes\n";
    }
    $tmpl_file = "themes/Nuke12-dec-07/story_page.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themesidebox()                                  */
/*                                                          */
/* Control look of your blocks. Just simple.                */
/************************************************************/

function themesidebox($title, $content) {
   
global $blockside;
    if ($blockside=="l") {
       $tmpl_file = "themes/Nuke12-dec-07/blockleft.html";
    } else {
       $tmpl_file = "themes/Nuke12-dec-07/blockright.html";
    }
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

?>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-04-30, 23:31:02    Mesaj konusu: Forum Arası Reklamlar


Başa dön
Just
Mesaj: 100+
Mesaj: 100+





Kayıt: Oct 29, 2006
Mesajlar: 196
Konum: Uzak Bir Yer!

MesajTarih: 2008-08-01, 13:24:13    Mesaj konusu: Alıntıyla Cevap Gönder

Kullandığın Temanın theme.php dosyasını aç ve aşağıdaki kodu bul:

Kod:
function themeheader() {


Hemen altında global satırı vardır bu satıra,

Kod:
$name


ekle.

Kod bütünü bu şekilde olacak.

Kod:
global $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $name, $dbi;


Daha sonra..

Kod:
blocks(left);


satırını bulun. Aşağıdaki ile değiştirin.

Kod:
if ($name=='Forums') {}
elseif ($name=='istediğiniz modülün adı') {}
else {
blocks(left);
}


Forum dışındaki modülleri tam sayfa açmak için,

Örneğin;

Kod:
if ($name=='Forums') {}
elseif ($name=='Private_Messages') {}
elseif ($name=='coppermine') {}
else {
blocks(left);
}


Hangi modülü tam sayfa olarak göstermek istiyorsanız alt alta eklemeler ile yapabilirsiniz.

Örneğin;

Kod:
if ($name=='Forums') {}
elseif ($name=='Private_Messages') {}
elseif ($name=='coppermine') {}
elseif ($name=='A MODULU') {}
elseif ($name=='B MODULU') {}
elseif ($name=='C MODULU') {}
else {
blocks(left);
}



Bu tarz konular artık küflendi arama yaparak bulabilirsiniz. Her seferinde aynı başlıkları hortlatmanın anlamı yok.

Saygılarımla.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
erkancan
Mesaj: 1+
Mesaj: 1+





Kayıt: Jan 23, 2008
Mesajlar: 34

MesajTarih: 2008-08-01, 23:57:01    Mesaj konusu: Alıntıyla Cevap Gönder

Ben anlatamıyorum theme.php yi kolayalıp yazdım en üstte bulabilirsen arkadaşım sen bul anlattığın gibi birşey yok.. Anlayan varsa lütfen yardımcı olurmusunuz..? Crying or Very sad
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
erkancan
Mesaj: 1+
Mesaj: 1+





Kayıt: Jan 23, 2008
Mesajlar: 34

MesajTarih: 2008-08-04, 00:23:56    Mesaj konusu: Alıntıyla Cevap Gönder

Kardeş okuma yazmanız yokmu? bu iki oldu aynı şeyi yazmışsınız.
Bu işten gerçekten anlayan varsa theme.php en üstte.

adigecan
Just
hadi bakalım..
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
adigecan
Mesaj: 200+
Mesaj: 200+





Kayıt: Feb 20, 2008
Mesajlar: 212
Konum: Ankara

MesajTarih: 2008-08-04, 01:28:31    Mesaj konusu: Alıntıyla Cevap Gönder

al bakalım can erkan olmuş mu bak bakalım.

kodun içindeki

"İSTEDİĞİN MODÜLÜN ADI" yazılı yerini kendi modülüne göre değiştirmeyi unutmayasın :)

al sana kod

Kod:
<php> "7.7") {
      $showbanners = ads(0);
   } else {
         if ($banners == 1) {   
         $numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'"));
         /* Get a random banner if exist any. */
         /* More efficient random stuff, thanks to Cristian Arroyo from http://www.planetalinux.com.ar */

         if ($numrows>1) {
         $numrows = $numrows-1;
         mt_srand((double)microtime()*1000000);
         $bannum = mt_rand(0, $numrows);
         } else {
         $bannum = 0;
         }
         $sql = "SELECT bid, imageurl, clickurl, alttext FROM ".$prefix."_banner WHERE type='0' AND active='1' LIMIT $bannum,1";
         $result = $db->sql_query($sql);
         $row = $db->sql_fetchrow($result);
         $bid = $row[bid];
         $imageurl = $row[imageurl];
         $clickurl = $row[clickurl];
         $alttext = $row[alttext];
         
         if (!is_admin($admin)) {
            $db->sql_query("UPDATE ".$prefix."_banner SET impmade=impmade+1 WHERE bid='$bid'");
         }
         if($numrows>0) {
         $sql2 = "SELECT cid, imptotal, impmade, clicks, date FROM ".$prefix."_banner WHERE bid='$bid'";
         $result2 = $db->sql_query($sql2);
         $row2 = $db->sql_fetchrow($result2);
         $cid = $row2[cid];
         $imptotal = $row2[imptotal];
         $impmade = $row2[impmade];
         $clicks = $row2[clicks];
         $date = $row2[date];

      /* Check if this impression is the last one and print the banner */

         if (($imptotal <impmade>sql_query("UPDATE ".$prefix."_banner SET active='0' WHERE bid='$bid'");
            $sql3 = "SELECT name, contact, email FROM ".$prefix."_bannerclient WHERE cid='$cid'";
            $result3 = $db->sql_query($sql3);
            $row3 = $db->sql_fetchrow($result3);
            $c_name = $row3[name];
            $c_contact = $row3[contact];
            $c_email = $row3[email];
            if ($c_email != "") {
           $from = "$sitename <adminmail>";
           $to = "$c_contact <c_email>";
           $message = ""._HELLO." $c_contact:\n\n";
           $message .= ""._THISISAUTOMATED."\n\n";
           $message .= ""._THERESULTS."\n\n";
           $message .= ""._TOTALIMPRESSIONS." $imptotal\n";
           $message .= ""._CLICKSRECEIVED." $clicks\n";
           $message .= ""._IMAGEURL." $imageurl\n";
           $message .= ""._CLICKURL." $clickurl\n";
           $message .= ""._ALTERNATETEXT." $alttext\n\n";
           $message .= ""._HOPEYOULIKED."\n\n";
           $message .= ""._THANKSUPPORT."\n\n";
           $message .= "- $sitename "._TEAM."\n";
           $message .= "$nukeurl";
           $subject = "$sitename: "._BANNERSFINNISHED."";
           mail($to, $subject, $message, "From: $from\nX-Mailer: PHP/" . phpversion());
            }
         }
         $showbanners = "<a href="banners.php?op=click&bid=$bid\" target="_blank\"><img src=\"$imageurl\" border=\"0\" alt='$alttext' title='$alttext'></a>";
         }
      }
   }
   c o o k i edecode($user);
    $username = $c o o k i e[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#FFFFFF\" text=\"#000000\" leftmargin=\"10\" topmargin=\"10\" marginwidth=\"10\" marginheight=\"10\">";
   
    if ($username == "Anonymous") {
   $theuser = "&nbsp;&nbsp;<a href="modules.php?name=Your_Account\">"._LOGIN."</a>/<a href="modules.php?name=Your_Account&op=new_user\">"._BREG."</a>";
    } else {
   $theuser = "&nbsp;&nbsp;"._BWEL." $username!";
    }
   $datetime = "<s>\n\n"
   ."<!--   // Array ofmonth Names\n"
   ."var monthNames = new Array( \""._JANUARY."\",\""._FEBRUARY."\",\""._MARCH."\",\""._APRIL."\",\""._MAY."\",\""._JUNE."\",\""._JULY."\",\""._AUGUST."\",\""._SEPTEMBER."\",\""._OCTOBER."\",\""._NOVEMBER."\",\""._DECEMBER."\");\n"
   ."var now = new Date();\n"
   ."thisYear = now.getYear()+543;\n"
   ."if(thisYear <1900>\n\n"
   ."</s>";
     $public_msg = public_message();
    $tmpl_file = "themes/Nuke12-dec-07/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
    $blockside="l";
  if ($name=='İSTEDİĞİN MODÜLÜN ADI') {}
elseif ($name=='İSTEDİĞİN MODÜLÜN ADI') {}
else {
blocks(left);
}
    $tmpl_file = "themes/Nuke12-dec-07/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themefooter()                                   */
/*                                                          */
/* Control the footer for your site. You don't need to      */
/* close BODY and HTML tags at the end. In some part call   */
/* the function for right blocks with: blocks(right);       */
/* Also, $index variable need to be global and is used to   */
/* determine if the page your're viewing is the Homepage or */
/* and internal one.                                        */
/************************************************************/

function themefooter() {
    global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message, $blockside;
    if (defined('INDEX_FILE') || ($index == 1)) {
   $tmpl_file = "themes/Nuke12-dec-07/center_right.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   e v a l($thefile);
   print $r_file;
    $blockside="r";
   blocks(right);
    }   
    $tmpl_file = "themes/Nuke12-dec-07/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
   //echo "<center>\n";
   //$footer_message = footmsg();
   // echo "</center>\n";
   //echo "<br>\n";
}

/************************************************************/
/* Function themeindex()                                    */
/*                                                          */
/* This function format the stories on the Homepage         */
/************************************************************/

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
   $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
   $t_image = "themes/$ThemeSel/images/topics/$topicimage";
    } else {
   $t_image = "$tipath$topicimage";
    }
    if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> $notes\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   $content = "$thetext$notes\n";
    } else {
   if($informant != "") {
       $content = "<a href="modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." \"$thetext\"$notes\n";
    }
    $posted = ""._POSTEDBY." ";
    $posted .= get_author($aid);
    $posted .= " "._ON." $time $timezone ($counter "._READS.")";
    $tmpl_file = "themes/Nuke12-dec-07/story_home.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themearticle()                                  */
/*                                                          */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home        */
/************************************************************/

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath;
   $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
   $t_image = "themes/$ThemeSel/images/topics/$topicimage";
    } else {
   $t_image = "$tipath$topicimage";
    }
    $posted = ""._POSTEDON." $datetime "._BY." ";
    $posted .= get_author($aid);
    if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> $notes\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   $content = "$thetext$notes\n";
    } else {
   if($informant != "") {
       $content = "<a href="modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
   } else {
       $content = "$anonymous ";
   }
   $content .= ""._WRITES." \"$thetext\"$notes\n";
    }
    $tmpl_file = "themes/Nuke12-dec-07/story_page.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

/************************************************************/
/* Function themesidebox()                                  */
/*                                                          */
/* Control look of your blocks. Just simple.                */
/************************************************************/

function themesidebox($title, $content) {
   global $blockside;
    if ($blockside=="l") {
       $tmpl_file = "themes/Nuke12-dec-07/blockleft.html";
    } else {
       $tmpl_file = "themes/Nuke12-dec-07/blockright.html";
    }
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    e v a l($thefile);
    print $r_file;
}

?>
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder MSN Messenger
adigecan
Mesaj: 200+
Mesaj: 200+





Kayıt: Feb 20, 2008
Mesajlar: 212
Konum: Ankara

MesajTarih: 2008-08-04, 01:50:07    Mesaj konusu: Alıntıyla Cevap Gönder

tabi sen burdan direk kopyalayıp yapıştıracaksın ve haliyle hata verecek dosyan.

hata istemiyorsan uploadladım ben dosyayı aşağıdaki linkten theme.php yi indir ve ordaki "İSTEDİĞİNİZ MODÜLÜN ADI" yazanı kendine göre ayarla ve sendeki theme.php üzerine yaz.

o zaman sorunsuz istediğin olacaktır.

[url=http://www.dosya.cc/theme.rar.html ]THEME.PHP[/url]
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder MSN Messenger
Just
Mesaj: 100+
Mesaj: 100+





Kayıt: Oct 29, 2006
Mesajlar: 196
Konum: Uzak Bir Yer!

MesajTarih: 2008-08-04, 17:13:20    Mesaj konusu: Alıntıyla Cevap Gönder

erkancan :
Kardeş okuma yazmanız yokmu? bu iki oldu aynı şeyi yazmışsınız.
Bu işten gerçekten anlayan varsa theme.php en üstte.

adigecan
Just
hadi bakalım..


Kardeşim okuma yazmamız var çok şükür lisans bile yaptık hamd olsun... Yanlız sende okuma sorunu var sanırım herşey açıkca anlatılmış olan birşeyde direk hazırcılık yapmak yerine biraz mantık kullansan sorunsuzca halledeceksin...

Ben sana

Kod:
global $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $dbi;


içerisine,

Kod:
$name


ekle ve sonrada verdiğim kodlarla senin
Kod:
blocks(left);
değiştir demişim.

Bu kadar açıklayıcı birşeyi nasıl zora sokuyorsun anlayamadım doğrusu...

Daha doğrusu direk burdan kopyala yapıştır almak yerine verdiğim kodları yerleştirmeyi denedinmi yoksa function themeheader görmeden direk benim temamda böyle birşey yok mu dedin ? Merak ediyorum da...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
adigecan
Mesaj: 200+
Mesaj: 200+





Kayıt: Feb 20, 2008
Mesajlar: 212
Konum: Ankara

MesajTarih: 2008-08-04, 17:21:20    Mesaj konusu: Alıntıyla Cevap Gönder

yok kardeş söylemek olmaz yapıp direk vereceksin o zaman teşekkür ediliyor.

burdaki tema ethaigndesigne nın nuke 12 november teması yani alışık olduğumuz nuke temalarından değil. o yüzden theme.php side biraz değişik.

senin verdiğin kodları bizzat uyguladım ve hatta sırf kontrol etmek için temayı indirip kendi sitemde denedim ve başarılı olduğunu gördüm ve arkadaşa verdim.

ya oldu ya olmadı diye bi cevap verirsin artık değil mi can erkan ?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder MSN Messenger
Bu Site Google Adsense ile Gelir Elde Ediyor









Tarih: 2024-04-30, 23:31:02    Mesaj konusu: Forum Arası Reklamlar


Başa dön
erkancan
Mesaj: 1+
Mesaj: 1+





Kayıt: Jan 23, 2008
Mesajlar: 34

MesajTarih: 2008-08-05, 01:44:44    Mesaj konusu: Alıntıyla Cevap Gönder

Üstadlar bilseydim zaten yazmazdım buraya tema farklı bunu editleyebilecek kaç kişi war burda?? kendinizce haklısınız genede teşekkürler uğraşmışsınız elinize sağlık...
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
adigecan
Mesaj: 200+
Mesaj: 200+





Kayıt: Feb 20, 2008
Mesajlar: 212
Konum: Ankara

MesajTarih: 2008-08-05, 01:47:04    Mesaj konusu: Alıntıyla Cevap Gönder

ne yani şimdi can erkan. yukarıda sana verdiğim theme.php işe yaramadı mı diyorsun ?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder MSN Messenger
erkancan
Mesaj: 1+
Mesaj: 1+





Kayıt: Jan 23, 2008
Mesajlar: 34

MesajTarih: 2008-08-05, 01:50:45    Mesaj konusu: Alıntıyla Cevap Gönder

adigecan
teşekkürler werdiğ-in theme php işe yaradı öyle birşey demedim ellerine sağlık.
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
adigecan
Mesaj: 200+
Mesaj: 200+





Kayıt: Feb 20, 2008
Mesajlar: 212
Konum: Ankara

MesajTarih: 2008-08-05, 01:52:10    Mesaj konusu: Alıntıyla Cevap Gönder

paylaşmak güzeldir evet
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder E-posta gönder MSN Messenger
Just
Mesaj: 100+
Mesaj: 100+





Kayıt: Oct 29, 2006
Mesajlar: 196
Konum: Uzak Bir Yer!

MesajTarih: 2008-08-05, 17:04:45    Mesaj konusu: Alıntıyla Cevap Gönder

Acımızı, sevincimizi, ekmeğimizi, yemeğimizi, bildiğimizi paylaşmak... Şu fani dünyada hayatımızı anlamlı ve değerli kılan paylaşmaktan daha güzel bir mutluluk var mı? Ah şu paylaşmak :)
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
Önceki mesajları göster:   
Bu forum kilitlendi: mesaj gönderemez, cevap yazamaz ya da başlıkları değiştiremezsiniz   Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız    Netopsiyon Online Forum Ana Sayfa -> Php-Nuke -> Php Nuke Sorunlarınız Tüm zamanlar GMT + 3 Saat
1. sayfa (Toplam 1 sayfa)

 
Geçiş Yap:  
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

Benzer Konular

Başlık Yazar Forum Cevaplar Tarih
Yeni mesaj yok asp resim galerisi scrpti lazım gergernur Diğer Diller 0 2010-07-05, 19:51:50 Son Mesajı Görüntüle
Yeni mesaj yok bos sayfa nasil olustururum? Hakraa Php Nuke Sorunlarınız 4 2010-06-23, 19:04:17 Son Mesajı Görüntüle
Yeni mesaj yok Sayfa Sıralamak garapapag Php Nuke Sorunlarınız 1 2010-06-10, 06:26:30 Son Mesajı Görüntüle
Yeni mesaj yok php nuke 8,1 .htaccessi lazım. anzerhoneybee Php Nuke Sorunlarınız 3 2010-05-30, 16:56:28 Son Mesajı Görüntüle
Yeni mesaj yok Yardım :( Site açılırken beyaz sayfa ... bluwow Php-Nuke 2 2010-05-27, 17:58:59 Son Mesajı Görüntüle

Copyright © 2002-2024 Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. - Bütün hakları saklıdır!
Bu site Netopsiyon.com.tr Sunucularında Barındırılmaktadır.
Netopsiyon Bilişim Teknolojileri San. Tic. Ltd.Şti. Netopsiyon Copyright