Thanks again lee, will change my latestthreads block
Btw, I've found that my portal page only works when I'm logged as a user, if not logged in I get an error loading the page:
Erro de SQL:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '66','61','66','58','62','61').' ORDER BY t.dateline desc LIMIT 5' at line 6
Consulta:
SELECT t.*, t.username AS tusername, u.username, u.avatar, u.usergroup, u.displaygroup, f.name FROM mybb_threads t LEFT JOIN mybb_users u ON (u.uid=t.uid) LEFT JOIN mybb_threadfields_data td ON (td.tid=t.tid) LEFT JOIN mybb_forums f ON (f.fid=t.fid) WHERE t.visible=1 AND td.xtdispportal='Yes' AND t.closed NOT LIKE 'moved|%''. AND t.fid NOT IN ('66','61','66','58','62','61').' ORDER BY t.dateline desc LIMIT 5
Removing custom thread block solves the problem, I've double checked and everything seems to be ok =/