Etiketler: misafirlere konuları göstermek
| Author | Message |
crown
22 posts |
#5725 2007-08-07 20:15 GMT |
|
arkadaşlar misafirlere Konuları göstermek istiyorum. Göremiyorlar son forum Konuları göstreilmiyor.admin panelinden kullanıcılar'a tıkladım misafir'lere forumda okuma yetkisi verdim ama hala çıkmıyor lütfen yardım |
|
Dvdbil
2,096 posts |
#5726 2007-08-07 20:16 GMT |
|
Son forum konuları diyorsun.. anasayfadakimi ?
|
|
crown
22 posts |
#5728 2007-08-07 20:18 GMT |
|
son forum konuları anasayfadaki yani misafir forum içeriğini görebilsin. |
|
Dvdbil
2,096 posts |
#5731 2007-08-07 20:21 GMT |
|
İlgili eklentinin kodlarını yaz buraya.
|
|
crown
22 posts |
#5732 2007-08-07 20:23 GMT |
|
Latespost Kodları aşağıdaki gibi misafirler Konuları görebilsin içeirği okuyabilsin yani.
<?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 [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 class=\"cells\"><tr>"; $latestposts .= "<tr><td>Konu</td><td>Mesajlar</td><td>Okunma</td><td>Son Gönderen</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=\"forum.php?m=posts&q=".$row['ft_id']."&n=unread#unread\"><img src=\"skins/$skin/img/system/arrow-unread.gif\" alt=\"\" /></a>" : "<a href=\"forum.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=\"forum.php?m=posts&q=".$row['ft_id']."\">".sed_cc(sed_cutstring(stripslashes($row['ft_title']),35))."</a></td>"; $latestposts .="<td> (" .$row["ft_postcount"]. ") </td>"; $latestposts .="<td> (" .$row["ft_viewcount"]. ")</td>"; $latestposts .= "<td> <a href='uyeler.php?m=details&id=".$row["ft_lastposterid"]."'>".$row["ft_lastpostername"]."</a></td>"; } } 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, )); ?> This post was edited by Dvdbil (2007-08-07 20:26 GMT, 334 Gün ago) |
|
Dvdbil
2,096 posts |
#5734 2007-08-07 20:30 GMT |
|
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 [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 class=\"cells\"><tr>"; $latestposts .= "<tr><td>Konu</td><td>Mesajlar</td><td>Okunma</td><td>Son Gönderen</td></tr>"; $ii=0; while ($row = sed_sql_fetcharray($sql)) { $ii++; $img = ($usr['id']>0 && $row['ft_updated']>$usr['lastvisit']) ? "<a href=\"forum.php?m=posts&q=".$row['ft_id']."&n=unread#unread\"><img src=\"skins/$skin/img/system/arrow-unread.gif\" alt=\"\" /></a>" : "<a href=\"forum.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=\"forum.php?m=posts&q=".$row['ft_id']."\">".sed_cc(sed_cutstring(stripslashes($row['ft_title']),35))."</a></td>"; $latestposts .="<td> (" .$row["ft_postcount"]. ") </td>"; $latestposts .="<td> (" .$row["ft_viewcount"]. ")</td>"; $latestposts .= "<td> <a href='uyeler.php?m=details&id=".$row["ft_lastposterid"]."'>".$row["ft_lastpostername"]."</a></td>"; } $latestposts .= "</table>"; $t-> assign(array( "PLUGIN_latestposts" => $latestposts, )); ?> Test etmedim. |
|
crown
22 posts |
#5735 2007-08-07 20:34 GMT |
|
yok dvdbill yine göremiyor misafirler :S
|
|
Dvdbil
2,096 posts |
#5740 2007-08-07 21:15 GMT |
crown O sayfaya gir, latestposts eklentisini okuma izni ver. |
|
Kaan
1,911 posts |
#5748 2007-08-07 21:55 GMT |
|
Dvdbil eklentiyle bir alakası yok bu konunn sistemden kaynaklanıyor bence bu. Neden dersen herkes bu eklentiyi kullanıyor srun yok eklentide. Crown sen görebiliyormusun son forum konuları.? sen görebiliyorsan admin panelden misafirlerin yetkilerini kontrol et. üyeler görebiliyormu.? |
|
babakondaa
45 posts |
#5750 2007-08-07 22:02 GMT |
|
Bu Eklentiyi Bende Kullandım.Forumda Hiç Mesaj Yoksa Son Forum Konularını Görmek için Giriş Yapınız Mesajını Verir.Eklentide Herhangi Bir Hata Kesinlikle Yoktur.
|
|
Darkworm
155 posts |
#5760 2007-08-08 01:02 GMT |
|
Üyelerin forumu görme yetkileri yoksa eklentide son konularıda göremezler =]
|
|
crown
22 posts |
#5765 2007-08-08 12:24 GMT |
|
arkadaşlar üye giriişi yapan görüyor ama yapmayan yani misafirler göremiyor son forum Konularını acaip bi durum pLs yardım :S
|
|
Kaan
1,911 posts |
#5787 2007-08-08 21:39 GMT |
|
Misafirlerin yetkilerini kontrol etmekden baska bie seçenegin yok öyle görünüyor yetkilerde sorun var. |
|
Benzer konular (Similar topics) #BETA
| Konular | Mesajlar | Son Yazar | Güncelleme |
| Anasayfada Haberleri Göstermek ve son forum konuları bıcım | 3 | Maddium Coder | 91 Gün |
| PFS yi misafirlere kapatıp admine açmak | 3 | tesla | 169 Gün |
| Misafirlere Link Gizleyici Dosyalar Bölümü | 7 | Dvdbil | 216 Gün |
| Tüm Sayfaları Anasayfada Göstermek | 2 | WebCoder | 8 Gün |
| Linkleri kısaltarak göstermek | 5 | TheRaskol | 84 Gün |





