1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RM 1.0 Upload Images File Types

Discussion in 'Resource Manager Support' started by SignTorch, Sep 27, 2013.

  1. SignTorch

    SignTorch Active Member

    How might one allow attaching other file types such as pdf to a resource description?

    Without that I'm like :cry: (rolling on the floor crying)...
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Allow it as an attachment type in the options.
     
  3. Russ

    Russ Well-Known Member

    XenForo Resource Manager under Options:

    RM1.png
     
  4. SignTorch

    SignTorch Active Member

    I meant when using Upload Images to add attachments to the resource description

    it appears to be limited to jpg/png/gif images
     
  5. Russ

    Russ Well-Known Member

    I think you're wanting to use it for a different purpose, that button is exactly that... upload images, not upload attachments.

    Possibly give your support to something like this?

    http://xenforo.com/community/threads/multiple-files-upload.46292/
     
  6. SignTorch

    SignTorch Active Member

    the button uploads images as attachments (like normal)

    it can in fact upload other file types as attachments (like normal) depending on $attachmentConstraints['extensions']

    rma.jpg

    but then it only displays attached images (abnormally)

    rma2.jpg

    RM uses attachments differently in a way that is not consistent with the rest of the forum

    I am simply asking if it is possible to get it to behave more normally with respect to attachments
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Only images are permitted in resource descriptions.

    If you want to allow additional file types that is a feature request.
     
  8. SignTorch

    SignTorch Active Member

    k, thanks, I will submit that as a suggestion

    I was able to add more extensions to $attachmentConstraints['extensions'] in model/update.php

    and one if statement in template resource_update just needs an else clause to show the non-image attachment types

    once I find the right template code to put there I will be like :D(y):cool::ROFLMAO::p:whistle:

    XF is the coolest... RM is to....
     

Share This Page