2011-05-18, 07:03 PM
I felt like answering Trafalgar's question. Here's the simple/easy way to do it.
Obviously the output can be modified.
// Following code fetches the latest active threads and shows the thread titles
$latest_active_threads = $MyBBI->getLatestActiveThreads(2, 5, true);
foreach ($latest_active_threads as $latest_active_thread)
{
echo ('<a href="' . $mybb->settings['bburl'] . '/showthread.php?tid=' . $latest_active_thread['tid'] . '">' . $latest_active_thread['subject'] . '</a><br />');
}
Obviously the output can be modified.