| Author | Message |
Kral
87 posts |
#6799 2007-10-05 01:18 GMT |
![]() Son Forum Konuları fazla olunca görünümü bozuluyo ama Beligio da Bozulmuyo bunu nasıl önlerim ? |
|
Kaan
1,920 posts |
#6805 2007-10-05 03:14 GMT |
|
Tablo boyutuna sıgmıyor belagyoda tablo büyük bunda kücük bu nedenle latestpost eklentisini acıp orda 100% vardır onu kücülterek kendine göre ayarla <table class="cells" ile başlar tablo yapısı ordan ufalt + yazı karekter sayısınıda ufalt latestpost 32 yazması lazım normalde while den sonra ara title yazar sonunda rakam yazar
|
|
Kral
87 posts |
#6807 2007-10-05 03:56 GMT |
|
Code: <?PHP /* ==================== Land Down Under - Website engine Copyright Neocrome http://www.neocrome.net [BEGIN_SED] File=plugins/latestposts/latestposts.php Version=2 Updated= Type=Plugin Author=destroyer Description=Ana Sayfada Son Forum Konulari [END_SED] [BEGIN_SED_EXTPLUGIN] Code=latestposts Part=main File=latestposts Hooks=index.tags Tags=index.tpl:{PLUGIN_LATEST_POSTS} Minlevel=0 Order=10 [END_SED_EXTPLUGIN] ==================== */ if ( !defined('SED_CODE') ) { die("Hacking attempt."); } $plimit = "15"; // define number of rows you want to see... $sql = sed_sql_query("SELECT t.ft_id, t.ft_sectionid, t.ft_title, t.ft_updated, t.ft_postcount, t.ft_viewcount, t.ft_lastposterid, t.ft_lastpostername, s.fs_id, s.fs_title, s.fs_category FROM $db_forum_topics t,$db_forum_sections s WHERE t.ft_sectionid=s.fs_id AND t.ft_movedto=0 AND t.ft_mode=0 ORDER by t.ft_updated DESC LIMIT $plimit"); $latestposts = "<table border='0' width='100%' cellspacing='0' cellpadding='1' align='center'>"; $latestposts .= "<tr><td>Konu</td><td>Mesajlar</td><td>Okunma</td><td>Son Gönderen</td><td>Tarih</td></tr>"; $ii=0; while ($row = sed_sql_fetcharray($sql)){ if (sed_auth('forums', $row['fs_id'], 'R')){ $ii++; $img = ($usr['id']>0 && $row['ft_updated']>$usr['lastvisit']) ? "<a href=\"forums.php?m=posts&q=".$row['ft_id']."&n=unread#unread\"><img src=\"skins/$skin/img/system/arrow-unread.gif\" alt=\"\" /></a>" : "<a href=\"forums.php?m=posts&q=".$row['ft_id']."\"><img src=\"skins/$skin/img/system/arrow-follow.gif\" alt=\"\" /></a> "; $latestposts .= "<tr><td> "; $latestposts .= $img." <a href=\"forums.php?m=posts&q=".$row['ft_id']."\">".sed_cc(sed_cutstring(stripslashes($row['ft_title']),38))."</a></td>"; $latestposts .="<td> (" .$row["ft_postcount"]. ") </td>"; $latestposts .="<td> (" .$row["ft_viewcount"]. ")</td>"; $latestposts .= "<td> <a href='users.php?m=details&id=".$row["ft_lastposterid"]."'>".$row["ft_lastpostername"]."</a></td>";$latestposts .= "<td> ".date($cfg['formatmonthdayhourmin'], $row['ft_updated'] + $usr['timezone'] * 3600)."</td></tr>"; } } if($ii==0){ $latestposts .= "<tr><td colspan=\"5\"><center><font color='red'>Son Forum Konularını Görmek için Giriş Yapınız</font></center></td></tr>"; } $latestposts .= "</table>"; $t-> assign(array( "PLUGIN_LATEST_POSTS" => $latestposts, )); ?> Yok Burda Öyle Bişey |
|
Dvdbil
2,096 posts |
#6808 2007-10-05 04:10 GMT |
|
İlgili eklentinin kodlarında sed_cutstring fonksiyonu çağırılıyor.
Fonksiyon komutunda belirtilen rakamda, başlıkların maksimum kaç karakter olacağı anlamına geliyor. Gösterdiğin ekran görüntüsünde göründüğü kadarıyla o rakamı 5 6 düşür ve test et.. |
|
Kral
87 posts |
#6813 2007-10-05 08:07 GMT |
|
Evet Oldu Çok saol Dvdbil
|
|
> 1 <
Benzer konular (Similar topics) #BETA
| Konular | Mesajlar | Son Yazar | Güncelleme |
| Bir İstek(Skins) | 6 | BaTu | 431 Gün |
| Skins Adı Değişimi | 2 | Kripteks | 449 Gün |
| Gray skins .. | 3 | Madwolf | 172 Gün |
| texboxerde hata ve forum açarken hata yardım pls | 5 | Dvdbil | 234 Gün |
| Yeni Skins { EmremiX } | 10 | emremix | 107 Gün |






