TheRaskol |
|
---|---|
Merhaba;
Son forum konuları eklentisi kullanıyorum. Fakat bir değişiklik yapıp fs_id = 30 (forumda bir kategori) olanı son forum konularında göstermek istemiyorum. Aşağıdaki şekilde bir function düşündüm fakat olmadı. 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"); Teşekkür ederim. https://www.uo-developer.com
|