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: 895
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ME_Haber 2.3..
(110880 okuma, 145 yanıt)
 Resim Galerisi Modülü 2.0..
(123370 okuma, 173 yanıt)
 Ustalardan Bir Ricam Olac..
(13789 okuma, 6 yanıt)
 nukecode.com will close..
(11333 okuma, 5 yanıt)
 super youtube player a lo..
(6434 okuma, 1 yanıt)
 Need good PHP Haber port..
(5683 okuma, 0 yanıt)
 Forum Nasil Tam Sayfa Olu..
(35548 okuma, 40 yanıt)
 Php nuke Forumu Düzenleme..
(10051 okuma, 6 yanıt)
 Yeni Üyelik Aktivasyon Li..
(11108 okuma, 6 yanıt)
 Aşk Flashları Modülü..
(7103 okuma, 2 yanıt)
 resim galeri 2.0 da kateg..
(11585 okuma, 9 yanıt)
 Yeni iki modul: Merhumlar..
(32673 okuma, 36 yanıt)
 ürün tanıtım modülü..
(25507 okuma, 23 yanıt)
 PHP Nuke is out..
(15236 okuma, 13 yanıt)
 MSN Video Bing Video oldu..
(5288 okuma, 0 yanıt)
 haberhit.com..
(5870 okuma, 1 yanıt)
 Bilgi Yarışması 1.0 tama..
(52704 okuma, 72 yanıt)
 Musıc Box elinde olan var..
(6800 okuma, 2 yanıt)
 Online Okey , Batak , Tav..
(175882 okuma, 340 yanıt)
 Emlak Modül ve Blockları ..
(12464 okuma, 8 yanıt)
 WM who ist shampions..
(5139 okuma, 1 yanıt)
 coppermine resim galerisi..
(5560 okuma, 1 yanıt)
 Forumda Teşekkür Eklentis..
(9175 okuma, 7 yanıt)
 free wordpress themes..
(5657 okuma, 1 yanıt)
 JW image rotator for nsn ..
(7761 okuma, 4 yanıt)
 need Iletisim module..
(11151 okuma, 8 yanıt)
 Yeni modul: İletişim modu..
(27985 okuma, 33 yanıt)
 Başvuru Modulu ve Etkinli..
(5926 okuma, 1 yanıt)
 world cup flash..
(5113 okuma, 0 yanıt)
 ..:: Php Nuke FTP link Ha..
(5005 okuma, 0 yanıt)
 yeni phpnuke youtube 2.0..
(5245 okuma, 1 yanıt)
 Content Plus Önceki Konu ..
(4838 okuma, 0 yanıt)
 Php nuke Tickets Modülü..
(8067 okuma, 5 yanıt)
 need help to news time..
(4615 okuma, 0 yanıt)
 NSN News v3.0 new plugin..
(4901 okuma, 0 yanıt)
 how to save flash as imag..
(6134 okuma, 2 yanıt)
 Video Blok Yardım Lütfen...
(6067 okuma, 2 yanıt)
 gazete ara..
(9916 okuma, 5 yanıt)
 Bizim Yazarlar ve Bizim Ş..
(15134 okuma, 14 yanıt)
 Nuke Reflections v2 Türkç..
(14774 okuma, 14 yanıt)
 CNB Your Account 750 442 ..
(14425 okuma, 13 yanıt)
 Admin panelindeki simge ç..
(12475 okuma, 9 yanıt)
 Hosting Modülü..
(14215 okuma, 13 yanıt)
 Bizim şairler Modülü..
(5281 okuma, 1 yanıt)
 new plugin for nsn news v..
(4828 okuma, 1 yanıt)
 php nuke 8.0 türkce dil s..
(7020 okuma, 3 yanıt)
 Kan Bankası Modül istek..
(6255 okuma, 2 yanıt)
 Haber Konulari Sayfasinda..
(5848 okuma, 2 yanıt)
 Kan Bankası Modülünde İsi..
(7170 okuma, 3 yanıt)
 sonhaberler flash block ..
(6722 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-16, 21:17:20    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