Dorfpixel Webdesign Werbeagentur
Forum Replies Created
-
Same here. WP Version 4.9.4 plus CF7 Formulars will not send with activated Send PDF for Contact Form 7 Plugin.
Forum: Plugins
In reply to: [Simple Contact form 7 Wizard Multisteps Form] Translation de_DEThanks a lot!
We’re getting errors too.
Fatal error: Call to a member function getElemntsByTagName() on null in … /email-before-download/includes/class-email-before-download-form.php on line 33
Shortcode Example: [email-download download_id=”1180″ contact_form_id=”1066″]
Wordpress: Version 4.9.2
CF7: Version 4.9.2
Download Monitor: Version 4.0.1
E-Mail before Download Version 5.0.4- This reply was modified 8 years, 4 months ago by Dorfpixel Webdesign Werbeagentur.
Thx for your reply. I read the instructions and I think, I did everything the right way, but for example the subscribe-button has the value “subscribe” and not “absenden” like in the po file.
Forum: Plugins
In reply to: [Dynamic Select for Contact Form 7] Allow multiple selections not working?Thank you. This helped me 🙂
Forum: Plugins
In reply to: [Featured Video Plus] Navbar is behind featured videoOkay, I had to “hack” the plugin:
Added $args[‘wmode’] = ‘transparent’; on line 92 in class-oembed.phpForum: Plugins
In reply to: [Featured Video Plus] Navbar is behind featured videoI already tried to “play” with z-index and it didn’t work. Any other suggestions?
Forum: Plugins
In reply to: [Contact Form 7] If statement in mailsThanks for your reply. I found this Plugin: Contact Form 7 Mail Conditions. Unfortunately it is not working and I am not into plugin developing, but it seems to be a good approach. Maybe somebody sees the error, why it is not working?
define('WPCF7MC_EXPRESSION', 0); define('WPCF7MC_VARIABLE', 1); define('WPCF7MC_VALUE', 2); class Contact_Form_7_Mail_Conditions { public function __construct($regexp = '/\[if\s+(\S+?)\](.*?)\[\/if\]/') { $this->init_action(); $this->regexp = $regexp; } public function before_send_mail(&$cf7) { $mail_body = $cf7->mail['body']; $cf7->mail['body'] = $this->process_conditions($cf7, $cf7->mail['body']); $cf7->mail_2['body'] = $this->process_conditions($cf7, $cf7->mail_2['body']); } private function process_conditions(&$cf7, $mail_body) { $updated_email_body = $mail_body; $matches = array(); $num_matches = preg_match_all($this->regexp, $mail_body, $matches); for ($i=0; $i < $num_matches; $i++) { $expression = $matches[WPCF7MC_EXPRESSION][$i]; $variable = $matches[WPCF7MC_VARIABLE][$i]; $value = $matches[WPCF7MC_VALUE][$i]; if (empty($cf7->posted_data[$variable]) and array_key_exists($variable, $cf7->posted_data)) { $updated_email_body = str_replace($expression, '', $updated_email_body); } else { $updated_email_body = str_replace($expression, $value, $updated_email_body); } } $updated_email_body .= ' lorem ipsum'; return $updated_email_body; } private function init_action() { if (function_exists('add_action')) add_action("wpcf7_before_send_mail", array($this, 'before_send_mail')); } } new Contact_Form_7_Mail_Conditions;