Anybody what?
If you are trying to make it for all staff, change the "and" to "&&"...
That should make it work...
PHP Code:
if (($maxattachsize!=0 and $filesize>$maxattachsize and $bbuserinfo[usergroupid]!=6) && ($bbuserinfo[usergroupid]!=5)) {
// too big!
eval("standarderror(\"".gettemplate("error_attachtoobig")."\");");
exit;
}
if (($filesize!=$attachment_size and $bbuserinfo[usergroupid]!=6) && ($bbuserinfo[usergroupid]!=5)) {
I just noticed something else...
You didnt close the brackets, which made the parse error...
Satan