前言介紹
- 這款 WordPress 外掛「Double Opt-In Helper」是 2021-12-09 上架。
- 目前有 90 個安裝啟用數。
- 上一次更新是 2024-05-07,距離現在已有 362 天。
- 外掛最低要求 WordPress 6.4 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
內容簡介
Double Opt-In Helper 是一個 WordPress 外掛,可以幫助開發人員在他們的外掛中實現雙重確認程序。
什麼是雙重確認?
雙重確認是一種用於確認使用者同意的程序。現今,服務提供者需要在收集或使用使用者個人資料之前獲得明確的同意。然而,在某些情況下,要求使用者勾選「我同意」的核取方塊是不足夠的。在這些情況下,雙重確認發揮了有用的作用。
一個典型的雙重確認程序始於服務提供者向使用者發送電子郵件。該郵件中包含一個指向提供者網站的 URL 連結,要求使用者點擊該連結,以確定他們是否同意條款。通常,該 URL 包含某種類型的唯一隨機代碼,作為確認使用者同意的標誌。
這樣做,服務提供者可以確認真實的使用者(而不是機器人或其他人)已經同意,因為只有使用者才能夠訪問指向其電子郵件地址的消息。
我是開發人員,我如何使用這個外掛?
首先,要註冊一個「代理人」,以處理雙重確認會話並知道當使用者選擇加入時該做什麼。
要註冊代理,使用 doihelper_register_agent() 函數。 doihelper_register_agent() 接受兩個參數:代理人的名字(必填)和一個可選的關聯數組參數。可用的參數如下所示:
acceptance_period — 雙重確認會話保持活躍的時間長度(以秒為單位)。預設值:86400(24小時)
optin_callback — 當使用者選擇加入時將調用的回調函數。
email_callback — 用於發送確認電子郵件的回調函數。
完成代理註冊後,要通過調用 doihelper_start_session() 函數來啟動雙重確認會話。 doihelper_start_session() 接受兩個參數:代理人的名字(必填)和一個可選的關聯數組參數。可用的參數如下所示:
email_to — 接收確認電子郵件的收件人地址。如果省略此參數,將不會發送任何電子郵件。如果您未提供此參數,則需要以另一種方式向使用者提供確認鏈接。
properties — 會話的屬性數組。此數組將作為其唯一參數傳遞給 optin_callback 函數。雖然您可以將任何信息包含在內,但其主要目的是將與用戶相關的數據傳遞給加入回調。
會話數據將存儲在數據庫中,直到使用者選擇加入或接受期限(來自 doihelper_register_agent() 設置)過期。
原文外掛簡介
Double Opt-In Helper is a WordPress plugin that helps developers implement the double opt-in process in their plugins.
What is double opt-in?
Double opt-in is a procedure used to confirm user’s consent. Today, service providers are required to obtain clear consent from users prior to collecting or using their personal data. In some situations, however, asking the user to tick an “I agree.” checkbox is not sufficient. Double opt-in serves a useful role in such situations.
A typical double opt-in process starts by the service provider sending an email message to the user. The message includes a URL link to the provider’s website and asks the user to click the link if they agree on conditions. Usually, the URL includes some sort of unique random code that works as a token to confirm the user’s consent.
By doing this, the service provider can confirm that the real user (not a bot or someone else) has consented, because only the user should be able to access messages to their email address.
I’m a developer. How can I use this plugin?
First, register an “agent” who can handle double opt-in sessions for you, and knows what to do when a user opts-in.
To register an agent, use the doihelper_register_agent() function. doihelper_register_agent() takes two parameters: the name of the agent (required), and an optional associative array of arguments. The available arguments are:
acceptance_period — The length of time (in seconds) for how long a double opt-in session remains live. Default value: 86400 (24 hours)
optin_callback — The callback function that will be called when a user opts-in.
email_callback — The callback function that will be called to send a confirmation email.
After registering an agent, start a double opt-in session by calling the doihelper_start_session() function. doihelper_start_session() takes two parameters: the name of the agent (required), and an optional associative array of arguments. The available arguments are:
email_to — The recipient’s email address, used for the confirmation email. If you omit this argument, no email will be sent. If you do not provide this argument, you will need to provide the user with the confirmation link another way.
properties — The properties array of the session. This array is to be passed to the optin_callback function as its only parameter. While you can include any information into this, the primary purpose of it is to pass user-related data to the opt-in callback.
The session data will be stored in the database until the user opts-in, or the acceptance period (from doihelper_register_agent()) expires.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Double Opt-In Helper」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Cookie Notice & Compliance for GDPR / CCPA 》Cookie Notice 提供簡單易定制的網站橫幅,以協助你的網站遵守歐盟 GDPR cookie 法律以及 CCPA 法規下的某些cookie同意要求,並與 Cookie Compliance 無縫集...。
Complianz – GDPR/CCPA Cookie Consent 》Complianz 是一款支援 GDPR、ePrivacy、DSGVO、TTDSG、LGPD、POPIA、APA、RGPD、CCPA/CPRA和PIPEDA 的插件,提供基於Cookie掃描結果的條件Cookie通知和自定義...。
WP Consent API 》WP Consent API 是一個外掛,可以標準化插件之間同意的同意類別溝通。它需要使用 Cookie 標語插件和至少一個支援 WP Consent API 的其他插件。, , 有了這個插...。
WPConsent – Cookie Consent Banner for Privacy Compliance (GDPR / CCPA) 》總結:WPConsent 是將可自訂的cookie同意橫幅添加至您的WordPress網站的最簡單方式。您可以自訂橫幅以符合您的網站品牌,並配置外觀。它還具有自動腳本阻止功...。
Cookie-Script.com 》Cookies Script 可協助您遵循歐洲Cookie法和GDPR法規。製作自己的Cookie信息彈出視窗,無需編程技能即可完成。您甚至可以免費使用它。, , (づ。◕‿‿◕。)づ https...。
Axeptio – Cookie Banner – GDPR Consent & Compliance with a friendly touch 》Axeptio 是一個獨特、多次被模仿的 cookie 同意小工具外掛程式,它將確保您獲得使用者同意並妥善告知他們的權利。, 非常容易安裝和配置,Axeptio 只需幾分鐘...。
Pressidium Cookie Consent 》。
Termageddon 》輕鬆將 UserCentrics 同意解決方案整合到您的網站中。, 此外掛還允許僅在使用者或管理員登錄時顯示同意解決方案。, 從 v1.1.0 開始,此掛件可以使用 MaxMind ...。
Designil PDPA Thailand 》Designil PDPA Thailand: All-in-one solution for PDPA Consent Popup on WordPress, Designil PDPA Thailand’s mission is to provide the reliable and af...。
Cookie Law Bar 》這是一個簡單且輕量化的 cookie 法 WordPress 外掛程式,用於顯示你的網站使用 cookie 的相關資訊,非常適合實施歐盟的 cookie 法!, 線上示範:http://demo....。
Cookie Information – Cookie Banner with Consent Mode v2 》, 這個GDPR和ePrivacy cookie同意解決方案外掛程式會輕鬆地在您的網站上實作Cookie Information’s Consent Solution。, 該外掛程式會在WordPress安裝中...。
Flexible Cookies 》- 我們的免費外掛不僅讓您以專業且符合規範的方式顯示Cookie欄,還能掃描網站的Cookie並添加適當的類別。, - 您可以按照自己的需要自訂Cookie欄的外觀,使其...。
Cookie Notice & Consent 》, Cookie Notice & Consent 讓您輕鬆收集 Cookie 使用者的同意。, 您可以定義不同的 Cookie 種類並顯示在通知橫幅中。, 事先準備的主題模板讓非技術性的...。
Cookielay 》Cookielay:輕鬆管理 cookies 的方式, 使用 Cookielay,您可以符合隱私政策的方式輕鬆管理您網站的 cookies。將 cookies 加入、分配給群組,並定義允許或封鎖...。
CookieCode 》CookieCode 可以幫助您的網站遵守 GDPR 和電子隱私規定,直到訪客同意之前,阻止追蹤和分析 Cookie。 , 此外,我們的網路爬蟲會自動更新您網站的 Cookie 聲明...。