Announcement

Collapse
No announcement yet.

Attachment rename after editing post!?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Attachment rename after editing post!?

    When i upload an attachment (for example "test.rar") and add it to the post all is ok. There is no prewiew at the topic footer. But if i edit the post and safe it the attachment is renamed to (for example) "img-36.rar".... and it will be schow a preview of the attachment at the end of the post... what's wrong? Can i deactivate the preview? Why change the name??

  • #2
    It shouldn't change the name. It shouldn't show a preview for a rar file since it isn't an image. What do you have the mime type for rar files set to?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


    • #3
      The mime type i dont touch... standart "Content-type: unknown/unknown" is the mime.

      Comment


      • #4
        You need a valid mime type when you add a new type of attachment. Otherwise the system doesn't know how to deal with your attachment.

        For RAR it should be "application/x-rar-compressed"

        You can look up the mime types for other document types here: https://www.freeformatter.com/mime-types-list.html
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment


        • #5
          Thanks a lot! This was the solution.

          Comment

          Working...
          X