• 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Steve Taylor

    (@gyrus)

    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

    (@gyrus)

    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.