Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
478
ME_Haber 2.3 ..(108711 okuma, 145 yanıt) Resim Galerisi Modülü 2.0 ..(121783 okuma, 173 yanıt) Ustalardan Bir Ricam Olac ..(13613 okuma, 6 yanıt) nukecode.com will close ..(11196 okuma, 5 yanıt) super youtube player a lo ..(6335 okuma, 1 yanıt) Need good PHP Haber port ..(5605 okuma, 0 yanıt) Forum Nasil Tam Sayfa Olu ..(35107 okuma, 40 yanıt) Php nuke Forumu Düzenleme ..(9933 okuma, 6 yanıt) Yeni Üyelik Aktivasyon Li ..(10975 okuma, 6 yanıt) Aşk Flashları Modülü ..(6977 okuma, 2 yanıt) resim galeri 2.0 da kateg ..(11415 okuma, 9 yanıt) Yeni iki modul: Merhumlar ..(32367 okuma, 36 yanıt) ürün tanıtım modülü ..(25221 okuma, 23 yanıt) PHP Nuke is out ..(14996 okuma, 13 yanıt) MSN Video Bing Video oldu ..(5194 okuma, 0 yanıt) haberhit.com ..(5785 okuma, 1 yanıt) Bilgi Yarışması 1.0 tama ..(51923 okuma, 72 yanıt) Musıc Box elinde olan var ..(6685 okuma, 2 yanıt) Online Okey , Batak , Tav ..(173175 okuma, 340 yanıt) Emlak Modül ve Blockları ..(12275 okuma, 8 yanıt) WM who ist shampions ..(5040 okuma, 1 yanıt) coppermine resim galerisi ..(5484 okuma, 1 yanıt) Forumda Teşekkür Eklentis ..(9073 okuma, 7 yanıt) free wordpress themes ..(5575 okuma, 1 yanıt) JW image rotator for nsn ..(7643 okuma, 4 yanıt) need Iletisim module ..(11004 okuma, 8 yanıt) Yeni modul: İletişim modu ..(27651 okuma, 33 yanıt) Başvuru Modulu ve Etkinli ..(5827 okuma, 1 yanıt) world cup flash ..(5040 okuma, 0 yanıt) ..:: Php Nuke FTP link Ha ..(4937 okuma, 0 yanıt) yeni phpnuke youtube 2.0 ..(5161 okuma, 1 yanıt) Content Plus Önceki Konu ..(4771 okuma, 0 yanıt) Php nuke Tickets Modülü ..(7972 okuma, 5 yanıt) need help to news time ..(4540 okuma, 0 yanıt) NSN News v3.0 new plugin ..(4828 okuma, 0 yanıt) how to save flash as imag ..(6038 okuma, 2 yanıt) Video Blok Yardım Lütfen. ..(5983 okuma, 2 yanıt) gazete ara ..(9785 okuma, 5 yanıt) Bizim Yazarlar ve Bizim Ş ..(14948 okuma, 14 yanıt) Nuke Reflections v2 Türkç ..(14534 okuma, 14 yanıt) CNB Your Account 750 442 ..(14224 okuma, 13 yanıt) Admin panelindeki simge ç ..(12332 okuma, 9 yanıt) Hosting Modülü ..(14014 okuma, 13 yanıt) Bizim şairler Modülü ..(5179 okuma, 1 yanıt) new plugin for nsn news v ..(4757 okuma, 1 yanıt) php nuke 8.0 türkce dil s ..(6917 okuma, 3 yanıt) Kan Bankası Modül istek ..(6130 okuma, 2 yanıt) Haber Konulari Sayfasinda ..(5753 okuma, 2 yanıt) Kan Bankası Modülünde İsi ..(7053 okuma, 3 yanıt) sonhaberler flash block ..(6620 okuma, 4 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - forum eklenti YARDIM önemli
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
berzankocak Mesaj: 300+
Kayıt: May 26, 2007 Mesajlar: 468
Tarih: 2008-06-06, 19:46:43 Mesaj konusu: forum eklenti YARDIM önemli
arkadaslar ben resimde gördügünüz eklentiyi 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 size kodları veriyorum
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.
çözüldü En son berzankocak tarafından 2008-06-06, 23:34:12 tarihinde değiştirildi, toplam 1 kere değiştirildi
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-05-18, 21:54:55 Mesaj konusu: Forum Arası Reklamlar
Başa dön
soulfather Mesaj: 1000+
Kayıt: Jun 11, 2004 Mesajlar: 1051 Konum: Ankara
Tarih: 2008-06-06, 19:55:01 Mesaj konusu:
kodlar içersinde
burayı bul
Kod:
$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'];
burada
Kod:
<a href="viewtopic.php
gordugun gibi adres verilmis sen burayı bu hale getirmen lazım
Kod:
modules.php?name=Forums&file=viewtopic&
veya buna benzer bir seyler..
Başa dön
soulfather Mesaj: 1000+
Kayıt: Jun 11, 2004 Mesajlar: 1051 Konum: Ankara
Tarih: 2008-06-06, 19:57:36 Mesaj konusu:
Ayrıca O kurulum dosyası hatalı zannedersem bundan dene bakalı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 üstünde 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 ]------------------------------------------
#
modules/Forums/images/ten_topics_red.gif -- > root/images/ten_topics_red.gif
modules/Forums/images/ten_topics_blue.gif -- > root/images/ten_topics_blue.gif
modules/Forums/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="modules.php?name=Forums&file=viewtopic&' . POST_TOPIC_URL . '=' . $recent_row[$i]['topic_id'] . '" title="' . $recent_row[$i]['topic_title'] . '">' . $recent_topic_title . '</a>';
$popular_post = '<a href="modules.php?name=Forums&file=viewtopic&' . 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="modules.php?name=Forums&file=viewtopic&' . 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 ]------------------------------------------
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></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="modules/Forums/images/ten_topics_red.gif" /></center></td>
<td><span>{topicrecentpopular.TOPICSRECENT}</span></td>
<td><center><img width="11" src="modules/Forums/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="modules/Forums/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.
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