Toplam Üye:
32638
Aktif Üye:
0
Aktif Ziyaretçi:
962
facebookda paylas eklenti ..(11353 okuma, 11 yanıt) Üyelerin profilerine yoru ..(11252 okuma, 10 yanıt) Forum Mesajları ..(7020 okuma, 4 yanıt) Forumun üst bölümüne nası ..(6086 okuma, 2 yanıt) Power Nuke Hakkinda Uzma ..(15800 okuma, 19 yanıt) mesajı begenme eklentisi ..(6963 okuma, 4 yanıt) imza karakterlerinin sayı ..(6370 okuma, 4 yanıt) Forumda Embed kodlar ..(66663 okuma, 11 yanıt) Eğitim Sitesi için banner ..(8308 okuma, 5 yanıt) Forum Da ki katogorileri ..(6158 okuma, 5 yanıt) Forum Admin Panelde Kulla ..(4163 okuma, 1 yanıt) lewel mod ..(6841 okuma, 5 yanıt) Avatar boyunu ayarlama ..(6913 okuma, 5 yanıt) Foruma iframe Kodları Cal ..(6263 okuma, 4 yanıt) Üye paneli ..(11902 okuma, 14 yanıt) popüler Hikaye Yan Blok ..(3681 okuma, 0 yanıt) Rütbe resmi ..(5309 okuma, 3 yanıt) Alt Forum Ekletisinde Alt ..(5912 okuma, 3 yanıt) Advanced Username Color ..(10826 okuma, 12 yanıt) body kismi hangi nuke say ..(5342 okuma, 2 yanıt) Forumda Son konuları Site ..(3691 okuma, 0 yanıt) wep sitesi yapanlar ..(4528 okuma, 2 yanıt) Bu Eklentinin Aynısı Lazı ..(9504 okuma, 11 yanıt) Forumu düzenleyeyim derke ..(5164 okuma, 3 yanıt) www.teselliver.com siteye ..(4878 okuma, 2 yanıt) Php Nuke BB Calısmaları ..(3497 okuma, 1 yanıt) İstek İstatistikler Modu ..(4693 okuma, 2 yanıt) Formumuzu Gelistirmek Ve ..(3274 okuma, 0 yanıt) Arkadaşlar cinsiyet ve do ..(7832 okuma, 6 yanıt) 7.9 Blue Editoins Formunu ..(3563 okuma, 0 yanıt) mesajdan sonra sponsor re ..(4633 okuma, 2 yanıt) Buyrun yapamayanlar için ..(32413 okuma, 38 yanıt) Entegreler Sıtede bulamad ..(4022 okuma, 1 yanıt) En Gelısmıs Phpbb Sürümü ..(6500 okuma, 5 yanıt) konu başlıkları hazır for ..(3839 okuma, 0 yanıt) Eklenti ..(3988 okuma, 1 yanıt) AJAX Sohbet Odası - Shout ..(13661 okuma, 17 yanıt) Sohbet Modu ..(5589 okuma, 3 yanıt) Smilar Topics ..(3909 okuma, 1 yanıt) Foruma Small Shoutbox ..(3251 okuma, 0 yanıt) Php Nuke 8.0 A FCK Editör ..(6431 okuma, 5 yanıt) mod fourum message ..(4804 okuma, 2 yanıt) Php Nuke Formunu Nasıl Ge ..(8995 okuma, 10 yanıt) Bu eklentinin adı nedir ? ..(5024 okuma, 2 yanıt) Cash Mod 221 - Türkçe [MO ..(6252 okuma, 3 yanıt) Kilitlenen Konunun Üzerin ..(16096 okuma, 16 yanıt) Forum da Bu Hatayı veriyo ..(7127 okuma, 4 yanıt) phpnuke foruma güvenlik k ..(5659 okuma, 3 yanıt) daha önce bu konuya bakan ..(5849 okuma, 3 yanıt) BBtoNuke 2.22 to BBtoNuke ..(3692 okuma, 0 yanıt)
Netopsiyon Online: Forums
Netopsiyon Online :: Başlık görüntüleniyor - top 10 ve resim kucultucu olmuyor
Önceki başlık :: Sonraki başlık
Yazar
Mesaj
karadag Mesaj: 1+
Kayıt: May 20, 2007 Mesajlar: 22
Tarih: 2009-11-09, 01:26:53 Mesaj konusu: top 10 ve resim kucultucu olmuyor
selam arkadaslar ben siteme ten topics kurdum yani ustte 10 yeni konu, cevaplanan ve tiklanan kodu asagida her sey tama vakat bastimi http://www.muminkardes.net/viewtopic.php?t=429
sayfa bos cikiyor
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 ]------------------------------------------
#
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 ]------------------------------------------
<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="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.
bir de forumdaki resimleri otomatik kucultmek icin modul kurdum o hic calismadi
kod
Kod:
##############################################################
## MOD Title: Resize Fix
## MOD Author: Mike Lothar <community> ( Mike Lothar ) http://www.mikelothar.com
## MOD Description:
## bu mod sayesinde forumlariniza gönderilen genis resimleri kücültmenizi sagliyacaktir
## ve üye resmi görüntülemek icin resmin üstüne tiklamasi yeterlidir örnegin forumlarimizda mevcuttur
## MOD Version: 1.0.0
## Installation Level: (Easy)
## Installation Time: 3 Minutes
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
##############################################################
## Dosyalarýnýzýn Yedeðini Almayý UNUTMAYINIZ!!!
##############################################################
#
#-----[ kopyala ]---------------------------
#
copy resizefix.php Dosyasini modules/Forums/templates/subSilver/resizefix.php icine kopyalayin
#
#-----[ ACINIZ ]------------------------------------------
#
modules/Forums/templates/subSilver/bbcode.tpl
themes/Sitenizin Temasi/forums/bbcode.tpl
#
#-----[bulunuz asagidaki satirlari]------------------------------------------
#
<BEGIN><img src="{URL}" border="0" /><END>
#
#-----[buldugunuz kodu asagidakiyle degistiriniz]------------------------------------------
#
<BEGIN>
<s>
<function>
</s>
<img src="{URL}" border="0" onmouseout="unpointercursor();" onmouseover="if(this.width == 550) {pointercursor();}" onclick="if(this.width == 550) { window.open('modules/Forums/templates/subSilver/resizefix.php?originalsize={URL}', '_blank' ,'scrollbars=1,toolbar=no,resizable=1,menubar=no,directories=no,status=yes'); return false; }" alt="" />
<END>
#
#-----[ ACINIZ ]------------------------------------------
#
modules/Forums/templates/subSilver/overall_header.tpl
#
#-----[BULUNUZ]------------------------------------------
#
<END>
#
#-----[ BIR ALTINA EKLEYINIZ ]------------------------------------------
#
<s>
<!--
function resize_images()
{
for (i = 0; i <document> 550 )
{
document.images[i].width = 550;
}
}
}
//-->
</s>
#
#-----[BULUNUZ]------------------------------------------
#
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
#
#-----[ SATIR ICINDE BULUNUZ ]------------------------------------------
#
vlink="{T_BODY_VLINK}"
#
#-----[ BULDUGUNUZ SATIRIN HEMEN SONRASINA EKLEYINIZ]------------------------------------------
#
onload="resize_images()"
#
#-----[ KAYDET VE KAPAT HEBSINI ]------------------------------------------
#
# EoM
yardim lutfen yanlis nrede yapiyorum
Başa dön
Bu Site Google Adsense ile Gelir Elde Ediyor
Tarih: 2024-05-02, 09:52:40 Mesaj konusu: Forum Arası Reklamlar
Başa dön
halley_yas Mesaj: 100+
Kayıt: May 19, 2006 Mesajlar: 152 Konum: Konya
Başa dön
karadag Mesaj: 1+
Kayıt: May 20, 2007 Mesajlar: 22
Tarih: 2009-11-10, 21:32:41 Mesaj konusu:
sagol kardes top 10 oldu vakat resim kucultmede
problem im var phpadmin den okutunca bu kodlari
Kod:
INSERT INTO nuke_config( config_name, config_value ) VALUES ( 'postimg_width', '800' );
INSERT INTO nuke_config( config_name, config_value ) VALUES ( 'postimg_height', '600' );
yanlis veriyor
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