The code to define who is on the site is in the index.php page around line 429 where it says "// ### LOGGED IN USERS #######" down to where it says "// ### MAX LOGGEDIN USERS #######" You want to use that query ($forumusers) and then add in a where statement - user.usergroupid IN ('x','y','z') . I'm sure you can get rid of the stuff regarding the Guests since the query should only result in Staff members. But, I'd try that out on a test page with the whole code and then get rid of the stuff you don't think you need afterward.
|