»Forumlar »SE ? Plugins »son forum konularına engel
  https://seditio.com.tr/eski1/forums.php?m=posts&q=638
          Geri Dön      -      Sayfayı Yazdırmak için tıklayın
Author: TheRaskol, Posted: 2010-05-01 03:30 GMT.
Merhaba

recentitems eklentisini kullan?yorum.
Ama son forum konular?nda fs_id'si 30 olan (yani forumda bir kategori) kategori alt?nda a??lan konular?n son forum konular?nda g?r?nmemesini istiyorum a?a??daki ?ekilde yapt?m ama olmuyor.

Kod:
function sed_get_latesttopics($limit, $mask)
{
global $L, $db_forum_topics, $db_forum_sections, $usr, $cfg, $skin, $plu_empty;

$sql = sed_sql_query("SELECT t.ft_id, t.ft_sectionid, t.ft_title, t.ft_updated, t.ft_postcount, 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 fs_id !='30' ///// Buras?n? de?i?tirdim.
ORDER by t.ft_updated DESC LIMIT $limit");


Yard?m ederseniz sevinirim.
?yi ?al??malar...
Author: Azerbaycan, Posted: 2010-05-04 15:12 GMT.
1sey anlamadim...30dan fazla konu gozukmesin diyorsun yani??

id=30 yap..dogru anladiysamtabi))
Author: Kaan, Posted: 2010-05-04 20:24 GMT. This post was edited by Kaan (2010-05-12 02:03 GMT, 5977 Gün ago)
Anlamad?g?n konuya yorum yapma..
Bu konu Hakk?nda daha sonra cevap vericem..
Author: TheRaskol, Posted: 2010-05-16 17:43 GMT.
kaan bu konuyla ilgilendin mi acaba?

te?ekk?rler
Author: TRouBLeSHooTeR, Posted: 2010-05-18 18:29 GMT.
dostum i? yerindeyim,verdi?in kodlara g?re yazd?m.test etmedim.bak bakal?m.Do?ru olmas? laz?m..
?al???p ?al??mad??? halde bilgi verirsen sevinirim.

Kod:
function sed_get_latesttopics($limit, $mask)
{
global $L, $db_forum_topics, $db_forum_sections, $usr, $cfg, $skin, $plu_empty;

$sql = sed_sql_query("SELECT t.ft_id, t.ft_sectionid, t.ft_title, t.ft_updated, t.ft_postcount, 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 !=30
ORDER by t.ft_updated DESC LIMIT $limit");
Author: TheRaskol, Posted: 2010-05-19 05:03 GMT.
te?ekk?rler ^^'

Powered by SeditioPrint version