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

Attachment display

mizter1nho

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

Lawrence

Well-known member
#2
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.