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: 945
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ME_Haber 2.3..
(111571 okuma, 145 yanıt)
 Resim Galerisi Modülü 2.0..
(124282 okuma, 173 yanıt)
 Ustalardan Bir Ricam Olac..
(13876 okuma, 6 yanıt)
 nukecode.com will close..
(11397 okuma, 5 yanıt)
 super youtube player a lo..
(6467 okuma, 1 yanıt)
 Need good PHP Haber port..
(5706 okuma, 0 yanıt)
 Forum Nasil Tam Sayfa Olu..
(35761 okuma, 40 yanıt)
 Php nuke Forumu Düzenleme..
(10095 okuma, 6 yanıt)
 Yeni Üyelik Aktivasyon Li..
(11156 okuma, 6 yanıt)
 Aşk Flashları Modülü..
(7162 okuma, 2 yanıt)
 resim galeri 2.0 da kateg..
(11650 okuma, 9 yanıt)
 Yeni iki modul: Merhumlar..
(32904 okuma, 36 yanıt)
 ürün tanıtım modülü..
(25626 okuma, 23 yanıt)
 PHP Nuke is out..
(15333 okuma, 13 yanıt)
 MSN Video Bing Video oldu..
(5310 okuma, 0 yanıt)
 haberhit.com..
(5900 okuma, 1 yanıt)
 Bilgi Yarışması 1.0 tama..
(53018 okuma, 72 yanıt)
 Musıc Box elinde olan var..
(6839 okuma, 2 yanıt)
 Online Okey , Batak , Tav..
(177434 okuma, 340 yanıt)
 Emlak Modül ve Blockları ..
(12534 okuma, 8 yanıt)
 WM who ist shampions..
(5163 okuma, 1 yanıt)
 coppermine resim galerisi..
(5586 okuma, 1 yanıt)
 Forumda Teşekkür Eklentis..
(9211 okuma, 7 yanıt)
 free wordpress themes..
(5685 okuma, 1 yanıt)
 JW image rotator for nsn ..
(7797 okuma, 4 yanıt)
 need Iletisim module..
(11231 okuma, 8 yanıt)
 Yeni modul: İletişim modu..
(28194 okuma, 33 yanıt)
 Başvuru Modulu ve Etkinli..
(5958 okuma, 1 yanıt)
 world cup flash..
(5134 okuma, 0 yanıt)
 ..:: Php Nuke FTP link Ha..
(5031 okuma, 0 yanıt)
 yeni phpnuke youtube 2.0..
(5270 okuma, 1 yanıt)
 Content Plus Önceki Konu ..
(4866 okuma, 0 yanıt)
 Php nuke Tickets Modülü..
(8123 okuma, 5 yanıt)
 need help to news time..
(4636 okuma, 0 yanıt)
 NSN News v3.0 new plugin..
(4920 okuma, 0 yanıt)
 how to save flash as imag..
(6159 okuma, 2 yanıt)
 Video Blok Yardım Lütfen...
(6100 okuma, 2 yanıt)
 gazete ara..
(9953 okuma, 5 yanıt)
 Bizim Yazarlar ve Bizim Ş..
(15209 okuma, 14 yanıt)
 Nuke Reflections v2 Türkç..
(14852 okuma, 14 yanıt)
 CNB Your Account 750 442 ..
(14503 okuma, 13 yanıt)
 Admin panelindeki simge ç..
(12540 okuma, 9 yanıt)
 Hosting Modülü..
(14276 okuma, 13 yanıt)
 Bizim şairler Modülü..
(5302 okuma, 1 yanıt)
 new plugin for nsn news v..
(4845 okuma, 1 yanıt)
 php nuke 8.0 türkce dil s..
(7053 okuma, 3 yanıt)
 Kan Bankası Modül istek..
(6291 okuma, 2 yanıt)
 Haber Konulari Sayfasinda..
(5878 okuma, 2 yanıt)
 Kan Bankası Modülünde İsi..
(7205 okuma, 3 yanıt)
 sonhaberler flash block ..
(6762 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-07-01, 13:24:08    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