[wordpress插件] CF7 to SpreadsheetCF7到电子表格

wordpress 插件 文章 2020-03-21 03:50 501 0 全屏看文

AI助手支持GPT4.0

评分
80
描述

This plugin connects your Contact Form 7 and Google Spreadsheet.

此插件可将您的联系表格7和Google Spreadsheet连接起来。

When a visitor submits his/her data on your website via a Contact Form 7 form, on form submission, such data are added into Google Spreadsheet.

当访问者通过Contact Form 7表单在您的网站上提交他/她的数据时,在提交表单时,这些数据将添加到Google Spreadsheet中。

This is a simple way to maintain your contact form 7 data backup.

这是维护联系表7数据备份的简单方法。

How to Use this Plugin

如何使用此插件

In Google Spreadsheet

在Google电子表格中

    • Log into your Google Account and visit Google Spreadsheet.

    • 登录您的Google帐户并访问Google Spreadsheet。

    • Create a new Sheet and name it.

    • 创建一个新工作表并命名。

    • Rename the tab on which you want to capture the data.
    • 重命名要在其上捕获数据的选项卡。

    • In the Google sheets tab, provide column names in row 1. The first column should be “date” if you want to add date.

      在Google表格标签中,在第1行中提供列名称。如果要添加日期,则第一列应为“日期”。

      For each further column, copy paste mail tags from the Contact Form 7 form (e.g. “your-name”, “your-email”, “your-subject”, “your-message”, etc).

      对于每个其他列,请从Contact Form 7表单中复制粘贴邮件标签(例如“您的姓名”,“您的电子邮件”,“您的主题”,“您的消息”等)。

      Also, you can add required mail tags (e.g “your-name”, “your-email”).

      另外,您可以添加必需的邮件标签(例如“您的姓名”,“您的电子邮件”)。

    • Process to generate API key

      生成API密钥的过程

    • Follow the steps from this url to create a project: https://docs.brainstormforce.com/create-google-sheet-api-key/

      按照以下网址中的步骤创建项目:https://docs.brainstormforce.com/create-google-sheet-api-key/

    • After the project is created, go to Quotas tab, click on “Google sheet Api” and then on Credentials
    • 创建项目后,转到“配额”选项卡,单击“ Google sheet Api”,然后单击“凭据”

    • Press Create Credentials
    • 按创建凭据

    • Select OAuth client ID
    • 选择OAuth客户端ID

    • Select Other, give it a name and Save
    • 选择“其他”,为其命名并保存

    • You’ll get a popup with client Id and client secret
    • 您将看到一个带有客户ID和客户机密的弹出窗口

    • Copy/paste those on lines 13 and 14 (see above)
    • 复制/粘贴第13和14行上的内容(请参见上文)

    • You need to Reconnect the plugin – go to Wp Admin/Settings/CF7 to Spreadsheet/Press “Reconnect with google Spreadsheet
    • 您需要重新连接插件–转到Wp Admin / Settings / CF7到电子表格/按“与Google Spreadsheet重新连接

    In WordPress Admin

    在WordPress管理员中

      • Create or Edit the Contact Form 7 form from which you want to capture the data.

      • 创建或编辑要从中捕获数据的Contact Form 7表单。

        Set up the form as usual in the Form and Mail etc tabs.

        照常在“表单”和“邮件等”选项卡中设置表单。

        Thereafter, go to the new “CF7 to Spreadsheet” tab.

        之后,转到新的“ CF7到电子表格”选项卡。

      • On the “CF7 to Spreadsheet” tab, copy-paste the Google Spreadsheets sheet name and tab name into respective positions, and hit “Save”.
      • 在“ CF7到电子表格”标签上,将Google Spreadsheets表格名称和标签名称复制粘贴到各自的位置,然后点击“保存”。

      Important Notes

      重要注意事项

        • You must pay very careful attention to your naming.

        • 您必须非常注意自己的命名。

          This plugin will have unpredictable results if names and spellings do not match between your Google Spreadsheets and form settings.

          如果您的Google电子表格和表单设置之间的名称和拼写不匹配,则此插件将产生无法预测的结果。

          Also, naming is not case sensitive.

        • 另外,命名也不区分大小写。

安装步骤

    1. Upload contact-form-to-excel-addon to the /wp-content/plugins/ directory and Install`.

    2. contact-form-to-excel-addon 上载到 / wp-content / plugins / 目录并安装。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress.
    4. 通过WordPress中的“插件”屏幕激活插件。

    5. Use the Admin Panel > Setting > CF7 To spreadsheet screen to connect to Google Sheets Account by entering the Access Code.

    6. 使用管理面板>设置> CF7到电子表格屏幕,通过输入访问代码来连接到 Google表格帐户

      You can get the Access Code by clicking the “Get Code” button.

      您可以通过单击“获取代码”按钮获取访问代码。

    7. Use the Admin Panel > Contact form 7 > Select Contact form > On editor window tab - CF7 To spreadsheet Add your Sheet Name And Tab Name.
    8. 使用管理面板>联系人表单7>选择联系人表单>在编辑器窗口选项卡上-CF7到电子表格添加工作表名称和选项卡名称。

下载地址
https://downloads.wordpress.org/plugin/cf7-to-google-sheet-extension.1.1.0.zip
-EOF-

AI助手支持GPT4.0