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
$threads = $threadModel->getThreadsByIds( $threadIds, array( 'join' => XenForo_Model_Thread::FETCH_FORUM | XenForo_Model_Thread::FETCH_USER, 'permissionCombinationId' => $visitor['permission_combination_id'] ) );
Someone can tell me what to do now?
Thank you and best regards.