Title: integration with Comment Attachment
Last modified: August 31, 2016

---

# integration with Comment Attachment

 *  Resolved [Steve Taylor](https://wordpress.org/support/users/gyrus/)
 * (@gyrus)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/integration-with-comment-attachment/)
 * I’m wanting to use the plugin Comment Attachment, to handle users adding files
   to comments. The problem is it’s a members-only site, and I’m using DLM to make
   sure all downloads are protected. The Comment Attachment plugin uses the standard`
   media_handle_upload()` function, so the file goes into the uploads root, and 
   isn’t protected.
 * Has anyone tried to integrated these two plugins? If not, is there a way to hijack`
   media_handle_upload()` calls to route uploads into the DLM system? Or maybe there’s
   another plugin that handles comment attachments which does integrate with DLM?
 * [https://wordpress.org/plugins/download-monitor/](https://wordpress.org/plugins/download-monitor/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Steve Taylor](https://wordpress.org/support/users/gyrus/)
 * (@gyrus)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/integration-with-comment-attachment/#post-7394225)
 * So, it looks like I need to do this type of integration with Gravity Forms as
   well. There’s an option for a file to be uploaded with forms, and I want those
   files to be forced to be members-only DLM files. In conjunction with the requirement
   to integrate with Comment Attachment (above) as well, it looks like the best 
   route is to try and globally re-route ALL uploads to be DLM files. Before I get
   my hands dirty, are you aware of this kind of work already being done? I can’t
   find a plugin searching. If not, do you have any hints about the best place to
   start with this kind of modification? Thanks.
 *  Thread Starter [Steve Taylor](https://wordpress.org/support/users/gyrus/)
 * (@gyrus)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/integration-with-comment-attachment/#post-7394281)
 * I’m getting close to the launch date for my project and I’ve still not found 
   an obvious way forward with this. Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘integration with Comment Attachment’ is closed to new replies.

 * ![](https://ps.w.org/download-monitor/assets/icon-256x256.png?rev=3198936)
 * [Download Monitor](https://wordpress.org/plugins/download-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/download-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/download-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/download-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-monitor/reviews/)

## Tags

 * [protection](https://wordpress.org/support/topic-tag/protection/)

 * 2 replies
 * 1 participant
 * Last reply from: [Steve Taylor](https://wordpress.org/support/users/gyrus/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/integration-with-comment-attachment/#post-7394281)
 * Status: resolved