Glen Don Mongaya
Forum Replies Created
-
Hello @ventio ,
Thanks for the info.
The
rmdirfunction will remove an empty directory. It seems the ‘wpcf7-files’ directory is not empty, which is why it shows an error.Could you please provide the exact link to the Query Monitor plugin you are using so I can test and fix the issue?
Glen
Hello @hakan6ok ,
Can you try and re-save the drag & drop upload settings?
Also, check if there’s any error.log or debug.log file in your wp-content or public_html folder.
Please let me know.
Glen
Hi @marioski ,
Thanks for letting me know, I can confirm that there’s a bug on the settings.
Additionally, according to the tutorial in your Quick guide, you explain that to send attachments in the email, the shortcode must be placed in “attachments.” However, when we do this, it does not work correctly, and nothing gets attached.
– You will need to uncheck the ‘Send file(s) as link’ option in order to attach files to the email maybe it’s being affected by the current settings which you cannot uncheck this option.I will release a new version to fix the issue ASAP.
The links are generated after the form is submitted.
I’m using this filter to modify the posted_data
add_filter('wpcf7_posted_data', 'dnd_wpcf7_posted_data', 10, 1);
In your case maybe you can handle the submission using javascript, like loop all the values and add a url before the filename.
Here’s some js hooks from contact form 7 – https://contactform7.com/dom-events/
Please let me know.
@jenelevate thanks for letting me know and sorry about that.
Yes, disable auto delete features is still work and available in the free version I only offer in the pro to adjust the time before deletion.
I haven’t included this information in the plugin description because the feature was hidden, but I will probably add it to the FAQ.
Thank You.
Hello @szurofkamarcii
The upload filed doesn’t have any name it only has data-name attributes, you can get the files of “photos” as there’s input type
<input type="hidden" name="photos[]">appended after the successful upload.For example – https://ibb.co/xgMKy12
Please let me know if you need anything else.
Glen
Forum: Plugins
In reply to: [Drag and Drop Multiple File Upload for WooCommerce] url of image hosting@jvf2005 replied you on email, please check.
Hello @jbcavanaugh @jenelevate ,
I’m really sorry, and I’d like to apologize for the issues caused by our plugin in the recent update. It was not our intention to delete files due to the removal of certain options/settings. We were optimizing the settings to improve performance.
The recent changes involve modifying the options table. Instead of retrieving each settings using
get_option(which about 15-20 query), we now use a singleget_optioncall to get all the settings from an array.During the release of version 1.3.7.8, the “Don’t delete files” option was accidentally removed or hidden. In the recent update, we added the option back and did not anticipate that it could affect users’ current settings. You can view the logs here.
Version 1.3.7.9 is a stable release, so any changes you make to the settings will not be overwritten in future updates.
Thanks for your understanding and reported the issue.
Hello @jenelevate
I tried the form and I was able to upload a file without any issues.

Several users have encountered this issue before; it seems like a firewall security issue that could affect users in other countries.
Do you have a security plugin installed on your site?
Glen
Thank you @bosendorfer for the confirmation.
I’ll make sure in the next update that the current settings will not be overwritten.
Hi @bosendorfer ,
Thanks for reaching out, may I know what’s translation plugin you are using so I can check it?
I had to optimize the settings because they were being saved as individual string items in the wp_options table, instead of being saved as a single array.
Your changes after the last update will not be lost on our next release
Glen
- This reply was modified 1 year, 12 months ago by Glen Don Mongaya.
Forum: Plugins
In reply to: [Drag and Drop Multiple File Upload for Contact Form 7] Link upload FileHello @yacine84 ,
Files will be deleted 1-2 hours after submission to save storage space as what I’ve explain on the plugin description here – https://ww.wp.xz.cn/plugins/drag-and-drop-multiple-file-upload-contact-form-7/
All the files will be stored here on this path “/wp-content/uploads/wp_dndcf7_uploads”.
If you want to keep the files use “Send file(s) as link” option under “Contact -> Drag & Drop Upload“settings
Please let me know.
Forum: Plugins
In reply to: [Drag and Drop Multiple File Upload for Contact Form 7] SVG errorHello @simongabaxial ,
Currently WordPress doesn’t allow svg files for security reasons.
However you can add the following code in your theme/child theme functions.php file.
function custom_mime_types($mimes) {
$mimes['svg'] = 'image/svg+xml';
return $mimes;
}
add_filter('upload_mimes', 'custom_mime_types');You will need to be careful on this as some svg file contains malicious code.
Or you can use this plugin – https://ww.wp.xz.cn/plugins/safe-svg/
Thanks.
@krashlab yes cyrillic names with multiple space.
@krashlab Sorry, but I’ve tested it with multiple filename like: документ.txt, изображение.jpg, отчёт.pdf, видео.mp4 etc and I cannot replicate the issue. maybe the issue is related to something else.
I’m willing to help or fix the issue but I cannot see it my end and I’m having a hard time point out the issue, maybe you could try on our demo site here https://www.codedropz.com/contact/ test it and see how it goes.
Or can you also try and add this code in your theme/functions.php file.
add_filter('wpcf7_upload_file_name', 'dnd_cf7_filename', 10, 2 ); function dnd_cf7_filename( $name, $raw_name ) { return $raw_name; }After that, let me know if you still encounter the issue.
Lastly, you can try and use the default file upload of contact form 7 using [file] tag and compared the results.
Thanks.