该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

CF7 Spreadsheets

描述

WordPress plugin that merge Contact form 7 functional with google spreadsheets (also works with private spreadsheet).

How to use:

Video instruction: https://www.youtube.com/watch?v=ZgZRBByY4fc
Video instruction (OLD versions): https://www.youtube.com/watch?v=5ICWr5MMo7E

  1. Prepare API
    • Go to the Console Developers API
    • Create new project (or choose existing one)
    • Click “enable API and services”, or click on “library” tab
    • Find in list “Google sheets API” and click “Enable”
    • Go to Credentials tab and click create credentials. In dropdown list choose Service account key. In next window select you service account, and Key type to JSON.
    • Save the JSON document
    • Upload JSON document on plugin page (second tab).
  2. Create a table
    • Go to the Google Spreadsheets and create new table (or open exists table)
    • Copy table URL and ID. For example: //docs.google.com/spreadsheets/d/1yhzO1Q6ikYysfg8LCHqegPM/edit#gid=0 in this table URL is: 1yhzO1Q6ikYysfg8LCHqegPM, and ID is: 0(parameter gid).
    • If you have private spreadsheet – you should grant edit rights to your service account (that we create earlier) directly in spreadsheet. You could find service account email in your website admin panel after uploading JSON file.
  3. Paste the spreadsheet URL and ID in plugin options page, upload JSON file, and choose other options.
  4. Create usual form in Contact form 7 and use it.

屏幕截图

  • Table options page
  • Output page

安装

  1. Upload plugin folder CF7-spreadsheets to wp-content/plugins directory
  2. Open wordpress admin tool and activate the plugin at plugins menu

常见问题

Infinite wheel on mail send

Probably, you not enable “Sheets API” on Google developers console. Follow this link, and click “Enable”. Or you didn’t grant writable access to your service account.

Mail successfully send, but I don’t see result on google table…

Please check, that service account have access to write to your table.

Where I can give spreadsheet ID and URL?

Open table in browser, this parameters will in address string of your browser.

评价

2020 年 11 月 2 日
Works great, thanks! It needs “how-to” page for users not familar with google api configuration. — Местами не очень понятные названия у полей настройки на русском языке. В частности “url таблицы” это ID файла spreadsheet, а не url на файл.
2020 年 6 月 12 日
not working anymore
2020 年 3 月 30 日
Thank you for your support in solving the issue I had with this simple and effective plugin!
阅读所有19条评价

贡献者及开发者

「CF7 Spreadsheets」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「CF7 Spreadsheets」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.3.2

  • Fixed deprecated jQuery method on file upload.

2.3.1

  • Fixed extra notices on non-existing errors.
  • Fixed CF7 (v 5.2.2) bug with new required parameter in internal functions.

2.3.0

  • Fixed CF7 (v 5.2.1) bug with new parameter in internal functions.
  • Fixed notice “uninstall hook can be only static method”

2.2.4

  • Data source became WPCF7_Submission instead of $_POST (pipes feature works).

2.2.3

  • Temporary rollback pipes feature, because it affects placeholders

2.2.2

  • Fixed regexp, responsible for parsing text message (multiline tags and couple of tags in one line works well now)
  • Added pipes feature

2.2.0

  • Added composer config with package list
  • Updated dependencies
  • Added travis.ci to project
  • Added linter (php-cs-fixer) too project files
  • Fixed hidden field

2.1.2

  • Added data types (Number, Boolean, Formula, String)

2.1.1

  • Added shortcodes support
  • Fixed duplicate require upgrade.php file

2.1.0

  • Added CF7 special tags

2.0.3

  • Posts limit changed to unlimited

2.0.2

  • Fixed checkbox and multiselect results
  • Removed placeholders at empty fields

2.0.1

  • Fixed removing plugin data from database on deactivation

2.0.0

  • Rewrite in OOP style
  • Added configuring output row
  • Added forms choose to use
  • Fixed bug with checkbox (default action CF7)
  • New user interface

1.0.4

  • Compatibility with other plugins, that use google account fixed
  • Notice added
  • RU Translation updated

1.0.3

  • Security fixes

1.0.2

  • Added readme.txt and assets

1.0.1

  • Added translate to russian language
  • Added readme

1.0.0

  • Alpha version