Hi,
I`m not good with sql queries, and I`ve been battling this for weeks without getting much of a result..
When a weblog post is posted, a forum post is automatically created with a module I found here on the forum.
What I want is to show the last x forum posts in the forum thread associated with the weblog article.
I need the post date, author and body.
I have managed to pull out the body with this:
{exp:query sql="SELECT body AS body1, author_id FROM exp_forum_posts WHERE topic_id = '{forum_topic_id}' ORDER BY post_date"}
{body1}
{/exp:query}Now I need help to get the post date and author name?
Anyone?