dezemberundjuli
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Mail Attachments don’t work since 5.4.1@takayukister what do you think about the comment above? Will you fix this for the next update? Thanks for your support and great work!
Forum: Plugins
In reply to: [Contact Form 7] Mail Attachments don’t work since 5.4.1Dear Takayuki Miyoshi (@takayukister)
We could meanwhile get CF7 attachments running again. It seems, the latest update has troubles, when the temporary upload folder is placed outside of the WordPress folder.
We had to comment out the following condition in:
wordpress/wp-content/plugins/contact-form-7/includes/mail.php
Line 156 thru 169
if ( ! wpcf7_is_file_path_in_content_dir( $path ) ) {
if ( WP_DEBUG ) {
trigger_error( sprintf(/* translators: %s: Attachment file path. */
__( ‘Failed to attach a file. %s is not in the allowed directory.’,
‘contact-form-7’ ), $path), E_USER_NOTICE );
}
return false;
}May be you can fix this for the next update.
Forum: Plugins
In reply to: [Contact Form 7] Mail Attachments don’t work since 5.4.1Okay, I will build up a clean install for a testing environment next week.
If I understand you correctly, you have in your installations no problems with mailattachments since version 5.4.1? Right? This information would limit the troubleshooting.
Forum: Plugins
In reply to: [Contact Form 7] Mail Attachments don’t work since 5.4.1@takayukister on both sites with the same problem we use the theme ?Create? from Themetrust (one of our favorites on many sites) with SiteOrigin Pagebuilder.
Plugin list from both sites downloadable:
https://dezemberundjuli.ch/Downloads/Pluginlist.zipThanks!
Forum: Plugins
In reply to: [Contact Form 7] Mail Attachments don’t work since 5.4.1@takayukister you can download the Screenshots here:
https://dezemberundjuli.ch/Downloads/Screenshots-CF7.zip
Testing environment:
https://www.dezemberundjuli.ch/testings/testpage-for-testing-mailattachments-cf7/Please notice: No problems with file attachments in emails with version 5.4, with 5.4.1. and 5.4.2 the attachments will not be sent via email.
Thanks!
Forum: Plugins
In reply to: [Contact Form 7] Mail Attachments don’t work since 5.4.1Hi @takayukister, the original website is a non-public site, but i built a testing environment: https://www.dezemberundjuli.ch/testings/testpage-for-testing-mailattachments-cf7/
Mailattachments work with cf7 5.4, wont work with 5.4.1 and 5.4.2 (installed). No matter wether WordPress Version (5.7/5.8).
Thanks a lot!
PatrickForum: Plugins
In reply to: [Opt-Out for Google Analytics (DSGVO / GDPR)] MultilangYes, thats much better ?? Thank you very much for sharing this code!
Forum: Plugins
In reply to: [Opt-Out for Google Analytics (DSGVO / GDPR)] MultilangOk. I did this jQuery to get it work for me:
/* ----------------------------------------------------------------------------------------------------------------------------- */ /* übersetzen des Google Analytics Links auf der Datenschutzseite (=page-id-7730) */ // Text nach dem Laden umschreiben: $('.page-id-7730 .gaoo-link-deactivate').html('Disable Google Analytics'); $('.page-id-7730 .gaoo-link-activate').html('Enable Google Analytics'); // Funktion 'gaoo_handle_optout' nach dem Laden umschreiben, nur auf der englischsprachigen Seite: if ( $('.page-id-7730').length ) { window.gaoo_handle_optout = function() { var data = {"link_deactivate":"Disable Google Analytics","link_activate":"Enable Google Analytics","popup_activate":"Tracking is now enabled. Click the link again to disable it.","popup_deactivate":"Tracking is now disabled. Click the link again to activate it."} var disableStr = 'ga-disable-SET-YOUR-GOOGLE-ANALYTICS-CODE-HERE'; if (document.cookie.indexOf(disableStr + '=true') > -1) { document.cookie = disableStr + '=; expires=Thu, 01 Jan 1970 00:00:01 UTC; path=/'; window[disableStr] = false; if (data.hasOwnProperty('popup_activate')) { alert(data.popup_activate); } var link = document.getElementById('gaoo-link'); link.innerHTML = data.link_deactivate; link.className = link.className.replace(/\b-activate\b/,'-deactivate'); } else { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; window[disableStr] = true; if (data.hasOwnProperty('popup_deactivate')) { alert(data.popup_deactivate); } var link = document.getElementById('gaoo-link'); link.innerHTML = data.link_activate; link.className = link.className.replace(/\b-deactivate\b/,'-activate'); } origHelloWorld(argument); // after your code if you want to call original function } }
- This reply was modified 6 years, 5 months ago by dezemberundjuli.
Forum: Plugins
In reply to: [Opt-Out for Google Analytics (DSGVO / GDPR)] MultilangOk, that make sense. And if I use WPML with Loco Translate for strings? Because the WPML String Translation plugin is sooo slow…
Special Configuration, I know ??
Forum: Plugins
In reply to: [Opt-Out for Google Analytics (DSGVO / GDPR)] MultilangHey Andreas
Thank you for posting the solution. I did the stetps 1-4, but what’s to do next?
Where can I put the translations?