Thread Rating:
  • 17 Vote(s) - 4.35 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyBB Integrator / MyBB SDK (Version 1.3)
I felt like answering Trafalgar's question. Here's the simple/easy way to do it.

// 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.
Reply


Messages In This Thread
RE: MyBB Integrator / MyBB SDK - by x_Stricken_x - 2009-02-01, 11:45 PM
RE: MyBB Integrator / MyBB SDK - by Ryan Gordon - 2009-02-02, 12:27 AM
RE: MyBB Integrator / MyBB SDK - by DougSD - 2009-02-02, 02:55 AM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-02-02, 07:17 AM
RE: MyBB Integrator / MyBB SDK - by JonathanP - 2009-02-02, 03:34 PM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-02-02, 03:55 PM
RE: MyBB Integrator / MyBB SDK - by JonathanP - 2009-02-02, 04:02 PM
RE: MyBB Integrator / MyBB SDK - by DougSD - 2009-02-03, 12:30 AM
RE: MyBB Integrator / MyBB SDK - by okitai - 2009-02-03, 01:16 AM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-02-03, 06:02 AM
RE: MyBB Integrator / MyBB SDK - by x_Stricken_x - 2009-02-03, 08:37 PM
RE: MyBB Integrator / MyBB SDK - by godsdead - 2009-03-25, 07:19 PM
RE: MyBB Integrator / MyBB SDK - by x_Stricken_x - 2009-03-25, 07:22 PM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-03-25, 11:21 PM
RE: MyBB Integrator / MyBB SDK - by PwnEm - 2009-03-26, 03:49 AM
RE: MyBB Integrator / MyBB SDK - by xiaozhu - 2009-03-26, 05:35 PM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-03-26, 07:46 PM
RE: MyBB Integrator / MyBB SDK - by x_Stricken_x - 2009-03-26, 07:47 PM
RE: MyBB Integrator / MyBB SDK - by Lo. - 2009-03-26, 10:41 PM
RE: MyBB Integrator / MyBB SDK - by x_Stricken_x - 2009-03-26, 11:12 PM
RE: MyBB Integrator / MyBB SDK - by seeker - 2009-03-27, 05:42 AM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-03-27, 06:20 AM
RE: MyBB Integrator / MyBB SDK - by seeker - 2009-03-27, 08:33 AM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-03-27, 01:40 PM
RE: MyBB Integrator / MyBB SDK - by seeker - 2009-03-27, 05:38 PM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-03-27, 06:14 PM
RE: MyBB Integrator / MyBB SDK - by seeker - 2009-03-28, 02:57 AM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-03-28, 09:29 AM
RE: MyBB Integrator / MyBB SDK - by laie_techie - 2009-03-28, 10:02 PM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-03-28, 10:09 PM
RE: MyBB Integrator / MyBB SDK - by x_Stricken_x - 2009-03-28, 10:13 PM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-03-29, 10:17 AM
RE: MyBB Integrator / MyBB SDK - by x_Stricken_x - 2009-03-29, 09:59 PM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-03-30, 05:27 AM
RE: MyBB Integrator / MyBB SDK - by No0oB - 2009-03-31, 04:07 PM
Weird errors, need help please - by warrenb - 2009-05-22, 01:38 PM
Cookies.... - by seeker - 2009-07-23, 05:51 PM
RE: MyBB Integrator / MyBB SDK (Version 1.3) - by FlyingMongoose - 2011-05-18, 07:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)