localhost8080
Well-known member
Hello.
I've setup a page element with a callback class.
There, I do a custom sql to search for threads.
I have a threadIds array with all threads I need. Also I have the threads in memory by using
Now, I want to display them like a forum list.
Someone can tell me what to do now?
Thank you and best regards.
I've setup a page element with a callback class.
There, I do a custom sql to search for threads.
I have a threadIds array with all threads I need. Also I have the threads in memory by using
Code:
$threads = $threadModel->getThreadsByIds(
$threadIds,
array(
'join' =>
XenForo_Model_Thread::FETCH_FORUM |
XenForo_Model_Thread::FETCH_USER,
'permissionCombinationId' => $visitor['permission_combination_id']
)
);
Now, I want to display them like a forum list.
Someone can tell me what to do now?
Thank you and best regards.