Steve Taylor on "[Plugin: Download Monitor] integration with Comment Attachment"

ساخت وبلاگ

I'm wanting to use the plugin Comment Attachment, to handle users adding files to Idea. 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/

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.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 219 تاريخ : شنبه 1 خرداد 1395 ساعت: 16:46