That only handles the inline images.
You'd need to modify download.php to restrict the download action.
<br />## In download.php<br /><br />## Find this:<br /><br /> $user = $userob -> authenticate("U_Groups");<br /><br /><br />## BELOW it, ADD this:<br /><br />if ((!strstr($user['U_Groups'],"-5-")) && (!strstr($user['U_Groups'],"-8-"))) {<br />$html = new html;<br />$html -> not_right("You are not authorized to download.",$Cat);<br />}<br />
Also - looking at the above code for the inline image mod - that'll only work if the user is only in a single group - if they are in multiple groups, we'll want to change that code to this instead:
<br />if (($config['inline_anon'] == "yes") && ( (strstr($Groups,"-5-")) || (strstr($Groups,"-8-")) )) { <br /><br />