MyBB Community Forums

Full Version: Post Reply/Preview Post inconsistency handling attachments
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Perhaps this is by design, but the following inconsistency is annoying to my users who are beta-testing MyBB for our forum.

Attachments are handled differently by the "Post Reply" and "Preview Post" buttons. If you add an attachment by clicking "Choose File", and then press "Post Reply" (skipping the "Add Attachment" button), the attachment is automatically uploaded with the post. But if you add an attachment using the "Choose File" button, then click "Preview Post" (skipping the "Add Attachment" button), the attachment is not uploaded, and the field indicating the filepath of the attachment is cleared, requiring the user to "Choose File" a second time.

Suggested solution: Make "Preview Post" upload any un-uploaded attachments just as "Post Reply" does; this would be the most consistent way to handle the cases above.