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

Attachment display


Well-known member
I need to find a file in which investments are processed and then displayed in the message.
in vb3 - includes\class_postbit.php function process_attachments
in vb4 - packages/vbattach/attach.php function process_attachments
in xenforo - ??


Well-known member
library/XenForo/ControllerPublic/Attachment.php (viewing of an attachment)
library/XenForo/Model/Attachment.php (contains the DB queries)

For attachment behaviors: library/XenForo/AttachmentHandler/Abstract.php

library/XenForo/AttachmentHandler/Post.php for an example of how to extend the Abstract class. It determines if an attachment can be uploaded.