This section in adduser.php seems to be where it decides permissions to post attachments? Yes? No?
// -------------------------------------------------------------------------
// If we are allowing file attachments and we are dealing with a Mozilla 4+
// browser then we let them attach files. Also we need to make sure they
// are not posting as Anon.
if( ($Attach == "On") && ($Reged == "y")) {
$attachfile = "<br /><br />{$ubbt_lang['YES_FILE2']}";
$fileinput ="<input type="file" name="userfile" accept="*" class="formboxes" size="60" />";
}
This line:
if( ($Attach == "On") && ($Reged == "y"))
Im not sure how to do it, but adding more arguements to it will do it right?
Like if it said "if attach is on, and reged is yes, AND group is 5 OR 6 OR 7 OR 8" then it is allowed???
Can someone who knows php more than me make/modify that line of code so I can try it?
Will it work the way I think it will, only allowing users in those groups to post attachments?
It looks like the same if/then line I am asking for help on might need to be added/edited to other parts of this mod too, whereever it says the if reg'd and attach=on?
This would be great for you guys out there like myself who run donation/supporter software for supporting members.
Deej