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

How are forum attachments called?

Discussion in 'XenForo Development Discussions' started by seojoseph, Nov 7, 2013.

  1. seojoseph

    seojoseph Member

    there is no ajax or iframe call? How do you capture forum attachments?
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    What do you mean by capturing the forum attachments?
     
  3. seojoseph

    seojoseph Member

    whenever a new thread or reply is made, check to see if attachments, upon redirection or ajax update, send flag to trigger "export images?" with the post id
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    I'm still confused on what you are trying to accomplish.
     
  5. seojoseph

    seojoseph Member

    We have a game on the site. Visitors can compare two pictures side-by-side and vote. However; when someone starts a new thread or comment and it has a image, it will ask if they want to include that into our game. However, where can you hook into the action to grab the attachments? There is no ajax or iframe call in the template.
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    You can fetch images from xf_attachment. I believe there is a datawriter you could hook into, but I do not have the code in front of me.
     
    seojoseph likes this.
  7. seojoseph

    seojoseph Member

    Thanks!
     

Share This Page