這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Double Opt-in for CF7

外掛說明

Adds double opt-in functionality to CF7 forms submissions. Double opt-in means that form submitters have to confirm their identity by their email account. The plugin is ready for translation.

Double opt-in dependencies

This plugin is an add-on to Contact Form 7 plugin by Takayuki Miyoshi.
Functionality of this plugin also depend on installing and activating one of the plugins, which saves Contact Form 7 submissions to WordPress database. At the time, compatible plugins are:

Note that BOTH Contact Form 7 and one of the listed above plugins are required for double opt-in functionality to work.

Help and Docs

The first and most complete documentation is located on plugin official page.
If you’re a developer, feel free to take a look at the plugin page on GitHub repository.
You can also seek for help on WordPress support forum.

Plugin features

  • One click conversion of existing CF7 forms into double opt-in enabled forms.
  • URL parameters encryption to make confirmation links safe.
  • HTML email templates with mail tags similar to used in CF7 plugin. If you know how to configure CF7 emails, double opt-in will be easy.
  • Automatic creation of the “opt-in” page to process confirmed submissions.
  • Adding a CSV file attachment to final submission email containing form data.
  • Adding file attachment to final confirmation email sent to the submitter.
  • Setting expiration time for submissions to be confirmed.
  • Ability to manually confirm forms. That can be useful if your submitter enters an invalid email address, and you are sure you want to send their submission anyway.

Additional enhancements

Apart from its main feature, Double Opt-in for CF7 adds some functions you may find nice and useful:

  • Custom, accessible file upload inputs for your forms which look better, can be CSS styled and allow easy selecting and deselecting files to upload. This works for every CF7 form, not only double opt-in enabled.
  • Custom, more specific validation errors for radio buttons and checkboxes for improved accessibility.
  • Option to change CSV separator when exporting submissions from Flamingo plugin. It also adds BOM to CSV exports, allowing them to be properly opened in MS Excel.
  • Additional column on Flamingo Inbound Messages screen indicating if submission is complete or still waiting for being confirmed by sender.

What is double opt-in and why use it:

Double opt-in is the safe way of receiving site visitor’s submitted input. Used with contact forms or online questionnaires or with user registration, it helps to reduce spam submissions. With GDPR laws, double opt-in is a strongly recommended way of getting user data. Because submitters have to confirm their identity from their email address, you can reduce risk of processing personal data without permission. Double – means here that user submitting the data has to give consent by checking checkbox option and additionally confirm their email-address.
Do not forget to set acceptance field in your CF7 form if GDPR is in concern!

How Double opt-in form works:

When someone fills and submits a form with double opt-in functionality, the first CF7 email goes back to THEM. There is a confirmation link in that email, which the submitter has to click on or paste in their web browser. The link has two encrypted parameters: submission serial number and submitter email address. The page with “opt-in” slug validates the parameters with submission stored in WordPress database and initiates sending of final emails to recipient set in “All Opt-In Forms” settings. If validation fails or when submission has expired, no emails are sent. If there are no specified parameters in the URL, visitors of the “opt-in” page are redirected to “404” page.

Plugin translation

Double Opt-In can be easily translated. It is released with the translation to Polish language.

螢幕擷圖

  • screenshot-1.png
  • screenshot-2.png
  • screenshot-3.png

安裝方式

  1. Upload the cf7-optin folder to the /wp-content/plugins/ directory in your WordPress installation.
  2. Install and activate the free Contact Form 7 plugin by Takayuki Miyoshi from WordPress repository.
  3. Activate the Double Opt-in for CF7 plugin through the Plugins screen (Plugins > Installed Plugins).

You will find new submenus: All Opt-In Forms and Double Opt-In Settings in Contact menu in your WordPress admin screen.
Basic help and instructions can be found on Double Opt-In Settings admin page.

For detailed plugin documentation, please visit plugin official page.

常見問題集

Can I use Double Opt-in for CF7 with another form plugins?

No. This plugin works only with Contact Form 7 which is one of the best and flexible plugins.

Do I have to install yet another plugin for storing CF7 submissions?

For the time, yes. Submissions must be stored somehow by the time of confirmation. I’m working on a built-in solution with automatic submission data removing when form expires, but it’ll take some time.

Can I be now certain that the person submitting my form is who he/she claims to be?

No. You can be only certain that this person has access to emails in submitted email address account. This usually means being an account owner and is considered as secure contact confirmation. Just remember that it doesn’t really mean that the rest of information submitted with your form has to be true/legal or whatever.

Is Double Opt-In plugin accessible?

Yes. It’s as accessible as the core WordPress admin area. The optional custom file upload input is also built with accessibility in mind. All the options and settings can be easily used with screen readers, and the color contrast meets Web Accessibility Initiative standards. If you find some elements of plugin UI that need improvement, please report them on support forum.

Is set CSV delimiter working with CFDB7 plugin exports?

No. At least now, CFDB7 doesn’t offer a hook to modify CSV output. There is a solution in their support page, but it requires direct plugin file modification.

使用者評論

2023 年 11 月 5 日
The plugin and its feature do not offer what a double opt-in feature should offer. Therefore, I am not satisfied with what the plugin has to offer and do not find the offered solution sufficient.
2022 年 10 月 26 日
Worked out-of-the box. Awesome! Great work! Double opt-in can be pretty tricky to integrate. Just one thing: It would be great to customize and translate the error and confirmation messages on the /opt-in page.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Double Opt-in for CF7〉的開發相關工作。

參與者

〈Double Opt-in for CF7〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Double Opt-in for CF7〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial plugin release.

1.0.1

  • Fixed unnecessary escaping which caused wrong format of HTML email body.
  • Fixed a bug with wrong CFDB7 being accepted from confirmation link.