MyBB Community Forums

Full Version: Upload RAR files as attachments
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to upload rar files as attachments?
ACP > Configuration > Attachment Types > Add New Attachment Type > add it here.
Theres no mime type listed for it though:
http://www.webmaster-toolkit.com/mime-types.shtml

Do i just put .rar as the mime type?

EDIT: I put the mime type as .rar and it works.
The actual mimetype is application/x-rar-compressed
Oh thanks, I was rushing earlier. I cant seem to get the image working for it though. I have the image directory set to images/attachtypes/ and i downloaded the tar image and just renamed it to rar, but it does not show up. Any ideas what I did wrong? :s

EDIT: Sorry for some reason I was thinking it picked up the image name automatically based on the extension type. Did not notice you had to put it manually.