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

XF 1.5 Attachment display as full size.

Discussion in 'XenForo Questions and Support' started by Irfan, Feb 29, 2016.

  1. Irfan

    Irfan Member

    Dear team ! I am a non technical person. We have a large number of attachments on our forum which has recently been imported. How do I make the code change for full size attachments? I have no idea how to run a SQL query. Can you guide me step to step ?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Code:
    UPDATE xf_post SET message = REPLACE(message,'[ATTACH]','[ATTACH=full]');
    Take a backup of the xf_post table before running any queries.
     
  3. Irfan

    Irfan Member

    How do you run the query?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Using phpMyAdmin.
     
  5. Irfan

    Irfan Member

    What do I type? (I am a non technical person). I will appreciate step to step instructions.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    If you are unsure how to run a query in PMA then I would suggest contacting your host or sysadmin as you can cause damage to your installation.

    The first thing you should do is take a backup.
     
  7. AndyB

    AndyB Well-Known Member

  8. Irfan

    Irfan Member

    SQL query did not work. What other settings I have to change?
     
  9. Irfan

    Irfan Member

    Our members attach files from thier computer hard drive and usually do not insert them.
     

Share This Page