Hmmm...
I am also running 2.2.5...
Try this :
PHP Code:
if (($maxattachsize!=0 and $filesize>$maxattachsize and ($bbuserinfo[usergroupid]!=6) OR ($bbuserinfo[usergroupid]!=5)) {
// too big!
eval("standarderror(\"".gettemplate("error_attachtoobig")."\");");
exit;
}
if (($filesize!=$attachment_size and ($bbuserinfo[usergroupid]!=6) OR ($bbuserinfo[usergroupid]!=5)) {
It probably wont work, but give it a try...
Strange...Maybe our vB just doesnt like many hacks...
Satan