Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
670
??? Sitem deki Haberleri ..(25238 okuma, 26 yanıt) Free Hosta Php Nuke Kurul ..(16375 okuma, 14 yanıt) EKLENTİ: Misafire mesajın ..(36689 okuma, 38 yanıt) Php Nuke 9.0 Geliyor ..(20754 okuma, 19 yanıt) Bu başlık için mesaj bulu ..(13932 okuma, 15 yanıt) Facebook Sohbet Tipi Sohb ..(17672 okuma, 15 yanıt) üye aktivasyon ..(10590 okuma, 8 yanıt) Facebook tarzı altbar... ..(6237 okuma, 1 yanıt) kaldırmak istediğim bölüm ..(6515 okuma, 2 yanıt) Resimli RSS ..(23115 okuma, 25 yanıt) Onay linkini kaldirmak ..(11024 okuma, 8 yanıt) Yardım :( Site açılırken ..(6615 okuma, 2 yanıt) .Htaccess ile uzantıda ke ..(8231 okuma, 4 yanıt) block genişliği ..(5676 okuma, 1 yanıt) Haber Resimleri ve Slide ..(14290 okuma, 12 yanıt) Foruma büyük boyutlu resi ..(7268 okuma, 3 yanıt) Php-Nuke 8.0 Paket ..(9386 okuma, 6 yanıt) Hangi sürümü önerirsiniz? ..(10431 okuma, 8 yanıt) ethai1 3 ..(13089 okuma, 10 yanıt) Yeni PEHASPESEO ..(69526 okuma, 82 yanıt) Türkçe Karakter sorunu ? ..(37550 okuma, 36 yanıt) tek modul için sağ ve sol ..(11334 okuma, 8 yanıt) Php-nuke8.0 başlıklarda t ..(10526 okuma, 8 yanıt) Phpden iyi anlayan ..(5400 okuma, 1 yanıt) Php nuke 7.6 - 3.1 patch ..(72858 okuma, 89 yanıt) Mp3 Üst Player Yardım ..(29384 okuma, 40 yanıt) Toplu üyelik silme? ..(11068 okuma, 8 yanıt) Çözümleyemediğim hata... ..(12320 okuma, 11 yanıt) bloğu kayan hale getirmek ..(5946 okuma, 2 yanıt) Makale modulu ..(8539 okuma, 5 yanıt) PHP-Nuke Haber V.1 Paylas ..(84824 okuma, 121 yanıt) title değiştirme ..(10244 okuma, 6 yanıt) Arkadaşlar bu sorunun çöz ..(10003 okuma, 6 yanıt) Php Nuke 8.1 ..(4331 okuma, 0 yanıt) merhaba ..(10226 okuma, 9 yanıt) Anasayfa için boş modül o ..(13414 okuma, 13 yanıt) admin panelinde Access De ..(6358 okuma, 2 yanıt) Bu başlığa hiç cevap gelm ..(26235 okuma, 25 yanıt) Nuke Tema yapilisi ..(17023 okuma, 16 yanıt) Mavisce-net temasina bann ..(8681 okuma, 6 yanıt) PHP-Nuke wTeam - eklentil ..(6606 okuma, 2 yanıt) coppermine hata ..(10638 okuma, 8 yanıt) içerik tanıtımı ..(6253 okuma, 2 yanıt) Haber Ve İçeriğe Resim Ek ..(7119 okuma, 3 yanıt) google keywords ..(8921 okuma, 6 yanıt) 8.0'da html sorunu ..(5476 okuma, 1 yanıt) PHP-Nuke_8.1.3.5+NukeSent ..(53791 okuma, 76 yanıt) üye olunurken gereksiz is ..(9975 okuma, 7 yanıt) Arkadaşlar kolifa haber s ..(6324 okuma, 2 yanıt) Hesabınız'a tıklayınca te ..(10431 okuma, 7 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - bu eklentiyi nasıl kaldırırım
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
meftare Mesaj: 100+
Kayıt: Dec 20, 2005 Mesajlar: 180
Tarih: 2008-06-05, 13:20:52 Mesaj konusu: bu eklentiyi nasıl kaldırırım
forumda en cok okunan 10 mesaj en son cevaplana 10 mesaj gibi bi eklenti ekledim.bunu nasıl kaldırırım resim altta görünen kısmı forum sayfasının üstnden kaldıracağım bunu nasıl yaparım. eski dosyaları atamama rağmen gene silinmedi aynı duruyor.
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-05-18, 04:56:31 Mesaj konusu: Forum Arası Reklamlar
Başa dön
artistbaron Mesaj: 1000+
Kayıt: Dec 09, 2006 Mesajlar: 2993
Tarih: 2008-06-05, 13:28:30 Mesaj konusu:
eklentiyi hangi dosyalara eklediysen kurulumu aç o dosyalarda buldugun kodları yanı ekledıklerını kaldır...
ya da o dosyaların temızını at
Başa dön
Aliosman Teknik Yönetici
Kayıt: Jul 20, 2002 Mesajlar: 3836 Konum: Balıkesir
Tarih: 2008-06-05, 15:50:00 Mesaj konusu:
tema dosyalarını yeniden attınız mı? index_body.tpl gibi. Ayrıca bütün diğer eklenen dosyaları yeniden yüklediniz mi?
Yapmanız gereken eklentiyi bulup içerisinde yazanların tersini uygulamak.
Başa dön
mersoy Mesaj: 1000+
Kayıt: Dec 08, 2007 Mesajlar: 2316
Tarih: 2008-06-05, 16:52:37 Mesaj konusu:
eklentiyi kurarken yaptığın işlemler bunlar aynen geri alırsan problemin çözülür
Kod:
#-----[ DOSYAYI AÇ ]------------------------------------------
#
index.php
#
#-----[ BUL ]------------------------------------------
#
//
// Okay, let's build the index
//
for($i = 0; $i < $total_categories; $i++)
{
$cat_id = $category_rows[$i]['cat_id'];
#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#
//------------------------------------------------------------------------
//
// Get forum auth information to insure privacy of hidden topics
$topics_auth = auth(AUTH_ALL, AUTH_LIST_ALL, $userdata);
$topics_auth_sql = '';
foreach($topics_auth as $k=>$v)
{
if( $v['auth_view'] && $v['auth_read'] )
{
$topics_auth_sql .= (( empty($topics_auth_sql) ) ? '': ', ') . $k;
}
}
//
// Okay, let's build the topic recent and popular
//
$active_topics_sql = 'SELECT t.topic_id, t.topic_title, t.topic_replies, t.topic_views, t.topic_last_post_id
FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE. ' f
WHERE t.forum_id IN (' . $topics_auth_sql . ')
AND f.forum_id = t.forum_id
ORDER BY %1$s DESC
LIMIT 0,10';
$active_topics_sql_a = sprintf($active_topics_sql, 'topic_last_post_id');
$active_topics_sql_b = sprintf($active_topics_sql, 'topic_replies');
$active_topics_sql_c = sprintf($active_topics_sql, 'topic_views');
$recent_row = $popular_row = $viewed_row = array();
if( !$active_topics_a = $db->sql_query($active_topics_sql_a))
{
message_die(GENERAL_ERROR, 'Could not retrieve recent topics', '', __LINE__, __FILE__, $active_topics_sql_a);
}
$recent_row = $db->sql_fetchrowset($active_topics_a);
$db->sql_freeresult($active_topics_a);
if( !$active_topics_b = $db->sql_query($active_topics_sql_b))
{
message_die(GENERAL_ERROR, 'Could not retrieve popular topics', '', __LINE__, __FILE__, $active_topics_sql_b);
}
$popular_row = $db->sql_fetchrowset($active_topics_b);
$db->sql_freeresult($active_topics_b);
if( !$active_topics_c = $db->sql_query($active_topics_sql_c))
{
message_die(GENERAL_ERROR, 'Could not retrieve most viewed topics', '', __LINE__, __FILE__, $active_topics_sql_c);
}
$viewed_row = $db->sql_fetchrowset($active_topics_c);
$db->sql_freeresult($active_topics_c);
$template->assign_vars(array(
'L_TOPICSRECENT' => $lang['TopicsRecent'],
'L_TOPICSPOPULAR' => $lang['TopicsPopular'],
'L_TOPICSPOPULARVIEW' => $lang['TopicsPopularView'])
);
for( $i = 0; $i < 10; $i++ )
{
$recent_topic_title = $recent_row[$i]['topic_title'];
$popular_topic_title = $popular_row[$i]['topic_title'];
$viewed_topic_title = $viewed_row[$i]['topic_title'];
if( strlen($recent_topic_title) > 40 )
{
$recent_topic_title = substr($recent_topic_title, 0, 40) . '...';
}
if( strlen($popular_topic_title) > 40 )
{
$popular_topic_title = substr($popular_topic_title, 0, 40) . '...';
}
if( strlen($viewed_topic_title) > 40 )
{
$viewed_topic_title = substr($viewed_topic_title, 0, 40) . '...';
}
$recent_post = '<a href="viewtopic.php?' . POST_TOPIC_URL . '=' . $recent_row[$i]['topic_id'] . '" title="' . $recent_row[$i]['topic_title'] . '">' . $recent_topic_title . '</a>';
$popular_post = '<a href="viewtopic.php?' . POST_TOPIC_URL . '=' . $popular_row[$i]['topic_id'] . '" title="' . $popular_row[$i]['topic_title'] . '">' . $popular_topic_title . '</a>';
$popular_total_replies = $popular_row[$i]['topic_replies'];
$viewed_post = '<a href="viewtopic.php?' . POST_TOPIC_URL . '=' . $viewed_row[$i]['topic_id'] . '" title="' . $viewed_row[$i]['topic_title'] . '">' . $viewed_topic_title . '</a>';
$viewed_total_replies = $viewed_row[$i]['topic_views'];
$template->assign_block_vars('topicrecentpopular', array(
'TOPICSPOPULAR' => $popular_post,
'TOPICSPOPULARC' => $popular_total_replies,
'TOPICSPOPULARVIEW' => $viewed_post,
'TOPICSPOPULARVIEWC' => $viewed_total_replies,
'TOPICSRECENT' => $recent_post)
);
}
//
//------------------------------------------------------------------------
#
#-----[ KAYDET VE KAPAT ]------------------------------------------
#
#
#-----[ DOSYAYI AÇ ]------------------------------------------
#
templates/SeninTeman/index_body.tpl
#-----[ BUL ]------------------------------------------
<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
#-----[ ALTINA EKLE ]------------------------------------------
<!-- Ana Sayfada 3*10 Başlık - Kod Başlangıcı -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th width="29%" colspan="2" class="thTop" nowrap="nowrap"> {L_TOPICSRECENT} </th>
<th width="37%" colspan="3" class="thTop" nowrap="nowrap"> {L_TOPICSPOPULAR} </th>
<th width="35%" colspan="3" class="thTop" nowrap="nowrap"> {L_TOPICSPOPULARVIEW} </th>
</tr>
<!-- BEGIN topicrecentpopular -->
<tr>
<td width="2%" class="row2" align="left" valign="middle"><center><img width="11" src="images/ten_topics_red.gif" /></center></td>
<td width="32%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSRECENT}</span></td>
<td width="2%" class="row2" align="left" valign="middle"><center><img width="11" src="images/ten_topics_blue.gif" /></center></td>
<td width="25%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULAR}</span></td>
<td width="6%" class="row2" align="center" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARC}</span></td>
<td width="2%" class="row2" align="left" valign="middle"><center><img width="11" src="images/ten_topics_green.gif" /></center></td>
<td width="25%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARVIEW}</span></td>
<td width="6%" class="row2" align="center" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARVIEWC}</span></td>
</tr>
<!-- END topicrecentpopular -->
</table>
<!-- Ana Sayfada 3*10 Başlık - Kod Sonu -->
#
#-----[ KAYDET VE KAPAT ]------------------------------------------
#
#
#-----[ DOSYAYI AÇ ]------------------------------------------
#
language/lang_turkish/lang_main.php
#-----[ BUL ]------------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#
//------------------------------------------------------------------------
//
$lang['TopicsRecent'] = "En Son Cevaplanan 10 Konu";
$lang['TopicsPopular'] = "En Çok Cevaplanan 10 Konu";
$lang['TopicsPopularView'] = "En Çok Okunan 10 Konu";
//
//------------------------------------------------------------------------
#
#-----[ KAYDET VE KAPAT ]------------------------------------------
Başa dön
berzankocak Mesaj: 300+
Kayıt: May 26, 2007 Mesajlar: 468
Tarih: 2008-06-05, 19:44:26 Mesaj konusu:
pe ki ben bunu forumuma nasıl eklerim bileniniz varmı
Başa dön
Yalanalem Mesaj: 100+
Kayıt: Jul 20, 2004 Mesajlar: 133 Konum: İstanbul
Tarih: 2008-06-05, 19:51:19 Mesaj konusu:
berzankocak
Bir üstteki arkadaş bakarsan dikkatlice kodları vermiş kardeş. O kodları sende eklersen gerekli yerlere zaten sonuç tamamdır.
Başa dön
berzankocak Mesaj: 300+
Kayıt: May 26, 2007 Mesajlar: 468
Tarih: 2008-06-05, 20:26:57 Mesaj konusu:
Yalanalem :
berzankocak
Bir üstteki arkadaş bakarsan dikkatlice kodları vermiş kardeş. O kodları sende eklersen gerekli yerlere zaten sonuç tamamdır.
sizden ricam o kudlar bana eksik gibi geldi ilk bölümdeki index.php forum index artı index.php konucak kodlar tam olarak nereye hangi kodun üstüne, altine yada yerine konucak tam olarak anlatirsaniz sevinirim
Başa dön
mersoy Mesaj: 1000+
Kayıt: Dec 08, 2007 Mesajlar: 2316
Tarih: 2008-06-05, 20:37:03 Mesaj konusu:
Kod:
##############################################################
##
## Geşitirilmiş MOD Başlığı: The Last Ten and The Ten Popular / Son 10 ve Popüler 10
## Orjinal MOD Yazarı: Andrey Politov aka Sergeant < andypolv@mail.ru >
##
## MOD Açıklaması: Kurduğunuz forumun index.php sayfasına, En son cevaplanan,
## en çok okunan ve en çok cevaplanan 10 konuyu tablo içinde
## sunar. Sayfa altında duran, resim eklenmiş halidir.
##
##
## MOD Entegre Etme Zorluğu: Kolay
## MOD Entegre Süresi: 10 Dakika
##
## Düzenlenecek Dosyalar; ( 3 )
##
## index.php
## language/lang_turkish/lang_main.php
## templates/SeninTeman/index_body.tpl
##
## Eklenecek Dosya: ( 3 )
##
##############################################################
##
## Bu MOD u forumunuza eklemeden önce, dosyaların yedeklerini almayı unutmayın..
##
##############################################################
#
#-----[ KOPYALA ]------------------------------------------
#
images/ten_topics_red.gif -- > root/images/ten_topics_red.gif
images/ten_topics_blue.gif -- > root/images/ten_topics_blue.gif
images/ten_topics_green.gif -- > root/images/ten_topics_green.gif
#
#-----[ DOSYAYI AÇ ]------------------------------------------
#
index.php
#
#-----[ BUL ]------------------------------------------
#
//
// Okay, let's build the index
//
for($i = 0; $i < $total_categories; $i++)
{
$cat_id = $category_rows[$i]['cat_id'];
#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#
//------------------------------------------------------------------------
//
// Get forum auth information to insure privacy of hidden topics
$topics_auth = auth(AUTH_ALL, AUTH_LIST_ALL, $userdata);
$topics_auth_sql = '';
foreach($topics_auth as $k=>$v)
{
if( $v['auth_view'] && $v['auth_read'] )
{
$topics_auth_sql .= (( empty($topics_auth_sql) ) ? '': ', ') . $k;
}
}
//
// Okay, let's build the topic recent and popular
//
$active_topics_sql = 'SELECT t.topic_id, t.topic_title, t.topic_replies, t.topic_views, t.topic_last_post_id
FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE. ' f
WHERE t.forum_id IN (' . $topics_auth_sql . ')
AND f.forum_id = t.forum_id
ORDER BY %1$s DESC
LIMIT 0,10';
$active_topics_sql_a = sprintf($active_topics_sql, 'topic_last_post_id');
$active_topics_sql_b = sprintf($active_topics_sql, 'topic_replies');
$active_topics_sql_c = sprintf($active_topics_sql, 'topic_views');
$recent_row = $popular_row = $viewed_row = array();
if( !$active_topics_a = $db->sql_query($active_topics_sql_a))
{
message_die(GENERAL_ERROR, 'Could not retrieve recent topics', '', __LINE__, __FILE__, $active_topics_sql_a);
}
$recent_row = $db->sql_fetchrowset($active_topics_a);
$db->sql_freeresult($active_topics_a);
if( !$active_topics_b = $db->sql_query($active_topics_sql_b))
{
message_die(GENERAL_ERROR, 'Could not retrieve popular topics', '', __LINE__, __FILE__, $active_topics_sql_b);
}
$popular_row = $db->sql_fetchrowset($active_topics_b);
$db->sql_freeresult($active_topics_b);
if( !$active_topics_c = $db->sql_query($active_topics_sql_c))
{
message_die(GENERAL_ERROR, 'Could not retrieve most viewed topics', '', __LINE__, __FILE__, $active_topics_sql_c);
}
$viewed_row = $db->sql_fetchrowset($active_topics_c);
$db->sql_freeresult($active_topics_c);
$template->assign_vars(array(
'L_TOPICSRECENT' => $lang['TopicsRecent'],
'L_TOPICSPOPULAR' => $lang['TopicsPopular'],
'L_TOPICSPOPULARVIEW' => $lang['TopicsPopularView'])
);
for( $i = 0; $i < 10; $i++ )
{
$recent_topic_title = $recent_row[$i]['topic_title'];
$popular_topic_title = $popular_row[$i]['topic_title'];
$viewed_topic_title = $viewed_row[$i]['topic_title'];
if( strlen($recent_topic_title) > 40 )
{
$recent_topic_title = substr($recent_topic_title, 0, 40) . '...';
}
if( strlen($popular_topic_title) > 40 )
{
$popular_topic_title = substr($popular_topic_title, 0, 40) . '...';
}
if( strlen($viewed_topic_title) > 40 )
{
$viewed_topic_title = substr($viewed_topic_title, 0, 40) . '...';
}
$recent_post = '<a href="viewtopic.php?' . POST_TOPIC_URL . '=' . $recent_row[$i]['topic_id'] . '" title="' . $recent_row[$i]['topic_title'] . '">' . $recent_topic_title . '</a>';
$popular_post = '<a href="viewtopic.php?' . POST_TOPIC_URL . '=' . $popular_row[$i]['topic_id'] . '" title="' . $popular_row[$i]['topic_title'] . '">' . $popular_topic_title . '</a>';
$popular_total_replies = $popular_row[$i]['topic_replies'];
$viewed_post = '<a href="viewtopic.php?' . POST_TOPIC_URL . '=' . $viewed_row[$i]['topic_id'] . '" title="' . $viewed_row[$i]['topic_title'] . '">' . $viewed_topic_title . '</a>';
$viewed_total_replies = $viewed_row[$i]['topic_views'];
$template->assign_block_vars('topicrecentpopular', array(
'TOPICSPOPULAR' => $popular_post,
'TOPICSPOPULARC' => $popular_total_replies,
'TOPICSPOPULARVIEW' => $viewed_post,
'TOPICSPOPULARVIEWC' => $viewed_total_replies,
'TOPICSRECENT' => $recent_post)
);
}
//
//------------------------------------------------------------------------
#
#-----[ KAYDET VE KAPAT ]------------------------------------------
#
#
#-----[ DOSYAYI AÇ ]------------------------------------------
#
templates/SeninTeman/index_body.tpl
#-----[ BUL ]------------------------------------------
<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
#-----[ ALTINA EKLE ]------------------------------------------
<!-- Ana Sayfada 3*10 Başlık - Kod Başlangıcı -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th width="29%" colspan="2" class="thTop" nowrap="nowrap"> {L_TOPICSRECENT} </th>
<th width="37%" colspan="3" class="thTop" nowrap="nowrap"> {L_TOPICSPOPULAR} </th>
<th width="35%" colspan="3" class="thTop" nowrap="nowrap"> {L_TOPICSPOPULARVIEW} </th>
</tr>
<!-- BEGIN topicrecentpopular -->
<tr>
<td width="2%" class="row2" align="left" valign="middle"><center><img width="11" src="images/ten_topics_red.gif" /></center></td>
<td width="32%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSRECENT}</span></td>
<td width="2%" class="row2" align="left" valign="middle"><center><img width="11" src="images/ten_topics_blue.gif" /></center></td>
<td width="25%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULAR}</span></td>
<td width="6%" class="row2" align="center" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARC}</span></td>
<td width="2%" class="row2" align="left" valign="middle"><center><img width="11" src="images/ten_topics_green.gif" /></center></td>
<td width="25%" class="row2" align="left" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARVIEW}</span></td>
<td width="6%" class="row2" align="center" valign="middle"><span class="gensmall">{topicrecentpopular.TOPICSPOPULARVIEWC}</span></td>
</tr>
<!-- END topicrecentpopular -->
</table>
<!-- Ana Sayfada 3*10 Başlık - Kod Sonu -->
#
#-----[ KAYDET VE KAPAT ]------------------------------------------
#
#
#-----[ DOSYAYI AÇ ]------------------------------------------
#
language/lang_turkish/lang_main.php
#-----[ BUL ]------------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#
//------------------------------------------------------------------------
//
$lang['TopicsRecent'] = "En Son Cevaplanan 10 Konu";
$lang['TopicsPopular'] = "En Çok Cevaplanan 10 Konu";
$lang['TopicsPopularView'] = "En Çok Okunan 10 Konu";
//
//------------------------------------------------------------------------
#
#-----[ KAYDET VE KAPAT ]------------------------------------------
#
#
#-----[ SON ]------------------------------------------
#
Yedeklerini aldıktan sonra; değişen dosyaları, sitenizdekilerle değiştirin.
tam olarak bu doğru eklerseniz çalışır. bahsedilen gifler bende yok. ama yerine başka gif uydurun gitsin
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-05-18, 04:56:31 Mesaj konusu: Forum Arası Reklamlar
Başa dön
berzankocak Mesaj: 300+
Kayıt: May 26, 2007 Mesajlar: 468
Tarih: 2008-06-05, 21:59:45 Mesaj konusu:
arkadaslar kurdum çalışıyor sadece bir sorunu var http://www.sitead ı.com/viewtopic.php?t=186 olarak tıklanıyor yani tıklayınca hiçbirşey çıkmıyor http://www.sitead ı.com/modules.php?name=Forums&file=viewtopic&t=334#796 gibi olması lazım ben ekledim ama olmado nereleri degişmem gerekiyor demek istedigim eklemti görünüyor linklerde görünüyor ama tıklayinca açmıyor YARDIM önemli lütfen
Başa dön
berzankocak Mesaj: 300+
Kayıt: May 26, 2007 Mesajlar: 468
Tarih: 2008-06-06, 09:06:54 Mesaj konusu:
mersoy :
Kod:
##############################################################
##
## Geşitirilmiş MOD Başlığı: The Last Ten and The Ten Popular / Son 10 ve Popüler 10
## Orjinal MOD Yazarı: Andrey Politov aka Sergeant <andypolv>
##
## MOD Açıklaması: Kurduğunuz forumun index.php sayfasına, En son cevaplanan,
## en çok okunan ve en çok cevaplanan 10 konuyu tablo içinde
## sunar. Sayfa altında duran, resim eklenmiş halidir.
##
##
## MOD Entegre Etme Zorluğu: Kolay
## MOD Entegre Süresi: 10 Dakika
##
## Düzenlenecek Dosyalar; ( 3 )
##
## index.php
## language/lang_turkish/lang_main.php
## templates/SeninTeman/index_body.tpl
##
## Eklenecek Dosya: ( 3 )
##
##############################################################
##
## Bu MOD u forumunuza eklemeden önce, dosyaların yedeklerini almayı unutmayın..
##
##############################################################
#
#-----[ KOPYALA ]------------------------------------------
#
images/ten_topics_red.gif -- > root/images/ten_topics_red.gif
images/ten_topics_blue.gif -- > root/images/ten_topics_blue.gif
images/ten_topics_green.gif -- > root/images/ten_topics_green.gif
#
#-----[ DOSYAYI AÇ ]------------------------------------------
#
index.php
#
#-----[ BUL ]------------------------------------------
#
//
// Okay, let's build the index
//
for($i = 0; $i <total_categories>$v)
{
if( $v['auth_view'] && $v['auth_read'] )
{
$topics_auth_sql .= (( empty($topics_auth_sql) ) ? '': ', ') . $k;
}
}
//
// Okay, let's build the topic recent and popular
//
$active_topics_sql = 'SELECT t.topic_id, t.topic_title, t.topic_replies, t.topic_views, t.topic_last_post_id
FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE. ' f
WHERE t.forum_id IN (' . $topics_auth_sql . ')
AND f.forum_id = t.forum_id
ORDER BY %1$s DESC
LIMIT 0,10';
$active_topics_sql_a = sprintf($active_topics_sql, 'topic_last_post_id');
$active_topics_sql_b = sprintf($active_topics_sql, 'topic_replies');
$active_topics_sql_c = sprintf($active_topics_sql, 'topic_views');
$recent_row = $popular_row = $viewed_row = array();
if( !$active_topics_a = $db->sql_query($active_topics_sql_a))
{
message_die(GENERAL_ERROR, 'Could not retrieve recent topics', '', __LINE__, __FILE__, $active_topics_sql_a);
}
$recent_row = $db->sql_fetchrowset($active_topics_a);
$db->sql_freeresult($active_topics_a);
if( !$active_topics_b = $db->sql_query($active_topics_sql_b))
{
message_die(GENERAL_ERROR, 'Could not retrieve popular topics', '', __LINE__, __FILE__, $active_topics_sql_b);
}
$popular_row = $db->sql_fetchrowset($active_topics_b);
$db->sql_freeresult($active_topics_b);
if( !$active_topics_c = $db->sql_query($active_topics_sql_c))
{
message_die(GENERAL_ERROR, 'Could not retrieve most viewed topics', '', __LINE__, __FILE__, $active_topics_sql_c);
}
$viewed_row = $db->sql_fetchrowset($active_topics_c);
$db->sql_freeresult($active_topics_c);
$template->assign_vars(array(
'L_TOPICSRECENT' => $lang['TopicsRecent'],
'L_TOPICSPOPULAR' => $lang['TopicsPopular'],
'L_TOPICSPOPULARVIEW' => $lang['TopicsPopularView'])
);
for( $i = 0; $i <10> 40 )
{
$recent_topic_title = substr($recent_topic_title, 0, 40) . '...';
}
if( strlen($popular_topic_title) > 40 )
{
$popular_topic_title = substr($popular_topic_title, 0, 40) . '...';
}
if( strlen($viewed_topic_title) > 40 )
{
$viewed_topic_title = substr($viewed_topic_title, 0, 40) . '...';
}
$recent_post = '<a href="viewtopic.php?' . POST_TOPIC_URL . '=' . $recent_row[$i]['topic_id'] . '" title="' . $recent_row[$i]['topic_title'] . '">' . $recent_topic_title . '</a>';
$popular_post = '<a href="viewtopic.php?' . POST_TOPIC_URL . '=' . $popular_row[$i]['topic_id'] . '" title="' . $popular_row[$i]['topic_title'] . '">' . $popular_topic_title . '</a>';
$popular_total_replies = $popular_row[$i]['topic_replies'];
$viewed_post = '<a href="viewtopic.php?' . POST_TOPIC_URL . '=' . $viewed_row[$i]['topic_id'] . '" title="' . $viewed_row[$i]['topic_title'] . '">' . $viewed_topic_title . '</a>';
$viewed_total_replies = $viewed_row[$i]['topic_views'];
$template->assign_block_vars('topicrecentpopular', array(
'TOPICSPOPULAR' => $popular_post,
'TOPICSPOPULARC' => $popular_total_replies,
'TOPICSPOPULARVIEW' => $viewed_post,
'TOPICSPOPULARVIEWC' => $viewed_total_replies,
'TOPICSRECENT' => $recent_post)
);
}
//
//------------------------------------------------------------------------
#
#-----[ KAYDET VE KAPAT ]------------------------------------------
#
#
#-----[ DOSYAYI AÇ ]------------------------------------------
#
templates/SeninTeman/index_body.tpl
#-----[ BUL ]------------------------------------------
<td><span>{S_TIMEZONE}</span></td>
</tr>
</table>
#-----[ ALTINA EKLE ]------------------------------------------
<Ana>
<table>
<tr>
<th> {L_TOPICSRECENT} </th>
<th> {L_TOPICSPOPULAR} </th>
<th> {L_TOPICSPOPULARVIEW} </th>
</tr>
<BEGIN>
<tr>
<td><center><img width="11" src="images/ten_topics_red.gif" /></center></td>
<td><span>{topicrecentpopular.TOPICSRECENT}</span></td>
<td><center><img width="11" src="images/ten_topics_blue.gif" /></center></td>
<td><span>{topicrecentpopular.TOPICSPOPULAR}</span></td>
<td><span>{topicrecentpopular.TOPICSPOPULARC}</span></td>
<td><center><img width="11" src="images/ten_topics_green.gif" /></center></td>
<td><span>{topicrecentpopular.TOPICSPOPULARVIEW}</span></td>
<td><span>{topicrecentpopular.TOPICSPOPULARVIEWC}</span></td>
</tr>
<END>
</table>
<Ana>
#
#-----[ KAYDET VE KAPAT ]------------------------------------------
#
#
#-----[ DOSYAYI AÇ ]------------------------------------------
#
language/lang_turkish/lang_main.php
#-----[ BUL ]------------------------------------------
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#
//------------------------------------------------------------------------
//
$lang['TopicsRecent'] = "En Son Cevaplanan 10 Konu";
$lang['TopicsPopular'] = "En Çok Cevaplanan 10 Konu";
$lang['TopicsPopularView'] = "En Çok Okunan 10 Konu";
//
//------------------------------------------------------------------------
#
#-----[ KAYDET VE KAPAT ]------------------------------------------
#
#
#-----[ SON ]------------------------------------------
#
Yedeklerini aldıktan sonra; değişen dosyaları, sitenizdekilerle değiştirin.
tam olarak bu doğru eklerseniz çalışır. bahsedilen gifler bende yok. ama yerine başka gif uydurun gitsin
mersoy arkadasim tam olarak ekledim ama yukardada yazdigim gibi linke tıklayinca bos sayfa çıkıyor yaedım edersen sevinirim
Başa dön
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