Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


so1o
Participant

@so1o

you can use this

$topics = get_latest_topics( $forum_id);

but this will give you number of topics/page that you set in your config

to get just 10 topics from the forum

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

Skip to toolbar