I did it this way:
Code:
WHERE postuserid = '$userinfo[userid]' AND (forumid=1 OR forumid=2 OR forumid=3 OR forumid=4 OR forumid=5) AND visible='1'
"visible='1'" because you don't want to list soft-deleted or invisible threads.
You don't need
Code:
$forumids = implode ("', '", get_noaccess_forumids()) ;
then. And you don't need to change includes/functions_misc.php then as well (if you have no restricted forums in the list you want to show).
I'm sure there is a better way, eg put it in $forumids, but this works too.
Now all I need is to list the forum-name too and I'm satisfied

.