Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
1000
facebookda paylas eklenti ..(11580 okuma, 11 yanıt) Üyelerin profilerine yoru ..(11408 okuma, 10 yanıt) Forum Mesajları ..(7124 okuma, 4 yanıt) Forumun üst bölümüne nası ..(6190 okuma, 2 yanıt) Power Nuke Hakkinda Uzma ..(16061 okuma, 19 yanıt) mesajı begenme eklentisi ..(7073 okuma, 4 yanıt) imza karakterlerinin sayı ..(6478 okuma, 4 yanıt) Forumda Embed kodlar ..(66883 okuma, 11 yanıt) Eğitim Sitesi için banner ..(8446 okuma, 5 yanıt) Forum Da ki katogorileri ..(6255 okuma, 5 yanıt) Forum Admin Panelde Kulla ..(4236 okuma, 1 yanıt) lewel mod ..(6996 okuma, 5 yanıt) Avatar boyunu ayarlama ..(7017 okuma, 5 yanıt) Foruma iframe Kodları Cal ..(6346 okuma, 4 yanıt) Üye paneli ..(12118 okuma, 14 yanıt) popüler Hikaye Yan Blok ..(3754 okuma, 0 yanıt) Rütbe resmi ..(5406 okuma, 3 yanıt) Alt Forum Ekletisinde Alt ..(6010 okuma, 3 yanıt) Advanced Username Color ..(11092 okuma, 12 yanıt) body kismi hangi nuke say ..(5436 okuma, 2 yanıt) Forumda Son konuları Site ..(3731 okuma, 0 yanıt) wep sitesi yapanlar ..(4606 okuma, 2 yanıt) Bu Eklentinin Aynısı Lazı ..(9667 okuma, 11 yanıt) Forumu düzenleyeyim derke ..(5265 okuma, 3 yanıt) www.teselliver.com siteye ..(4979 okuma, 2 yanıt) Php Nuke BB Calısmaları ..(3561 okuma, 1 yanıt) İstek İstatistikler Modu ..(4758 okuma, 2 yanıt) Formumuzu Gelistirmek Ve ..(3324 okuma, 0 yanıt) Arkadaşlar cinsiyet ve do ..(7973 okuma, 6 yanıt) 7.9 Blue Editoins Formunu ..(3635 okuma, 0 yanıt) mesajdan sonra sponsor re ..(4696 okuma, 2 yanıt) Buyrun yapamayanlar için ..(33078 okuma, 38 yanıt) Entegreler Sıtede bulamad ..(4075 okuma, 1 yanıt) En Gelısmıs Phpbb Sürümü ..(6601 okuma, 5 yanıt) konu başlıkları hazır for ..(3893 okuma, 0 yanıt) Eklenti ..(4070 okuma, 1 yanıt) AJAX Sohbet Odası - Shout ..(13931 okuma, 17 yanıt) Sohbet Modu ..(5706 okuma, 3 yanıt) Smilar Topics ..(4019 okuma, 1 yanıt) Foruma Small Shoutbox ..(3306 okuma, 0 yanıt) Php Nuke 8.0 A FCK Editör ..(6565 okuma, 5 yanıt) mod fourum message ..(4880 okuma, 2 yanıt) Php Nuke Formunu Nasıl Ge ..(9177 okuma, 10 yanıt) Bu eklentinin adı nedir ? ..(5126 okuma, 2 yanıt) Cash Mod 221 - Türkçe [MO ..(6361 okuma, 3 yanıt) Kilitlenen Konunun Üzerin ..(16446 okuma, 16 yanıt) Forum da Bu Hatayı veriyo ..(7247 okuma, 4 yanıt) phpnuke foruma güvenlik k ..(5768 okuma, 3 yanıt) daha önce bu konuya bakan ..(5969 okuma, 3 yanıt) BBtoNuke 2.22 to BBtoNuke ..(3750 okuma, 0 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - Top 10 İstatislikler modu hatası ...
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
Serkancinar Mesaj: 200+
Kayıt: Sep 13, 2008 Mesajlar: 213
Tarih: 2008-10-03, 19:08:02 Mesaj konusu: Top 10 İstatislikler modu hatası ...
arkadaşlar top 10 istatislikler modunu kurdum herşey normal fakat linkler şu şekilde görünüyor...
tıklıyorum açılmıyor bu arada googletap da kullanıyorum sitem root ta
http://www......com/viewtopic.php?t=9
http://www.......com/viewtopic.php?t=9
http://www.......com/viewtopic.php?t=9
ne yapmalıyım ?
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.
,kod bu
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-06-15, 22:53:26 Mesaj konusu: Forum Arası Reklamlar
Başa dön
gonlumungulu Mesaj: 500+
Kayıt: Jan 22, 2006 Mesajlar: 778 Konum: Elazığ
Tarih: 2008-10-03, 19:22:35 Mesaj konusu:
Kardes sanırım yanlıs eklemişsin .. dediklerini aynen uygula mod çalısacaktır.
Başa dön
Serkancinar Mesaj: 200+
Kayıt: Sep 13, 2008 Mesajlar: 213
Tarih: 2008-10-03, 20:53:47 Mesaj konusu:
hocam yanlış eklemedigime eminim ama tekrar kontrol edeyim
Başa dön
gonlumungulu Mesaj: 500+
Kayıt: Jan 22, 2006 Mesajlar: 778 Konum: Elazığ
Tarih: 2008-10-03, 21:21:22 Mesaj konusu:
Ne oldu düzeldimi .
Başa dön
Serkancinar Mesaj: 200+
Kayıt: Sep 13, 2008 Mesajlar: 213
Tarih: 2008-10-03, 22:38:19 Mesaj konusu:
gerçektne çok sağolun misafir gelmişti :) yapamadım şimdi tekrar yapıorum
Başa dön
Serkancinar Mesaj: 200+
Kayıt: Sep 13, 2008 Mesajlar: 213
Tarih: 2008-10-03, 23:07:07 Mesaj konusu:
ilgilendiginiz için çok teşekkür ederim bir yerde hata yapmışım :) oldu
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