Glen Don Mongaya
Forum Replies Created
-
Hello @karlosuccess ,
I’m glad you liked the plugin.
To display the file links on separate lines, please enable “Send Attachment as Links?” under “Contact → Drag & Drop Upload.” Note that no files will be attached to the email – only the links will be included.Please let me know if you have any other question.
Thanks @redspur for pointing this out, it really helps the plugin improve.
I noticed that I couldn’t find the settings and realized that it’s a different plugin. Could you please move the topic here? https://ww.wp.xz.cn/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/
This topic is for “Drag & Drop File Upload for WooCommerce” plugin.
Thanks.
Hello,
You can get the uploaded files using below:
// Adjust the priority to 60 since our plugin is currently using 30.
add_action('wpcf7_before_send_mail','custom_cf7_before_send_mail', 60, 1);
function custom_cf7_before_send_mail( $wpcf7 ) {
$submission = WPCF7_Submission::get_instance();
$data = $submission->get_posted_data();
$upload_field = 'upload-file-xxx'; // your upload name here...
if ( isset( $data[$upload_field] ) ) {
$files = $data[$upload_field];
print_r($files);
}
}Please let me know if this is working on your end.
Thanks @nicolaettore I really appreciate it 🙂
Hi @dgoehr ,
Thanks for reaching out.
I agree with this and will add proper enqueue of javascript for the cookie generation.Glen
Hello @codeworkswp ,
Thanks for reaching out.
Could you please provide a screenshot of you settings ? under “Contact -> Drag & Drop Upload”.
Also, try to clear your cache & cookie in your browser or try incognito mode.May I know the total size of the attachments that failed to attached is it large file beyond 20MB or a small file?
I’ve checked on different server and I can’t seem replicate the issue. What are the active plugins that’s related to contact form 7?
Please let me know.
Thank You.
Forum: Plugins
In reply to: [Drag and Drop Multiple File Upload for Contact Form 7] Security issueHello,
Thanks for reaching out.
We’ve released a new version that includes security fixes. Please update to the latest version (v1.3.9.3).
You can also see the Solutions section at the bottom https://snipboard.io/ETXwDK.jpg suggested to update the plugin.
Thank You.
Thanks, could you check if there’s any error.log file or debug.log file in “public_html” or inside “wp-content” folder? and email me the log file [email protected].
Hello @csbeckart ,
Thanks for reaching out.
Can you try and upload jpeg or jpg file in your Dashboard->WordPress media library and see if it’s working?Also what changes you’ve made before you noticed the issue, maybe there’s a new plugin installed or configuration changes.
Please let me know.Hello @davidecho ,
I’m currently investigating and was able to installed the google drive integration plugin however when I tested it in my server it doesn’t have any issues.
Can you please provide the following screenshots or details.
1. What plugin Integrations are enable in Google Drive -> Settings -> Integrations?
2. Provide a screenshot of your Contact Form 7 Mail tab settings where the drag & drop file upload field is added.
3. A screenshot of the email confirmation message showing the Google Drive link
4. Is there any plugin or add-on related to Contact Form 7?Please let me know.
The “of” text are not included on the settings however you can translate it using several plugins translations like wpml or Loco Translate.
Just search for this slug “drag-and-drop-multiple-file-upload-contact-form-7”.
Please let me know if you have any question.
Hi @mstudioil ,
Thanks for reaching out.
The files will be attached to the email so even if it’s deleted on the server after 1 hour, they can still download the files through email attachments.
You can also disable the auto delete by going to Contact -> Drag & Drop -> then check “Don’t delete files“.
Please let me know if you have any other concern.
Thanks @davidecho , I received the file.
It’s currently on my todo’s list as I’m currently working on an updates from my other plugin.
Thanks for debugging @adsim
sanitize filename function only removing special characters, trim and replace spaces with dash.
Instead of using
sanitize_filename, can you try replacing it withsanitize_title? If it works on your end, I can update my plugin accordingly.Thanks @adsim the dot (.) can be found in the path response after the upload as you can see here – https://snipboard.io/2dqY8O.jpg
Your upload settings look okay. There might be a conflict with another custom script or plugin, or it could be related to the server settings.