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

Attachment Browser in ACP

Discussion in 'XenForo Questions and Support' started by Igor Ljesevic, Oct 21, 2011.

  1. Igor Ljesevic

    Igor Ljesevic Member

    I was wondering, is there any way to make attachment browser in acp show files by type? Like all zip files or all rar files or group them jpg,jpg....jpg....png,png,png,avi,avi
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There is no such option.

    You can query the database to select a specific file extension:

    Code:
    SELECT *
    FROM xf_attachment_data
    WHERE filename LIKE '%.jpg';
    
    But this might not be useful to you depending on what you want to do with those attachments.
     
  3. Igor Ljesevic

    Igor Ljesevic Member

    I know what one, but im asking is there way to add this to attachment browser show only jpg files like it show attachments from personal conversations or boards
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That requires an addon. If you post an Add-on Request then some one may be able to write this for you.
     

Share This Page