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

Attachment display

Discussion in 'XenForo Development Discussions' started by mizter1nho, Oct 16, 2010.

  1. mizter1nho

    mizter1nho 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 - ??
  2. Lawrence

    Lawrence 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.
    mizter1nho likes this.

Share This Page