nevermind I suck... If I knew anything about programming for databases this would have been easier for me. All I did was change the code:
|
Code:
|
$result1 = sql_query("SELECT topic_id, topic_last_post_id, topic_title FROM ".$prefix."_bbtopics ORDER BY topic_last_post_id DESC LIMIT 10", $dbi); |
to
|
Code:
|
$result1 = sql_query("SELECT topic_id, topic_last_post_id, topic_title FROM ".$prefix."_bbtopics where forum_id=1 ORDER BY topic_last_post_id DESC LIMIT 10", $dbi); |
obviously forum_id=(whatever forum you want displayed)