Okay, try changing the query to:
PHP Code:
$recent_posts = $vbulletin->db->query_read("
SELECT post.*, thread.title, thread.forumid, thread.prefixid, thread.iconid, icon.iconpath, icon.title AS icon_title, phrase.text, forum.title AS forum_title
FROM " . TABLE_PREFIX . "post AS post
INNER JOIN " . TABLE_PREFIX . "thread AS thread
ON thread.threadid = post.threadid
LEFT JOIN " . TABLE_PREFIX . "icon AS icon
ON icon.iconid = thread.iconid
LEFT JOIN " . TABLE_PREFIX . "phrase AS phrase
ON phrase.varname = CONCAT('prefix_', thread.prefixid, '_title_rich')
LEFT JOIN " . TABLE_PREFIX . "forum AS forum
ON forum.forumid = thread.forumid
ORDER BY post.dateline DESC
");