Discussion in 'XenForo Development Discussions' started by seojoseph, Nov 7, 2013.
there is no ajax or iframe call? How do you capture forum attachments?
What do you mean by capturing the forum attachments?
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
I'm still confused on what you are trying to accomplish.
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.
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.
Separate names with a comma.