Add-on A widget that displays the latest posts from a specific thread-

Orit

Active member
I'm Looking for a widget that displays the latest posts from a given thread-
not only the first post from a thread.
I want to loop through the posts of a specific thread (given a thread_id) and display the posts individually in a widget (similar display to latest posts which only shows the first post of the thread.

Thanks!
 
I'm Looking for a widget that displays the latest posts from a given thread-
not only the first post from a thread.
I want to loop through the posts of a specific thread (given a thread_id) and display the posts individually in a widget (similar display to latest posts which only shows the first post of the thread.

Thanks!
DC Style Widgets
 
Sadly this add-on is not what we need, as it displays only the last post of the updated thread...

I wonder why this is not possible as it is a very simple SQL query:
SQL:
SELECT * FROM xf_post WHERE xf_post.thread_id = 936634;

Or, using the finder, I guess the code would be:
PHP:
$finder = $this->finder('XF:Post')
    ->where('thread_id', $id);
 
Back
Top Bottom