RSS Feed/News Incorrect phrasing for attachment size limits

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,693
Points
823

Reputation:

Provide the maximum attachment file size in kilobytes (KB)
Click to expand...
You should also provide the maximum video file size in kilobytes (KB).
Click to expand...
Those phrases do not seem to be correct.

According to the code in
\XF\Repository\Attachment::getDefaultAttachmentConstraints() and \XF\Repository\Attachment ::applyVideoAttachmentConstraints()
the values entered for thoes options are multiplied by 1024 so entering 10000 does result in allowing files up to 10240000 bytes = 10000...

Read more

Continue reading...
 
Status
Not open for further replies.
Top