innis-maggiore/silverstripe-userforms-submission-filter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

innis-maggiore/silverstripe-userforms-submission-filter

最新稳定版本:v5.3.1

Composer 安装命令:

composer require innis-maggiore/silverstripe-userforms-submission-filter

包简介

Silverstripe UserForms Filter module allows developers to filter FormSubmissionFields by a list of filter keys after form submission and in turn changes email recipients and subject. It also adds a new Hidden IpFormField that can be added to UDF fields list for easier IP blocking

README 文档

README

Default installation extends SilverStripe\UserForms\Model\UserDefinedForm and adds a few new CMS fields under a spam tab. SOme small and simple tools for trying to reduce spam to customer emails and repeat offender submissions in the database. There is also a IpFormField added to the UserForm field_classes list that will retrieve the clients remote_addr after form submission to append to form email response.

Installation

Using Composer
$ composer require innis-maggiore/silverstripe-userforms-submission-filter ^5.0
  • Run /dev/build?flush=all

Add YML for DNADesign\ElementalUserForms\Model\ElementForm if using elemental's form panel

app/_config/mysite.yml

DNADesign\ElementalUserForms\Model\ElementForm:
  extensions:
    - InnisMaggiore\SilverstripeUserFormsSubmissionFilter\Extensions\InnismaggioreUserFormExtension
  email_tld: '@mycompany.com'

Add YML config for viewing new CMS fields - not for clients, but web admins

app/_config/mysite.yml

InnisMaggiore\SilverstripeUserFormsSubmissionFilter\Extensions\InnismaggioreUserFormExtension:
  email_tld: '@mycompany.com'

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2025-08-27