Quote:
Originally posted by LightBringer
It looks great NTLDR...
Have you been able to fix it so that unregistered and registered users NOT in a particluar usergroup don't see specific threads from forums they shouldn't have access to in the "Latest Threads" section? I like the ability for users that have access to the private forums, to be able to see them in the Latest Threads, whereas, those that shouldn't can't. 
I'm sure it's just a matter of adding "bbusergroup!=whatever" somewhere...
|
They way it works is it selects all the forumid's from the forumpermission table where canview=0 (ie the user group can't view them) and then in the query it blocks out all the forumids there.
The problem I have just thought of with it is that it may still get threads from child forums if they inherit the permissions of its parent. I'll look into this some more