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: 1265
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ME_Haber 2.3..
(111314 okuma, 145 yanıt)
 Resim Galerisi Modülü 2.0..
(123954 okuma, 173 yanıt)
 Ustalardan Bir Ricam Olac..
(13829 okuma, 6 yanıt)
 nukecode.com will close..
(11369 okuma, 5 yanıt)
 super youtube player a lo..
(6447 okuma, 1 yanıt)
 Need good PHP Haber port..
(5694 okuma, 0 yanıt)
 Forum Nasil Tam Sayfa Olu..
(35698 okuma, 40 yanıt)
 Php nuke Forumu Düzenleme..
(10069 okuma, 6 yanıt)
 Yeni Üyelik Aktivasyon Li..
(11132 okuma, 6 yanıt)
 Aşk Flashları Modülü..
(7146 okuma, 2 yanıt)
 resim galeri 2.0 da kateg..
(11618 okuma, 9 yanıt)
 Yeni iki modul: Merhumlar..
(32782 okuma, 36 yanıt)
 ürün tanıtım modülü..
(25570 okuma, 23 yanıt)
 PHP Nuke is out..
(15293 okuma, 13 yanıt)
 MSN Video Bing Video oldu..
(5300 okuma, 0 yanıt)
 haberhit.com..
(5887 okuma, 1 yanıt)
 Bilgi Yarışması 1.0 tama..
(52917 okuma, 72 yanıt)
 Musıc Box elinde olan var..
(6822 okuma, 2 yanıt)
 Online Okey , Batak , Tav..
(177073 okuma, 340 yanıt)
 Emlak Modül ve Blockları ..
(12505 okuma, 8 yanıt)
 WM who ist shampions..
(5152 okuma, 1 yanıt)
 coppermine resim galerisi..
(5577 okuma, 1 yanıt)
 Forumda Teşekkür Eklentis..
(9197 okuma, 7 yanıt)
 free wordpress themes..
(5673 okuma, 1 yanıt)
 JW image rotator for nsn ..
(7778 okuma, 4 yanıt)
 need Iletisim module..
(11187 okuma, 8 yanıt)
 Yeni modul: İletişim modu..
(28120 okuma, 33 yanıt)
 Başvuru Modulu ve Etkinli..
(5946 okuma, 1 yanıt)
 world cup flash..
(5125 okuma, 0 yanıt)
 ..:: Php Nuke FTP link Ha..
(5020 okuma, 0 yanıt)
 yeni phpnuke youtube 2.0..
(5260 okuma, 1 yanıt)
 Content Plus Önceki Konu ..
(4858 okuma, 0 yanıt)
 Php nuke Tickets Modülü..
(8109 okuma, 5 yanıt)
 need help to news time..
(4627 okuma, 0 yanıt)
 NSN News v3.0 new plugin..
(4912 okuma, 0 yanıt)
 how to save flash as imag..
(6149 okuma, 2 yanıt)
 Video Blok Yardım Lütfen...
(6086 okuma, 2 yanıt)
 gazete ara..
(9936 okuma, 5 yanıt)
 Bizim Yazarlar ve Bizim Ş..
(15175 okuma, 14 yanıt)
 Nuke Reflections v2 Türkç..
(14823 okuma, 14 yanıt)
 CNB Your Account 750 442 ..
(14479 okuma, 13 yanıt)
 Admin panelindeki simge ç..
(12517 okuma, 9 yanıt)
 Hosting Modülü..
(14238 okuma, 13 yanıt)
 Bizim şairler Modülü..
(5290 okuma, 1 yanıt)
 new plugin for nsn news v..
(4835 okuma, 1 yanıt)
 php nuke 8.0 türkce dil s..
(7044 okuma, 3 yanıt)
 Kan Bankası Modül istek..
(6283 okuma, 2 yanıt)
 Haber Konulari Sayfasinda..
(5869 okuma, 2 yanıt)
 Kan Bankası Modülünde İsi..
(7192 okuma, 3 yanıt)
 sonhaberler flash block ..
(6753 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - AnaSayfadaki Aktif Forum Sayısını Artırmak
 AramaArama   RütbelerRütbeliler   ProfilProfil   GirişGiriş 


AnaSayfadaki Aktif Forum Sayısını Artırmak

 
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 Modülleri
Önceki başlık :: Sonraki başlık  
Yazar Mesaj
testes
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 04, 2005
Mesajlar: 17
Konum: asıkların şehrinden

MesajTarih: 2006-02-01, 21:17:27    Mesaj konusu: AnaSayfadaki Aktif Forum Sayısını Artırmak Alıntıyla Cevap Gönder

Arkadaşlar Ben Anasayfamdaki 5 Aktif Forumu 20miye çevirmek istiyorum Nasıl Yapabilirim işte Kodlar
Kod:

<?php


if (eregi("block-BlackW_Forums.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
   
global $prefix, $dbi, $sitename, $admin;

$HideViewReadOnly = 1;
          
$Last_New_Topics  = 5;
$show = "  <tr>
    <td height=\"28\" colspan=\"6\" align=\"center\" class=\"catbottom\" background=\"themes/BlackW/forums/images/cellpic3.gif\">&nbsp;</td>
  </tr>
</table></td>
        </tr>
      </table></td>
  </tr>
</table>";

$Count_Topics = 0;
$Topic_Buffer = "";
$result = sql_query( "SELECT topic_id, forum_id, topic_last_post_id, topic_title, topic_poster, topic_views, topic_replies, topic_moved_id FROM ".$prefix."_bbtopics ORDER BY topic_last_post_id DESC", $dbi );
while( list( $topic_id, $forum_id, $topic_last_post_id, $topic_title, $topic_poster, $topic_views, $topic_replies, $topic_moved_id ) = sql_fetch_row( $result, $dbi ) )

{
   $skip_display = 0;
   if( $HideViewReadOnly == 1 )
   {
      $result1 = sql_query( "SELECT auth_view, auth_read FROM ".$prefix."_bbforums where forum_id = '$forum_id'", $dbi );
      list( $auth_view, $auth_read ) = sql_fetch_row( $result1, $dbi );
      if( ( $auth_view != 0 ) or ( $auth_read != 0 ) ) { $skip_display = 1; }
   }

   if( $topic_moved_id != 0 )
   {
     // Shadow Topic !!
      $skip_display = 1;
   }
   
   if( $skip_display == 0 )
   {
     $Count_Topics += 1;

$result2 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$topic_poster'", $dbi);
list($username, $user_id)=sql_fetch_row($result2, $dbi);
$avtor=$username;
$sifra=$user_id;

$result3 = sql_query("SELECT poster_id, FROM_UNIXTIME(post_time,'%m/%d/%Y at %H:%i') as post_time FROM ".$prefix."_bbposts where post_id='$topic_last_post_id'", $dbi);
list($poster_id, $post_time)=sql_fetch_row($result3, $dbi);

$result4 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$poster_id'", $dbi);
list($username, $user_id)=sql_fetch_row($result4, $dbi);

                         $viewlast .="  <tr>
    <td height=\"30\" nowrap bgcolor=\"#2A2A2A\" class=\"row1\"><img src=\"themes/BlackW/forums/images/folder_new.gif\" border=\"0\" /></td>
    <td width=\"100%\" bgcolor=\"#2A2A2A\" class=\"row1\">&nbsp;<a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id#$topic_last_post_id\">$topic_title</a></td>
    <td align=\"center\" bgcolor=\"#363636\" class=\"row2\">$topic_replies</td>
    <td align=\"center\" bgcolor=\"#2A2A2A\" class=\"row3\"><a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$sifra\">$avtor</a></td>
    <td align=\"center\" bgcolor=\"#363636\" class=\"row2\">$topic_views</td>
    <td align=\"center\" nowrap bgcolor=\"#363636\" class=\"row3\"><font size=\"-2\"><i>&nbsp;&nbsp;$post_time&nbsp;</i></font><br>
      <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\">$username</a>&nbsp;<a href=\"modules.php?name=Forums&file=viewtopic&p=$topic_last_post_id#$topic_last_post_id\"><img src=\"themes/BlackW/forums/images/icon_minipost_new.gif\" border=\"0\"></a></td>
  </tr>";
}
   
   if( $Last_New_Topics == $Count_Topics ) { break 1; }
   
}

    $content .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr>
    <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
        <tr>
          <td  bgcolor=\"#000000\"><table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\">

  <tr>
    <th height=\"25\" colspan=\"2\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thcornerl\"><font color=\"#DCDCDC\"><strong>Topics</strong></font></th>
    <th width=\"50\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong>&nbsp;Replies&nbsp;</strong></font></th>
    <th width=\"100\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong>&nbsp;Author&nbsp;</strong></font></th>
    <th width=\"50\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong>&nbsp;Views&nbsp;</strong></font></th>
    <th align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thcornerr\"><font color=\"#DCDCDC\"><strong>&nbsp;Last Post&nbsp;</strong></font></th>
  </tr>";
    $content .= "$viewlast";

 $content .= "$show";

?>
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-06-26, 06:24:21    Mesaj konusu: Forum Arası Reklamlar


Başa dön
aslanonur
Mesaj: 1000+
Mesaj: 1000+





Kayıt: Apr 03, 2005
Mesajlar: 1904
Konum: İzmir

MesajTarih: 2006-02-01, 21:19:41    Mesaj konusu: Alıntıyla Cevap Gönder

Kod:

<?php


if (eregi("block-BlackW_Forums.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
   
global $prefix, $dbi, $sitename, $admin;

$HideViewReadOnly = 1;
         
$Last_New_Topics  = 20;
$show = "  <tr>
    <td height=\"28\" colspan=\"6\" align=\"center\" class=\"catbottom\" background=\"themes/BlackW/forums/images/cellpic3.gif\">&nbsp;</td>
  </tr>
</table></td>
        </tr>
      </table></td>
  </tr>
</table>";

$Count_Topics = 0;
$Topic_Buffer = "";
$result = sql_query( "SELECT topic_id, forum_id, topic_last_post_id, topic_title, topic_poster, topic_views, topic_replies, topic_moved_id FROM ".$prefix."_bbtopics ORDER BY topic_last_post_id DESC", $dbi );
while( list( $topic_id, $forum_id, $topic_last_post_id, $topic_title, $topic_poster, $topic_views, $topic_replies, $topic_moved_id ) = sql_fetch_row( $result, $dbi ) )

{
   $skip_display = 0;
   if( $HideViewReadOnly == 1 )
   {
      $result1 = sql_query( "SELECT auth_view, auth_read FROM ".$prefix."_bbforums where forum_id = '$forum_id'", $dbi );
      list( $auth_view, $auth_read ) = sql_fetch_row( $result1, $dbi );
      if( ( $auth_view != 0 ) or ( $auth_read != 0 ) ) { $skip_display = 1; }
   }

   if( $topic_moved_id != 0 )
   {
     // Shadow Topic !!
      $skip_display = 1;
   }
   
   if( $skip_display == 0 )
   {
     $Count_Topics += 1;

$result2 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$topic_poster'", $dbi);
list($username, $user_id)=sql_fetch_row($result2, $dbi);
$avtor=$username;
$sifra=$user_id;

$result3 = sql_query("SELECT poster_id, FROM_UNIXTIME(post_time,'%m/%d/%Y at %H:%i') as post_time FROM ".$prefix."_bbposts where post_id='$topic_last_post_id'", $dbi);
list($poster_id, $post_time)=sql_fetch_row($result3, $dbi);

$result4 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$poster_id'", $dbi);
list($username, $user_id)=sql_fetch_row($result4, $dbi);

                         $viewlast .="  <tr>
    <td height=\"30\" nowrap bgcolor=\"#2A2A2A\" class=\"row1\"><img src=\"themes/BlackW/forums/images/folder_new.gif\" border=\"0\" /></td>
    <td width=\"100%\" bgcolor=\"#2A2A2A\" class=\"row1\">&nbsp;<a href=\"modules.php?name=Forums&file=viewtopic&t=$topic_id#$topic_last_post_id\">$topic_title</a></td>
    <td align=\"center\" bgcolor=\"#363636\" class=\"row2\">$topic_replies</td>
    <td align=\"center\" bgcolor=\"#2A2A2A\" class=\"row3\"><a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$sifra\">$avtor</a></td>
    <td align=\"center\" bgcolor=\"#363636\" class=\"row2\">$topic_views</td>
    <td align=\"center\" nowrap bgcolor=\"#363636\" class=\"row3\"><font size=\"-2\"><i>&nbsp;&nbsp;$post_time&nbsp;</i></font><br>
      <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\">$username</a>&nbsp;<a href=\"modules.php?name=Forums&file=viewtopic&p=$topic_last_post_id#$topic_last_post_id\"><img src=\"themes/BlackW/forums/images/icon_minipost_new.gif\" border=\"0\"></a></td>
  </tr>";
}
   
   if( $Last_New_Topics == $Count_Topics ) { break 1; }
   
}

    $content .= "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
  <tr>
    <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
        <tr>
          <td  bgcolor=\"#000000\"><table width=\"100%\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\">

  <tr>
    <th height=\"25\" colspan=\"2\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thcornerl\"><font color=\"#DCDCDC\"><strong>Topics</strong></font></th>
    <th width=\"50\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong>&nbsp;Replies&nbsp;</strong></font></th>
    <th width=\"100\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong>&nbsp;Author&nbsp;</strong></font></th>
    <th width=\"50\" align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thtop\"><font color=\"#DCDCDC\"><strong>&nbsp;Views&nbsp;</strong></font></th>
    <th align=\"center\" nowrap background=\"themes/BlackW/forums/images/cellpic3.gif\" class=\"thcornerr\"><font color=\"#DCDCDC\"><strong>&nbsp;Last Post&nbsp;</strong></font></th>
  </tr>";
    $content .= "$viewlast";

 $content .= "$show";

?>

Denemedim ama çalışacaktır :)
Bilirsiniz asidin üzerine baz döktüm maksat PH olsun diye ?
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
testes
Mesaj: 1+
Mesaj: 1+





Kayıt: Aug 04, 2005
Mesajlar: 17
Konum: asıkların şehrinden

MesajTarih: 2006-02-01, 21:26:41    Mesaj konusu: Alıntıyla Cevap Gönder

aga tamam şimdi gördüm demin arama yapmıstım 5 i bulmamıstı o yuzden saolasın yinede
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder
aslanonur
Mesaj: 1000+
Mesaj: 1000+





Kayıt: Apr 03, 2005
Mesajlar: 1904
Konum: İzmir

MesajTarih: 2006-02-01, 21:29:10    Mesaj konusu: Alıntıyla Cevap Gönder

Çalıştı dimi ben sadece News Topics i görünce :) hemen atladım ama :)
Başa dön
Kullanıcının profilini görüntüle Özel mesaj gönder Yazarın web sitesini ziyaret et
Ö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 Modülleri 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 Forum Yedeği Yardım DursunKaptan Php Nuke Sorunlarınız 2 2010-07-10, 10:22:37 Son Mesajı Görüntüle
Bu başlık kilitlendi: mesajları değiştiremez ya da cevap yazamazsınız Yeni Sitemiz Forum PC - Teknoloji ve ... muhammed71 Site Tanıtımları & Eleştiriler 2 2010-07-05, 02:23:29 Son Mesajı Görüntüle
Yeni mesaj yok Forum konusuna resim ekleme. avara1984 Php Nuke Sorunlarınız 1 2010-07-04, 23:46:10 Son Mesajı Görüntüle
Yeni mesaj yok Forum Mesajları ahududu NukeBB Eklentileri 4 2010-07-03, 13:52:51 Son Mesajı Görüntüle
Yeni mesaj yok Forum konularına girince hata veriyor avara1984 Php Nuke Sorunlarınız 2 2010-06-19, 00:55:41 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