For the news posts to show regardless of permissions see
this post
For the latest threads find:
PHP Code:
AND forumid NOT IN (".iif(is_numeric($vbindex[newsfid]), "$vbindex[newsfid],").implode(',', $limitfids).")
And remove it.
[high]THIS WILL SHOW ALL POSTS REGARDLESS OF PERMISSIONS/LIMITED FORUMIDS TO EVERYONE[/high]
Alternativly, the following should work and would be better find:
PHP Code:
foreach($forumcache AS $forum) {
Add before:
PHP Code:
if ($bbuserinfo['userid']) {
Find:
Add after:
This will use normal permissions for users logged in and will ignore permissions for those users who are logged out. With this method you can enter the forums you want to hide in the vBindex Options and they will be excluded from everyone.