• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

XF Lightboxed Attachments on Forumhome

Awesome you should release your own add-on in different thread so you can support it in future and keep it going in future also see if you can work around and make it working with Xenporta add-on by Jaxel .
 
Espen: Look forward to seeing your version of this. Linking to threads would be quite useful. Thanks.
 
Quick hack to exclude a specific private forum

PHP:
            $results = $db->fetchAll("
                SELECT attach.*, data.*, user.username
                FROM xf_attachment AS attach
                INNER JOIN xf_attachment_data AS data ON
                    (data.data_id = attach.data_id)
                INNER JOIN xf_user AS user ON
                    (user.user_id = data.user_id)
 
                INNER JOIN xf_post AS post ON
                    (post.post_id = attach.content_id)
 
                INNER JOIN xf_thread AS thread ON
                    (thread.thread_id = post.thread_id)
 
 
                WHERE attach.content_type = 'post' AND thread.node_id != 3
                ORDER BY attach.attachment_id desc LIMIT " . $limit . "
            ");
How do you exclude more than one subforum?
 
waiting.gif


;)
 
Top Bottom