CMTV
Well-known member
Hi!
This link will show all user posts:
Now how can I dispaly only posts with green diamond icon? Such "diamond" post ids are stored in
The problem is: How to show only "diamond" posts in search results page?
This link will show all user posts:
Code:
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:
SQL:
SELECT `xf_post`.`post_id` FROM `xf_post` INNER JOIN `xf_QT_best_answer` ON `xf_post`.`post_id` = `xf_QT_best_answer`.`post_id` WHERE `xf_post`.`user_id` = ?
The problem is: How to show only "diamond" posts in search results page?
Last edited: