Hi!
This link will show all user posts:
http://question.threads/index.php?search/member&user_id=1
Now how can I dispaly only posts with green diamond icon? Such "diamond" post ids are stored in xf_QT_best_answer table so I can get their ids with this query:
SELECT `xf_post`.`post_id` FROM...