»Forumlar »SE ? Plugins »Seditio cat-id eklentisi var problem şu?
  https://seditio.com.tr/eski1/forums.php?m=posts&q=1005
          Geri Dön      -      Sayfayı Yazdırmak için tıklayın
Author: kralmage, Posted: 2010-10-16 17:58 GMT.
Merhabalar seditio cat-id eklentisi ile ana sayfada forumda belirli kategori g?steriyorum tamam her?ey g?zelde son forum konular?nda latestpost da nas?l engelleriz o g?sterdiklerimizin g?r?nmesini?
Author: Kaan, Posted: 2010-10-16 18:55 GMT. This post was edited by Kaan (2010-10-16 20:37 GMT, 5793 Gün ago)
Eklentinin sql sorgusunu buraya ekle.

son mesaj 1 saat 42 dakika ?nce

Sql Sorgusu Sat?r?na Bu kodu ekle
Kod:
AND s.fs_id !=3

Hangi Katagoriyi yasakl?yacaksan onun id numaras?n? yazman yeterli
Author: kralmage, Posted: 2010-10-20 13:17 GMT. This post was edited by kralmage (2010-10-20 16:27 GMT, 5789 Gün ago)
Kod:
$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");


neresine eklicez bi t?rl? yapamad?m.
Author: Kaan, Posted: 2010-10-20 19:55 GMT.
Kod:
$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
AND s.fs_id !=3
ORDER by t.ft_updated
DESC LIMIT $plimit");

Bu ?ekilde olucak ve istedi?in katagoriyi yasaklamak i?in ayn? kodu istedi?in kadar kullanabilirsin.
Author: kralmage, Posted: 2010-10-26 19:39 GMT.
te?ekk?r ederim deneyecegim.

Powered by SeditioPrint version