Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Full Content of Most Recent Post on Front-Page?

sorry Null .. but this is the core code.. that will give you the topics..

you will have to write a loop to display the topics eg:

$forum_id = 1;

$forum_one_topics = $bbdb->get_results("SELECT * FROM $bbdb->topics WHERE forum_id = $forum_id ORDER BY topic_time DESC LIMIT 0,10")

foreach($forum_one_topics as $topic) :

?>

<a href="<?php topic_link(); ?>"><?php topic_title(); ?></a>

<?php

endforeach;

again: i warn watch where you put it. there are a lot of global variables. dont put in place where you are displaying other topics and stuff

Skip to toolbar