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: 1153
Üye Adı
Şifre
Beni Hatırla
          Yeni Üye KayıtYeni Üye Kayıt
          Şifremi UnuttumŞifremi Unuttum
FORUMLAR
 ME_Haber 2.3..
(109091 okuma, 145 yanıt)
 Resim Galerisi Modülü 2.0..
(122317 okuma, 173 yanıt)
 Ustalardan Bir Ricam Olac..
(13663 okuma, 6 yanıt)
 nukecode.com will close..
(11226 okuma, 5 yanıt)
 super youtube player a lo..
(6350 okuma, 1 yanıt)
 Need good PHP Haber port..
(5617 okuma, 0 yanıt)
 Forum Nasil Tam Sayfa Olu..
(35244 okuma, 40 yanıt)
 Php nuke Forumu Düzenleme..
(9965 okuma, 6 yanıt)
 Yeni Üyelik Aktivasyon Li..
(11004 okuma, 6 yanıt)
 Aşk Flashları Modülü..
(7001 okuma, 2 yanıt)
 resim galeri 2.0 da kateg..
(11445 okuma, 9 yanıt)
 Yeni iki modul: Merhumlar..
(32446 okuma, 36 yanıt)
 ürün tanıtım modülü..
(25276 okuma, 23 yanıt)
 PHP Nuke is out..
(15073 okuma, 13 yanıt)
 MSN Video Bing Video oldu..
(5208 okuma, 0 yanıt)
 haberhit.com..
(5802 okuma, 1 yanıt)
 Bilgi Yarışması 1.0 tama..
(52132 okuma, 72 yanıt)
 Musıc Box elinde olan var..
(6705 okuma, 2 yanıt)
 Online Okey , Batak , Tav..
(173764 okuma, 340 yanıt)
 Emlak Modül ve Blockları ..
(12326 okuma, 8 yanıt)
 WM who ist shampions..
(5055 okuma, 1 yanıt)
 coppermine resim galerisi..
(5498 okuma, 1 yanıt)
 Forumda Teşekkür Eklentis..
(9101 okuma, 7 yanıt)
 free wordpress themes..
(5589 okuma, 1 yanıt)
 JW image rotator for nsn ..
(7669 okuma, 4 yanıt)
 need Iletisim module..
(11047 okuma, 8 yanıt)
 Yeni modul: İletişim modu..
(27728 okuma, 33 yanıt)
 Başvuru Modulu ve Etkinli..
(5844 okuma, 1 yanıt)
 world cup flash..
(5053 okuma, 0 yanıt)
 ..:: Php Nuke FTP link Ha..
(4949 okuma, 0 yanıt)
 yeni phpnuke youtube 2.0..
(5172 okuma, 1 yanıt)
 Content Plus Önceki Konu ..
(4782 okuma, 0 yanıt)
 Php nuke Tickets Modülü..
(7993 okuma, 5 yanıt)
 need help to news time..
(4556 okuma, 0 yanıt)
 NSN News v3.0 new plugin..
(4844 okuma, 0 yanıt)
 how to save flash as imag..
(6068 okuma, 2 yanıt)
 Video Blok Yardım Lütfen...
(6002 okuma, 2 yanıt)
 gazete ara..
(9810 okuma, 5 yanıt)
 Bizim Yazarlar ve Bizim Ş..
(14998 okuma, 14 yanıt)
 Nuke Reflections v2 Türkç..
(14597 okuma, 14 yanıt)
 CNB Your Account 750 442 ..
(14296 okuma, 13 yanıt)
 Admin panelindeki simge ç..
(12387 okuma, 9 yanıt)
 Hosting Modülü..
(14051 okuma, 13 yanıt)
 Bizim şairler Modülü..
(5191 okuma, 1 yanıt)
 new plugin for nsn news v..
(4770 okuma, 1 yanıt)
 php nuke 8.0 türkce dil s..
(6939 okuma, 3 yanıt)
 Kan Bankası Modül istek..
(6150 okuma, 2 yanıt)
 Haber Konulari Sayfasinda..
(5769 okuma, 2 yanıt)
 Kan Bankası Modülünde İsi..
(7078 okuma, 3 yanıt)
 sonhaberler flash block ..
(6636 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-01, 22:53:17    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