No clean way to get all threads in a forum?
I can't seem to find a function that would allow me to get threadbit data from a given forum.
I was expecting a method like $vbulletin->getThreads($forumId, $userData, $page, etc.) that would return a list of threads that particular user could view - but looking at forumdisplay.php, it seems like there it is just a single straight page, with all queries and user permissions checks happening in that one file.
Right now, it seems like the only possible way to show a thread outside of that one file is to duplicate hundreds of lines of code. Is that legitimately the answer, or is there a simple API method that I've overlooked somewhere?
--------------- Added [DATE]1301604968[/DATE] at [TIME]1301604968[/TIME] ---------------
I looked at ./external.php, the external api thread output, and it is identically functionless, except that it outputs as XML/RSS/JS. Was this code duplication necessary?
|