Unless I'm missing something, this wasn't as difficult as I thought it would be.
I added this in a
newattachment_start hook:
PHP Code:
if (in_array($foruminfo['forumid'], array(7, 15, 22)))
{
$vbulletin->userinfo['attachmentpermissions']['rar']['size'] = 104857600;
$vbulletin->userinfo['attachmentpermissions']['zip']['size'] = 104857600;
}
This seems to work to override the forum default permissions on
.RAR &
.ZIP files.
Thanks,
James