OK - Use that Mod Coy pointed you to.
Then find out the group number that you want to allow into chat. Do the SQL Query:
SELECT *
FROM w3t_Groups
if you don't already know the group number. For this example, I'll use group #5. We'll also Allow Admins & Mods in.
Then below the authenticate function..... do this:
<br />if ((!strstr($user['U_Groups'], '-5-')) || (!$user['U_Status'] == "Administrator") ||(!$user['U_Status'] == "Moderator")) {<br /> $html = new html;<br /> $html = not_right('You are not Authorized to Use Chat',$Cat);<br />}<br />That should do the trick.
