2017-09-24, 07:25 PM
I think you need this plugin https://community.mybb.com/mods.php?action=view&pid=191
Or i have not tested . Try changing 'AND t.firstpost= p.pid' from portal.php from following code
Or i have not tested . Try changing 'AND t.firstpost= p.pid' from portal.php from following code
$query = $db->query("
SELECT p.pid, p.message, p.tid, p.smilieoff, t.attachmentcount
FROM ".TABLE_PREFIX."posts p
LEFT JOIN ".TABLE_PREFIX."threads t ON (t.tid=p.tid)
WHERE t.visible='1'{$annfidswhere}{$tunviewwhere} AND t.closed NOT LIKE 'moved|%' AND t.firstpost=p.pid
ORDER BY t.dateline DESC
LIMIT {$start}, {$numannouncements}"
);