Linux 软件免费装
Banner图

GB Forms DB

开发者 Gilwebdeveloper
gb-plugins
更新时间 2026年10月4日 19:39
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

leads contact form 7 csv export form submissions elementor forms

下载

1.0.0 2.0.0

详情介绍:

GB Forms DB saves every lead from every form on your site in one place — even when the site runs several form plugins, and even for forms built by hand. Each lead keeps what was submitted, the form it came from, the page it was sent from, the date and time, and the technical details the form plugin reported (IP address, browser, hidden fields). Supported forms Password and payment-card fields are never saved. Login, registration, search, cart and checkout forms are left alone. Managing leads For developers Send leads on to a CRM, a mailing list or anything else with an action hook: add_action( 'gbfdb_after_save_6', function ( $data, $lead_id ) { // $data['fields'] — what was submitted, e.g. $data['fields']['your-email'] // $data['meta'] — form_id, type, url, remote_ip, user_agent... }, 10, 2 ); The number after gbfdb_after_save_ is the form ID. Forms saved by "All forms" or "Form by selector" use gbfdb_after_save_forms-{id}, where the ID is the form's id attribute — their hook is kept apart because anyone can post to it. gbfdb_after_save fires for every form (third argument: the lead type), and after_save_lead receives the lead ID. Filters: gbfdb_before_save_lead (change or skip a lead before it is saved), gbfdb_exclude_field, gbfdb_client_ip (the visitor's real address behind a proxy or CDN), gbfdb_supported_plugins, gbfdb_forms_settings, gbfdb_capability, gbfdb_page_url, gbfdb_lead_order, gbfdb_field_output_data, gbfdb-before-admin-save, gbfdb-admin-save. Actions: gbfdb_admin_page_add_fieldset and gbfdb_admin_page_add_fieldset_fields add a tab to the settings screen; before_gbfdb_field_output and after_gbfdb_field_output add markup around a field on the lead screen. Docs and support gb-plugins.com

安装:

  1. Upload the gb-forms-db folder to /wp-content/plugins/, or install it from Plugins > Add New.
  2. Activate the plugin.
  3. Go to GB Forms DB > Settings. The form plugins found on your site are already switched on — check the list and press Save.

屏幕截图:

  • A single lead with everything that was submitted and where it came from.
  • Settings: the form plugins found on your site, plus "All forms" and "Form by selector".
  • Pick a form and its fields become columns. Export exactly what you see to CSV.
  • Fully translated and right-to-left ready (Hebrew shown).

升级注意事项:

2.0.0 A complete rebuild. Your leads and settings are carried over automatically. If you customised the look of the 1.x leads screen with CSS, those styles no longer apply.

常见问题:

Where are the leads stored?

In your own WordPress database, as a private post type. Nothing is sent anywhere unless you hook into gbfdb_after_save.

Does it save forms that submit with Ajax?

Yes. The form plugins in the list are saved through their own hooks. For other forms, "All forms" and "Form by selector" catch the submission in the browser, whether the form reloads the page or not.

Is anything left out?

Password fields, payment-card fields, nonces and captcha responses are never saved, and login, registration, search, cart and checkout forms are skipped. Use the gbfdb_exclude_field filter to leave out more.

Who can see the leads?

Administrators (the manage_options capability). Change it with the gbfdb_capability filter. Other roles cannot reach leads through any WordPress screen or API.

What happens to leads in the trash?

WordPress empties the trash after 30 days, as it does for posts.

My site is behind Cloudflare or a proxy

Return the visitor's real IP from the gbfdb_client_ip filter. Otherwise every visitor looks like the proxy, and the limit on submissions from one address (30 in 10 minutes) applies to all of them together.

更新日志:

2.0.0 Rebuilt from the ground up. 1.0.4 1.0.1