| Author | Message |
muko
123 posts |
#17294 2008-03-06 10:15 GMT |
|
arkadaşlar benim sitede son forum konuları klasik model.ben tablo biçiminde olmasını istiyorum araştırdım fakat bulamadım.yardımcı olursanız sevinirim..tabloyu sizinki gibi istiyorum yani genel kullanılan.. şimdiden teşekkürler! |
|
|
muko.ws
|
|
The_PcDelisi
191 posts |
#17295 2008-03-06 12:24 GMT |
|
yani araştırmadan konu açıyorsunuzya bide araştırdım diyorsunuz
http://www.seditio-tr.com/son1429-son-forum-konulari-last.html#bottom http://www.seditio-tr.com/son864-son-forum-konulari-last.html#bottom http://www.seditio-tr.com/son1382-son-forum-konulari-last.html#bottom http://www.seditio-tr.com/son106-son-forum-konulari-last.html#bottom |
|
mahlas
44 posts |
#17308 2008-03-06 16:11 GMT |
|
yha agbi yokk olmuoo bulunmuyo adma gibi bi acıklalma yapsanız super oljk alınn Latestpost.php Code: <?PHP
/* ==================== Land Down Under - Website engine Copyright Kaan http://www.ntka.org [BEGIN_SED] File=plugins/latestposts/latestposts.php Version=2 Updated= Type=Plugin Author=| Kaan | www.ntka.org a.q bunu yanlış yazanın İpneler adam gibi yazın yazıyorsanız. Description=Ana Sayfada Son Forum Konulari [END_SED] [BEGIN_SED_EXTPLUGIN] Code=latestposts Part=main File=latestposts Hooks=index.tags Tags=index.tpl:{PLUGIN_latestposts} Minlevel=0 Order=10 [END_SED_EXTPLUGIN] ==================== */ if ( !defined('SED_CODE') ) { die("Hacking attempt."); } $plimit = "20"; // 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' bordercolor='111111' cellpadding='0' 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_latestposts" => $latestposts, )); ?> |
|
Çırakx
4 posts |
#17310 2008-03-06 16:16 GMT |
|
tablo içinde derken örnek bi site varmı mesela border ların kalınlıklarını arttırarak bu istediğin şeye ulaşabilirsin ama tam olarak ne istedini anlamadım
|
|
Çırakx
4 posts |
#17311 2008-03-06 16:18 GMT |
|
Code: latestposts = "<table border='0' width='100%' cellspacing='0' bordercolor='111111' cellpadding='0' align='center' sanırım istediğin şey bu değerlerde saklı |
|
3nokta5
169 posts |
#17313 2008-03-06 16:46 GMT |
|
{PLUGIN_latestposts} bence burda bunu eklemediyse klasik çıkar forum/konudışında/deneme gibi çıkıyor demek istede {PLUGIN_latestposts} index tpl ye bunu yazık eklentiyi kur kodu yazmadan eklentiyi kuıruyor arkadaş
|
|
MUST!
256 posts |
#17316 2008-03-06 16:55 GMT |
|
Code: <?PHP lastpost.php deki kodları bide bununla değiştir ilgili tagıda iligili alana ekle
/* ==================== Land Down Under - Website engine Copyright Kaan http://www.ntka.org [BEGIN_SED] File=plugins/latestposts/latestposts.php Version=2 Updated= Type=Plugin Author=| Kaan | Description=Ana Sayfada Son Forum Konulari [END_SED] [BEGIN_SED_EXTPLUGIN] Code=latestposts Part=main File=latestposts Hooks=index.tags Tags=index.tpl:{PLUGIN_latestposts} Minlevel=0 Order=10 [END_SED_EXTPLUGIN] ==================== */ if ( !defined('SED_CODE') ) { die("Hacking attempt."); } $plimit = "30"; // 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='1' width='100%' cellspacing='0' bordercolor='000000' cellpadding='0' 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>".sed_build_user($row['ft_lastposterid'], $row['ft_lastpostername'])."</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_latestposts" => $latestposts, )); ?> |
|
> 1 <
Benzer konular (Similar topics) #BETA
| Konular | Mesajlar | Son Yazar | Güncelleme |
| önemli forum konuları bakın pls | 15 | muko | 134 Gün |
| Son Yazdığı Forum Mesajları, Son Açtığı Forum Konuları ve News | 5 | Kaan | 189 Gün |
| Forum Genişletme Bakın bi Arkadaslar ..! | 4 | SiberBela | 41 Gün |
| Son Forum Konuları | 2 | TheRaskol | 29 Gün |
| forum konuları | 2 | WebCoder | 122 Gün |





