== Double Opt-In (Avada, Contact Form 7) - GDPR Ready == Contributors: forge12 Tags: Contact Form 7, Double OptIn Requires at least: Tested up to: 6.6.1 Requires PHP: >=7.0 Stable tag: 3.0.2 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html Easily enable a Double-Opt-In System for your Contact Form 7 and Avada Forms. == Description == **Double Opt-In - BEST OPT IN PLUGIN FOR CONTACT FORM 7, AVADA AND ELEMENTOR**. Easily enable and use a double opt-in system for your Contact Form 7, Avada Forms and Elementor Forms. This will ensure that the e-mail accounts of the submitters are valid. It will also store all relevant information for GDPR. The Double Opt-In System can be enabled manually for each Contact Form 7 Form, Avada Form and Elementor Form. > Did you find this plugin helpful? Please consider [leaving a 5-star review](http://wordpress.org/support/view/plugin-reviews/captcha-for-contact-form-7). = Learn how to use the Double-Opt-In Plugin = [Quick Guide](https://www.forge12.com/blog/so-verwendest-du-das-double-opt-in-fuer-contact-form-7/) = ⭐ Features ⭐ = * Double Opt-in for Elementor (Pro) * Double Opt-In for Avada Forms * Double Opt-In for Contact Form 7 * Double Opt-Out System (Pro) * One-Click Export (Pro) * Supports Google reCAPTCHA * Supports Contact Form 7 Captcha by Forge12 Interactive GmbH * Store all relevant Information (Form IDs, E-Mail, Registration Date, Confirmation Date, Form Fields, the used Form and the Opt-In Mail). * Individual Opt-In Links for each submit. * Set the time period to automatically delete confirmed or unconfirmed opt-ins. * Use Predefined Templates for the Opt-In Mail, or create your own. * Use custom form fields within the opt-in mail to personalize the output. * Regular Mails will be sent after opt-in confirmation. * Partially supports Conditional Fields for Contact Form 7 * Dynamic Condition: Allows you to enable the opt-in dynamically if the User activates/sets a given field. * Redirect to your custom confirmation page after the opt-in has been sent to the user. * Fully customize the opt-in Mail. = ⭐ Unique Features of Double Opt-In Pro ⭐ = * Double Opt-Out System - Create unique opt-out Links which will allow your customers to opt-out from each opt-in individually. * Easily export all of your Opt-Ins as CSV File * Automatically create users after opt-in with predefined user roles * Support for Elementor Forms === Installation === 1. Upload the plugin to the "/wp-content/plugins/" directory. 1. Activate the plugin through the "Plugins" menu on WordPress. 1. Edit the contact form you want to add the double opt-in System. === Update the plugin === 1. Please disable the plugin once and reactivate it. This will add the missing database columns. If you have any further questions, do not hesitate to ask. == Changelog == = 1.0 = * Initial commit = 1.1 = * Bug fix - Fixed a bug interrupting the enable/disable the function after enabling the double opt-in. * Compatibility - Updated the compatibility to Contact Form 7 5.4 = 1.2 = * Feature - You can now define the page the people will be redirected to after clicking the confirmation link for the double opt-in. = 1.3 = * Added registration IP and confirmation IP to the database table. * Added the protocol page within tools -> forge12 double-opt-in storing the ID, form ID, content, confirmation, registration date, confirmation date, registration IP and confirmation IP for each double opt-in. * Added a WordPress cronjob, removing all unconfirmed opt ins older than 7 days. * Added a deactivation hook which will delete the confirmation table from the database and the cronjob. = 1.3.1 = * Resolved a problem not saving the double opt-in page. = 1.3.2 = * Changed create time/update time to var char * Store timestamp in database instead of the date * Fixed a bug not updating the times correct = 1.3.3 = * Fixed a bug not allowing to change the sender of the Opt-In mail = 1.3.4 = * Fixed a bug on saving the Opt-In form = 1.3.5 = * Uploaded files are now stored until the opt-in has been confirmed. = 1.3.51 = * Fixed a bug causing the double opt-in not to save. = 1.4 = * Added Update function within WordPress. = 1.4.1 = * Updated Plugin URL = 1.4.2 = * Added Plugin UI * Fixed a bug within the License System * Added Popup with details for Opt-ins containing additional information and cleaner interface for form fields. = 1.4.3 = * Bug fix - Fixed an error causing warnings to display even if debug mode was disabled. = 1.4.4 = * Bug fix - Updated Deregister of License to use it on another site. = 1.4.5 = * Ob Cache error fixed = 1.5 = * Added option to export all opt-ins as CSV File. * Added option to export single opt-ins as CSV File. = 1.5.1 = * Added a settings page allowing to customize the period of time the opt-ins are stored in the database. * Added the options to clean the database manually for confirmed, unconfirmed or all opt-ins. * Added the delete option for every DOI within the popup window. * Fixed a bug displaying the form fields wrong in the popup window. = 1.5.2 = * Added button to delete all Opt-Ins without filter check. = 1.5.3 = * Bug fix - Resolved an Issue throwing an error after the form of a given opt in has been deleted. = 1.5.4 = * Added three new hooks 'f12_cf7_doubleoptin_after_confirm' and 'f12_cf7_doubleoptin_confirm_failed' and 'f12_cf7_doubleoptin_already_confirmed' = 1.5.5 = * Added a custom class for Opt Ins to allow external developers to adjust the opt ins. * Rearranged code to make it more usable for external developers. = 1.5.6 = * Fix: Fixed an error stopping the deletion to working. * Fix: Fixed several security issues. = 1.5.7 = * New: Added Conditional Fields support. = 1.5.8 = * Fix: Hotfix validation of Double-Opt-In = 1.5.9 = * New: Added descriptions for the contact form 7 opt-in fields. = 1.6 = * New: Added Opt-In Templates to the CF7 Opt-In Forms. * New: Added dynamic condition to the CF7 Opt-In Forms. = 1.6.1 = * Fix: Fixed a bug causing the [doubleoptinlink] not to be parsed correctly. * New: The Plugin will now check for new updates if the user forces the update check by WordPress. = 1.6.2 = * Fix: Fixed a bug causing the license not to display the "valid until" screen even if the license was valid. = 1.6.4 = * New: Added 2 additional hooks 'f12_cf7_doubleoptin_send_default_mail' and 'f12_cf7_doubleoptin_sent' = 1.6.5 = * New: Added Captcha for Contact Form 7 compatibility * New: Fixed a bug on the latest opt-ins view pagination * New: Added Avada DOI Support, Attachments are not supported yet. = 1.6.6 = * Update: code optimizations * Fix: Fixed a bug verifying the Type of CF7 used for sending the Opt-In Mail. * New: Added the filter hooks f12_cf7_doubleoptin_files_mail_1 & f12_cf7_doubleoptin_files_mail_2 which will allow you to define if it should send the attachments to mail1 or / and mail2. = 1.6.7 = * Fix: Updated License System. = 1.6.8 = * Fix: Resolved an issue with the Avada Form Metadata. = 1.6.9 = * Update: Changed the Export function to support large files. = 1.7 = * Update: Updated Conditional Forms to allow Conditional Tags within the Opt-In Mail * New: Added a new WordPress Filter that allows to manipulate the Opt-In Body before sending (f12_cf7_doubleoptin_body); * New: Added Opt-Out Link - this will set the Opt-In Confirm to false and add an Opt-Out IP and an Opt-Out Time. Opt-Out will be removed automatically after the days set in the settings. * New: Added Opt-Out Placeholder for E-Mails, use [doubleoptoutlink] to add the Opt-Out Link to the Opt-In E-Mail. * New: Added Opt-Out Page within the Settings of the plugin. Create your own Opt-Out confirmation page. * New: Added Opt-In View, which will display the opt-in on a new page instead of a popup. * New: Added Categories to the System. Opt-Ins can now be added to categories. * New: Export now available for categories. Export only the opt-ins required. * New: Added a search for the opt-ins. It is now possible to look for the opt-ins form fields for the given content. * New: Adjust opt-ins items per page. You can now switch between 10, 25, 50, 100 items per page. * Update: Added dash icons for the confirmation status (yes/no) * Update: Added the category to the opt-in list view. * Update: Database settings now have their own UI page (database). * New: Store the HTML of the form within the Opt-In. * New: Store the HTML of the Opt-In Mail within the Opt-In. * Fix: Resolved some issues with Avada Forms not storing the settings correct. * New: Added Highlight.js to highlight the HTML on the Opt-In view. = 1.7.1 = * Fix: CSS Stylesheet adjusted. = 1.7.2 = * Fix: CSS fix flex layout * Fix: License System fixed. = 1.7.3 = * Fix: Adding a Support Button which will allow the customer to decide if he wants to support us with a backlink or not. It can be disabled within the settings. = 1.7.4 = * Fix: Toggle.js replaced "replaceAll" with a regex replace. = 1.7.5 = * Fix: Toggle.js fixed class. = 1.7.6 = * Fix: Adjusted Admin CSS. * Fix: Updating the Category not working in detail view. = 2.0 = * New: Add Opt-Out System - it is now possible to automatically let customers opt-out from previous opt ins. * New: Added Shortcode to display all Opt-ins (confirmed and unconfirmed) for a given hash: [f12-cf7-doubleoptin-optout-list]. Hashes are generated by the Opt-Out form and are valid for 24 hours. * New: Added Shortcode to display an opt-out form. This form will be used to enter an e-mail which will provide access to the opt-out list for customers. * Fix: WP Cronjobs didn't delete unconfirmed/confirmed opt-ins properly in some cases. * New: Added Opt-Out Settings page, allowing to set the default opt-out e-mail and opt-out page. * New: Added a WP Cron to delete one-time links for the opt-out page. * New: Added the option to set the period to delete confirmed and unconfirmed opt ins, options are: days, months, years. Default: months. = 2.1 = * Fix: Whitespace issue on some WordPress Systems. = 2.11 = * Fix: Problem fixed causing Avada Opt-Ins not submitting the Forms. = 2.12 = * Fix: Problem fixed, causing the database reset to work properly. * Fix: Problem fixed, causing the deleting opt ins function to work properly. = 2.13 = * Fix: Resolved a problem causing Avada forms to stop working. * Fix: Fixed domain name for translations * Update: Change in database settings behavior. Originally, when deleting the confirmed and unconfirmed opt-ins, the setting from the Settings tab was considered. This is no longer the case. Pressing the buttons will delete all opt-ins. * Fix: Fixed activation process. = 2.2 = * Beta: New beta function added for export that allows storing each field from the forms in a separate column of the CSV. = 2.3.0 = * New: Added Double Opt-in for Elementor * Fix: Fixed the Opt-Out Link in the Details, which was not displayed correct. = 2.3.1 = * Fix: Fixed the call tree for Elementor. = 2.3.2 = * New: Added Option to define the sender name for cf7 opt-in forms. * New: Added filter "f12-cf7-doubleoptin-cf7-args" to manipulate the Arguments for the opt-in mail in cf7. = 2.3.6 = * Fix: Fixed OnActivation not triggered while updating the plugin. Disable/Enable the Plugin to add missing columns. = 2.3.7 = * Transient: Updated the Transient to check everyday for updates. * Fix: Adjusted the Link for Support = 2.3.8 = * New: Added the text field for "From Name" for Avada Forms. Allowing users to define a custom sender name. = 2.4.0 = * New: Added the option to create a user in WordPress after opt-in * New: Added the option to assign custom user roles for users after opt-in * Fix: Added a fallback timezone if no timezone has been set in WordPress * Fix: Adjusted the links to the forms placed on the Plugin Dashboard = 3.0.0 = * Improved: Code optimization & synchronization with pro plugin * Fixed: Fixed Opt-out bug * Fixed: Fixed missing language strings * Improved: Updated documentation * Fixed: Deleting the Plugin now also deletes all related tables = 3.0.2 = * Fixed: Fixed a bug causing an issue where the necessary columns for the database are not created updating to version 3.