Redirection for Contact Form 7

外掛說明

Contact Form 7 附加元件完整解決方案。這個外掛能在電子郵件傳送成功後將使用者重新導向任何頁面、在提交表單後觸發指令碼、將提交的資料儲存至資料庫,並賦予 Contact Form 7 更多強大的功能。
請注意,這個外掛需要 Contact Form 7 4.8 或更新版本。

使用方式

請前往個別聯絡表單的設定頁面,點擊 [重新導向設定] 分頁,並設定需要重新導向的目標頁面網址。

外掛特色

  • 重新導向至任何網址
  • 在新分頁開啟連結
  • 在聯絡表單完成傳送後,執行設定好的 JavaScript,這對轉換管理會有所幫助
  • 將聯絡表單的欄位以網址查詢參數方式傳遞
  • 為表單加入誘捕功能以減少表單濫填
  • 儲存表單提交的資料至網站資料庫
  • GDPR:建立清除使用者個人資料要求
  • GDPR:建立匯出使用者個人資料要求

目前推出的擴充功能

*** Free Trial ***

Note: some features are availible only as an extension. Which means you need an extension to unlock those features. You can get Redirection for Contact Form 7 extensions here!

螢幕擷圖

  • [動作] 分頁
  • 重新導向動作
  • 引發 JavaScript 動作
  • 儲存潛在客戶動作
  • [擴充功能] 分頁

安裝方式

請在管理後台的 [外掛]→[安裝外掛] 頁面中,搜尋「Redirection for Contact Form 7」並安裝 Redirection for Contact Form 7,或是使用以下步驟完成安裝:

  1. 從 WordPress.org 下載外掛安裝套件 ZIP 壓縮檔。
  2. 在 WordPress 控制台的 [外掛]→[安裝外掛]→[上傳外掛] 頁面中上傳外掛 ZIP 壓縮檔。
  3. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
  4. 前往外掛設定頁面進行必要的設定。

常見問題集

這個外掛會停用 Contact Form 7 的 AJAX 嗎?

不會。這個外掛不像其他外掛會自行攔截 Contact Form 7 的功能,它不會停用任何 Contact Form 7 的一般行為。

這個外掛使用 on_sent_ok 這項額外設定嗎?

不使用。開發這個外掛的其中一個原因,就是因為 on_send_ok 在 Contact Form 7 中已淘汰不用,並在 2017 年年底正式終止。這個外掛是 Contact Form 7 的重新導向附加元件外掛中,唯一一個使用 DOM 事件執行重新導向的外掛,而這項設計正是 Contact Form 7 開發者 Takayuki Miyoshi 所建議的最佳做法。

How to use files shortcodes

[{field_name}-filename] – will replace the shortcode with the file name
[{field_name}-base_64_file] – will replace the shortcode with a base64 representation of a file
[{field_name}-path] – will replace the shortcode with the file path on the server

使用者評論

2023 年 8 月 9 日
Does exactly what it's supposed to: after a predetermined number of seconds users are taken to the page I've selected. A nice touch is being able to use script to return users to the page they were on before visiting the contact page. Straightforward and easy to use. Bravo!
閱讀全部 194 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Redirection for Contact Form 7〉的開發相關工作。

參與者

〈Redirection for Contact Form 7〉外掛目前已有 10 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Redirection for Contact Form 7〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

3.0.1

  • Fix access to leads manager

3.0.0

  • Fix PHP Ver 8.2 deprecation notices.
  • Removed unused functions and files
  • Tested for wordpress 6.3

2.9.2

  • Fix javascript error on admin panel prevents validating salesforce extension connection.

2.9.0

  • Added new actions info (monday integration/eliminate duplicates)
  • Added eliminate duplicates addon
  • Added “cc” “bcc” “additional headers” to send mail action
  • Disabled default contact form 7 mail when send mail action is Activate
  • Freemius SDK update to 2.5.10
  • Removed unused JavaScript
  • Fix debug output

2.8.0

  • Fixed repeater wrong numbering
  • Fixed conditional logic support when a tag was removed
  • Patched security issue involving “registration add-on”
  • Updated Freemius SDK to 2.5.3

2.7.0

  • Fixed incorrect checkbox/selectbox values when exporting leads to csv
  • Removed old plugin updates check
  • Fixed several minor php notice error messages on PHP8

2.6.0

  • Added new free action – erase data request
  • Fixed PHP8 notice messages
  • Completely removed accessiBe addon
  • Added compatability for slack message extension

2.5.0

  • Fixed PHP8 notice messages
  • Update freemius SDK (security patch)

2.4.0

  • Fixed PHP8 notice messages
  • Added Support for base64 files on api calls
  • Updated front end script name because of avast false positive notice
  • Fix close popup
  • Bumped plugin version to 2.4.0

2.3.7

  • Added Tel field template file
  • Added support for twilio sms extension
  • Added freemius support for plugin extensions

2.3.6

  • Fix missing definition for stripe integration extension
  • Fix notice message on WP-CLI (HTTP_HOST);
  • Security updates
  • Ui fixes on extensions list

2.3.5

  • Fix preview of checkbox fields on leads list
  • Fix nonce issues on extensions page
  • Fix send file to api [{fieldname}-filename] [{fieldname}-base_64_file] [{fieldname}-path]

2.3.4

  • Security updates
  • Fixed jQuery error when adding an action with wysiwyg Editor
  • Fixed duplicate post functionality
  • Added support for pdf create action

2.3.3

  • Fixed undefined $_SERVER[‘HTTP_HOST’] on CLI calls

2.3.2

  • Added columns on actions list (debug mode)
  • Added compatibility for Contact Form 7 Redirection Pro migrations
  • Fixed extensions download process.
  • Moved Mailchimp dependencies to Mailchimp action

2.3.1

  • Added index.php to directories to disable directory browsing.
  • Fixed typo in popup action class name for receiving updates.
  • Fixed extensions update process.

2.2.9

  • Added Export leads to csv option.
  • Added Duplicate action button.
  • Added Preview data on leads table (Defined by marking which fields to display on the action settings).
  • Added urlencode passed parameters option on redirect action.
  • Fixed duplicate actions on contact form duplication.

2.2.8

  • Added html support to Send Email action.
  • Added file attachments support to Send Email action.
  • Added reset settings button to debug tools.
  • Fixed a bug: radio buttons and checkboxes are now passed correctly as url parameters.
  • Fixed a bug: “Changes you made may not be saved” pop-up no longer appears when no changes have been made.

2.2.7

  • Fixed extensions update check interval.

2.2.6

  • Fixed support for non-ajax redirection action.
  • Minor styling changes.

2.2.5

  • Fixed compatibility issues with “Contact Form 7 – Conditional Fields” Plugin.

2.2.4

  • Fixed a bug with jQuery.noConflict()

2.2.3

  • Fixed compatability issue with “Contact Form 7 – Conditional Fields” Plugin.

2.2.2

  • Fixed a bug with jQuery.noConflict()
  • jQuery migrate compatibility changes
  • Added debug options

2.2.1

  • Fixed a bug in extension class
  • Fixed a bug – accessiBe turned off by default

2.2.0

  • New feature: Saving form leads in database.
  • New actions system.
  • Easy installation of plugin extensions.
  • Complete code refactoring.

1.3.7

  • Show pages hierarchy in page select dropdown.

1.3.6

  • Fixed a bug: Redirection for legacy browsers (non-ajax) not working when using external url.

1.3.4

  • Fixed a bug: “Changes you made may not be saved” pop-up no longer appears when no changes have been made.
  • Fixed a bug: When passing all fields as parameters, “+” sign is now replaced with “%20”.
  • Minor code styling changes to fully meet WordPress standards.

1.3.3

  • Fixed a bug: URL query parameters are now properly decoded.

1.3.2

  • New feature: delay redirection in milliseconds.

1.3.1

  • Fixed a bug in legacy browsers: the Pro message keep showing.

1.3.0

  • Minor dev improvements.

1.2.9

  • Fixed a bug: when passing specific fields as URL query parameters, not all the fields were passed.

1.2.8

  • New feature: Pass specific fields from the form as URL query parameters.
  • Minor dev improvements.

1.2.7

  • Script field now accepts special characters, such as < and >.

1.2.6

  • Added support for browsers that don’t support AJAX.
  • Minor CSS changes.

1.2.5

  • Added error message if Contact Form 7 version is earlier than 4.8.

1.2.4

  • Fixed a bug regarding sanitizing URL, causing & to change to #038;
  • Unnecessary variables removed.

1.2.2

  • New feature: Pass all fields from the form as URL query parameters.
  • Minor CSS changes.
  • Dev improvements.

1.2

  • New feature: add script after the form has been sent successfully.

1.0.2

  • Added full support for form duplication.
  • New feature: open page in a new tab.
  • Added plugin class CF7_Redirect.

1.0.0

  • Initial release.