Anasayfada alt forum sağında başlık/cevap sayısını gösterme

phpBB 3.0.x çalıştırılması ve kurulumu ile ilgili yardımı buradan alabilirsiniz. Lütfen MODlar ile ilgili sorunlarınızı buraya yazmayın.
Forum kuralları
- Yeni bir başlık açarken lütfen konu başlığına "Acil yardım", "Acele yardım" tarzlarında içerisinde "yardım" kelimesi geçen cümleler yazmayınız. Bu tip başlıklara kesinlikle cevap verilmeyecektir. Lütfen konu başlığına içeriği en iyi özetleyen anlaşılabilir bir cümle yazınız.

- Ayrıca yeni başlıklarınızı kesinlikle ilgili forumlara açınız. Örneğin, phpBB3 kurulum ve çalıştırması hakkında bir sorununuz varsa "3.0.x Destek Forumu" forumuna başlık açınız; phpBB3 temasından kaynaklı bir sorunuz varsa "3.0.x Stil/Tema Geliştirme & Tartışma & Yardım" forumuna başlık açınız; phpBB3 mod/eklentileriyle ilgili sorununuz varsa "3.0.x MOD Destek" forumuna başlık açınız. Bu kurala uymayan kullanıcıların başlıkları silinebilir ve kullanıcı uyarı alabilir ya da süresiz uzaklaştırılabilir.

- Site kurallarımızı okumadan kesinlikle forumlarımıza herhangi bir katılım yapmayınız.
Kilitli
satcell
Kayıtlı Kullanıcı
Mesajlar: 769
Kayıt: 25.01.2009, 20:42
Konum: samsun

Anasayfada alt forum sağında başlık/cevap sayısını gösterme

Mesaj gönderen satcell »

Forum anasayfada alt forum başlığı sağında parantez içinde başlık ve cevap sayısını nasıl gösterebiliriz örnek: Modlar (700/900)
satcell
Kayıtlı Kullanıcı
Mesajlar: 769
Kayıt: 25.01.2009, 20:42
Konum: samsun

Re: Anasayfada alt forum sağında başlık/cevap sayısını gösterme

Mesaj gönderen satcell »

phpbb.com da buldum ama orada mod indirme yeri çalışmıyor http://www.phpbb.com/community/viewtopi ... &t=1332925
RedStar
Kayıtlı Kullanıcı
Mesajlar: 25
Kayıt: 25.11.2007, 15:52

Re: Anasayfada alt forum sağında başlık/cevap sayısını gösterme

Mesaj gönderen RedStar »

Aşagıya ekledim güle güle kullan.

Kod: Tümünü seç

##############################################################
## MOD Title: Subforum's topic and post
## MOD Author: Nguyen Duy Nhan - nguyenduynhan@gmail.com -  www.nhanweb.com
## MOD Description: show subforum's total topic and post on main forum
## MOD Version: 0.0.1
##
## Installation Level: Easy 
## Installation Time: 3 minutes
## 
##  Files To Edit: includes/functions_display.php
##  
##
##############################################################
## For security purposes, please check: http://www.phpBB.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpBB.com/mods/
##############################################################
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------
#
includes/functions_display.php
#
#-----[ FIND ]------------------------
#
         $subforums[$parent_id][$forum_id]['display'] = ($row['display_on_index']) ? true : false;
         $subforums[$parent_id][$forum_id]['name'] = $row['forum_name'];
#
#-----[ AFTER, ADD ]----------------
#
         //Subforum topic and post by babyinternet - www.nhanweb.com
         $subforums[$parent_id][$forum_id]['topics'] = $row['forum_topics'];
         $subforums[$parent_id][$forum_id]['posts'] = $row['forum_posts'];
         //End Subforum topic and post by babyinternet - wwww.nhanweb.com
#
#-----[ FIND ]------------------------
#
                  'link'      => append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $subforum_id),
                  'name'      => $subforum_row['name'],
#
#-----[ AFTER, ADD ]----------------
#
                  //Subforum topics and posts by babyinternet - www.nhanweb.com
                  'topics'      => $subforum_row['topics'],
                  'posts'         => $subforum_row['posts'],
                  //End Subforum topics and posts by babyinternet - wwww.nhanweb.com
#
#-----[ FIND ]------------------------
#
         $s_subforums_list[] = '<a href="' . $subforum['link'] . '" class="subforum ' . (($subforum['unread']) ? 'unread' : 'read') . '" title="' . (($subforum['unread']) ? $user->lang['NEW_POSTS'] : $user->lang['NO_NEW_POSTS']) . '">' . $subforum['name'] . '</a>';
#
#-----[ REPLACE ]------------------------
#
         $s_subforums_list[] = '<a href="' . $subforum['link'] . '" class="subforum ' . (($subforum['unread']) ? 'unread' : 'read') . '" title="' . (($subforum['unread']) ? $user->lang['NEW_POSTS'] : $user->lang['NO_NEW_POSTS']) . '">' . $subforum['name'] . '</a>'.' ('.$user->lang['TOPICS'] . ':' .$subforum['topics'].'/'.$user->lang['POSTS'] . ': '.$subforum["posts"].")";
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
Go to admin Panel and Purge the cache
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
satcell
Kayıtlı Kullanıcı
Mesajlar: 769
Kayıt: 25.01.2009, 20:42
Konum: samsun

Re: Anasayfada alt forum sağında başlık/cevap sayısını gösterme

Mesaj gönderen satcell »

RedStar yazdı:Aşagıya ekledim güle güle kullan.

Kod: Tümünü seç

##############################################################
## MOD Title: Subforum's topic and post
## MOD Author: Nguyen Duy Nhan - nguyenduynhan@gmail.com -  www.nhanweb.com
## MOD Description: show subforum's total topic and post on main forum
## MOD Version: 0.0.1
##
## Installation Level: Easy 
## Installation Time: 3 minutes
## 
##  Files To Edit: includes/functions_display.php
##  
##
##############################################################
## For security purposes, please check: http://www.phpBB.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpBB.com/mods/
##############################################################
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------
#
includes/functions_display.php
#
#-----[ FIND ]------------------------
#
         $subforums[$parent_id][$forum_id]['display'] = ($row['display_on_index']) ? true : false;
         $subforums[$parent_id][$forum_id]['name'] = $row['forum_name'];
#
#-----[ AFTER, ADD ]----------------
#
         //Subforum topic and post by babyinternet - www.nhanweb.com
         $subforums[$parent_id][$forum_id]['topics'] = $row['forum_topics'];
         $subforums[$parent_id][$forum_id]['posts'] = $row['forum_posts'];
         //End Subforum topic and post by babyinternet - wwww.nhanweb.com
#
#-----[ FIND ]------------------------
#
                  'link'      => append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $subforum_id),
                  'name'      => $subforum_row['name'],
#
#-----[ AFTER, ADD ]----------------
#
                  //Subforum topics and posts by babyinternet - www.nhanweb.com
                  'topics'      => $subforum_row['topics'],
                  'posts'         => $subforum_row['posts'],
                  //End Subforum topics and posts by babyinternet - wwww.nhanweb.com
#
#-----[ FIND ]------------------------
#
         $s_subforums_list[] = '<a href="' . $subforum['link'] . '" class="subforum ' . (($subforum['unread']) ? 'unread' : 'read') . '" title="' . (($subforum['unread']) ? $user->lang['NEW_POSTS'] : $user->lang['NO_NEW_POSTS']) . '">' . $subforum['name'] . '</a>';
#
#-----[ REPLACE ]------------------------
#
         $s_subforums_list[] = '<a href="' . $subforum['link'] . '" class="subforum ' . (($subforum['unread']) ? 'unread' : 'read') . '" title="' . (($subforum['unread']) ? $user->lang['NEW_POSTS'] : $user->lang['NO_NEW_POSTS']) . '">' . $subforum['name'] . '</a>'.' ('.$user->lang['TOPICS'] . ':' .$subforum['topics'].'/'.$user->lang['POSTS'] . ': '.$subforum["posts"].")";
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
Go to admin Panel and Purge the cache
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Teşekkürler
satcell
Kayıtlı Kullanıcı
Mesajlar: 769
Kayıt: 25.01.2009, 20:42
Konum: samsun

Re: Anasayfada alt forum sağında başlık/cevap sayısını gösterme

Mesaj gönderen satcell »

[ resmi görüntülemek için tıklayın ]

mod çalışıyor modu kurdum alt forumlar ikili olarak ayarlandığında göstermiyor normal olursa gösteriyor
not:alt forumları ikili göstermek için bu modu kurun subforum_display_options_0.1.0 viewtopic.php?f=37&t=16262 diğer yöntemlerde functions_display ile olmuyor,alt forumları ikili gösterme modu kuracaklar için
Kilitli

“3.0.x Destek Forumu” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 0 misafir