Linux 软件免费装
Banner图

RowanWeb Entries Database, Abandoned Forms & WebMCP for Contact Form 7

开发者 ryabininvitaliy
更新时间 2026年11月21日 01:58
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

contact form 7 contact form 7 database form entries form submissions abandoned forms

下载

0.4.2 0.4.3 0.2.1 0.2.0 0.1.1 0.1.0 0.3.0 0.4.0 0.4.1

详情介绍:

One plugin for everything your Contact Form 7 forms collect: the entries that were sent, the ones that were started but never sent, and optional support for AI assistants that fill in forms for visitors. Saved entries Abandoned forms The plugin also shows you the abandoned forms — the ones that were never sent. It watches field activity on the forms you already have, and the moment a visitor who was genuinely typing leaves the page or goes idle without submitting, it records what they had entered so far. WebMCP for AI assistants (experimental) WebMCP is a proposed web standard that lets an AI assistant working in the visitor's browser understand a form instead of guessing from the page layout. Other browsers simply see your normal form. WebMCP is still an experiment in Chrome: visitors' browsers show your forms to an assistant only if your site has a free origin trial token, or if the visitor has turned the feature on. The plugin's AI agents screen explains how to get a token and tells you when it needs renewing. Complex conditional forms may need a separate check. A note on scope This plugin requires Contact Form 7 to be active — it has nothing to track without it. Plugin page and documentation: rowan-web.ru/en/plugins/entries-database-for-contact-form-7. A longer walkthrough is on the blog.

安装:

  1. Make sure Contact Form 7 is installed and active.
  2. Upload the rowanweb-abandoned-forms-for-contact-form-7 folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload.
  3. Activate the plugin.
  4. In the Contact menu you will find three items: Saved entries lists entries and offers to import them from Contact Form CFDB7 or Flamingo if it finds any; Abandoned Forms shows abandoned attempts and holds the settings; AI agents turns on WebMCP for the forms you choose.

屏幕截图:

  • One form's entries, with field labels instead of tag names.
  • The AI agents screen: field descriptions, the WebMCP switch and the origin trial token.
  • Abandoned entries: form conversion and a per-form breakdown.
  • Pro: webhook notifications for Mattermost/Slack, Discord, a generic JSON endpoint and Telegram.

升级注意事项:

0.3.0 New: saved Contact Form 7 entries (encrypted, with files), import from CFDB7 and Flamingo, CSV and Excel export. On sites updated from 0.2 saving is off until you enable it on the Entries tab.

常见问题:

Does this work without Contact Form 7?

No — the plugin hooks directly into Contact Form 7's own forms and does nothing without it active (declared as a dependency, so WordPress will flag it if CF7 isn't active).

Can it replace Contact Form CFDB7 or Flamingo?

Yes. It saves every new entry, and the Entries tab offers to import the entries those plugins already stored — CFDB7 entries with their uploaded files, Flamingo entries including spam. Import works even if the other plugin is already deactivated, never changes its data, and skips entries that were already imported. When every entry and file has been copied and verified, the plugin offers to deactivate the other plugin; its data is not deleted.

Are uploaded files saved?

Yes, encrypted, up to 25 MB per file (filter cf7at_submission_max_file_bytes). They live in wp-content/uploads/cf7at-files/ under random names without extensions, so even a direct link only returns encrypted bytes. Administrators download them from the entry screen.

What happens if the encryption key is lost?

Entries and abandoned-form data are encrypted with a key stored in your database (or in the CF7AT_ENCRYPTION_KEY constant, if you define one). When moving the site, move the whole database. If the key changes, old entries are shown as "encrypted with a different key" rather than as empty values. Export to CSV or Excel if you want an independent copy.

I updated from version 0.2 — why aren't entries being saved?

On sites that used an earlier version, saving entries stays off until you decide. The Entries tab shows a notice with "Save entries of all forms"; you can also turn it on for a single form in the form editor ("Saved Entries" tab).

What counts as "abandoned"?

A visitor who has typed something recognizable as real input into a form's fields, then either leaves the page, closes the tab, or goes idle for a while without submitting. Loading a form and leaving immediately, without typing anything, isn't recorded.

What is WebMCP, and do I need it?

It is a proposed browser standard that lets an AI assistant in the visitor's browser fill in a form reliably. You don't need it for anything else in this plugin, and it stays off until you enable it for a form. Today it is experimental and mainly useful if you want to be ready early.

Can an AI assistant send a form on its own?

No. The plugin never enables automatic sending: the assistant fills in the fields and the visitor reviews them and presses send. Consent checkboxes are cleared for the visitor to tick personally.

Why do I need a token for WebMCP?

Chrome still treats WebMCP as an experiment and enables it for a site only when its pages carry a free origin trial token issued for that site, unless the visitor has turned the feature on. Register your site address with Chrome, paste the token on the AI agents screen, and the plugin adds it to your pages while at least one form is enabled. The plugin itself contacts no one. Without a token your forms keep working as usual.

My theme prints the same form twice (for example, in the footer and in a modal). What does the assistant see?

One tool per form on each page: only the first copy of the form is offered to the assistant, so it never has to choose between identical tools. The tool is named after the form ID, for example contact_form_123, and keeps that name on every page. The AI agents screen tells you when a form was seen more than once on a page. To offer another copy instead, use the cf7at_webmcp_instance filter. It receives true for the first copy, the form, the copy's number on the page (1, 2, ...) and its CF7 unit tag: add_filter( 'cf7at_webmcp_instance', function ( $use, $form, $ordinal ) { return 123 === $form->id() ? 2 === $ordinal : $use; }, 10, 3 );

The form is in a closed modal. Will the visitor see what the assistant filled in?

When an assistant starts filling a form, the plugin scrolls a visible form into view. For a hidden form, you can set the optional Button that opens the form CSS selector in AI agents. The plugin clicks the button only when exactly one matching element is visible, then scrolls to the revealed form. Native link navigation and form submission from that click are prevented. It also sends the cf7at:agentactivated event (it bubbles from the form; event.detail holds formId, toolName and opener, which reports whether a button was clicked). Your theme can use that event for custom modal behavior: document.addEventListener( 'cf7at:agentactivated', function ( event ) { var modal = event.target.closest( '.my-modal' ); if ( modal ) { modal.classList.add( 'is-open' ); } } );

My theme fills hidden fields when a visitor clicks the button that opens the form. What about assistants?

Set Button that opens the form to the CSS selector of your theme's opener. When the form is hidden and exactly one matching button is visible, the plugin clicks it so your theme can remember the requested file, fill its hidden fields and prepare any after-sending action. With zero or several visible matches it does not guess; use a cf7at:agentactivated handler for those cases. Leave the selector empty to keep the event-only behavior. The plugin does not assign hidden-field values itself; the visitor still confirms sending. Configure the result message, for example ‘Your sample opens in a new tab’, in Contact Form 7's Messages tab.

Why was WebMCP turned off for my form?

Support pauses when a form's fields change (a field added, removed, renamed or made required, or its choices edited), because the reviewed descriptions may no longer match. Editing other text, the layout or text-field placeholder examples keeps it on. The first update migrates a matching previous review; a form whose earlier review is already invalid still needs to be reviewed. The Contact Form 7 editor of that form and the AI agents menu item show when a form needs a new review.

Does WebMCP slow down my site?

No noticeable effect. The script is small, deferred, loaded only on pages with an enabled form, and stops immediately in browsers without WebMCP.

Is the data safe?

Entries, uploaded files and captured field values are encrypted (AES-256-GCM), decrypted only when an authorized admin views them. A contact is pseudonymized internally through a hashed, site-specific identifier rather than stored as a plain lookup key.

Does this send any of my data anywhere?

No. The free version makes no outgoing connections of its own — everything is stored in your own database and shown only inside your own admin area. The only exception is listed under "External services" below, and it's off until you opt in.

How long is the data kept?

Abandoned-form data: 60 days by default, deleted automatically every day; configurable from 1 day up to 10 years on the Settings tab. Saved entries: forever by default, or a number of days you choose; spam and trashed entries are deleted after 30 days. Lower it if you only need the data for a quick follow-up; raise it if you want a longer history.

更新日志:

0.4.3 0.4.2 0.4.1 0.4.0 0.3.0 0.2.1 0.2.0 0.1.1 0.1.0