Hallo,
um auch Admins und Moderatoren an das Limit zu binden ist nur eine kleine Änderung nötig.
ÖFFNE
includes/functions_posting.php
FINDE:
Code: Alles auswählen
// Check Image Size, if it is an image
if (!$auth->acl_get('a_') && !$auth->acl_get('m_', $forum_id) && $cat_id == ATTACHMENT_CATEGORY_IMAGE)
{
$file->upload->set_allowed_dimensions(0, 0, $config['img_max_width'], $config['img_max_height']);
}
ERSETZE MIT:
Code: Alles auswählen
// Check Image Size, if it is an image
if ($cat_id == ATTACHMENT_CATEGORY_IMAGE)
{
$file->upload->set_allowed_dimensions(0, 0, $config['img_max_width'], $config['img_max_height']);
}