silverstripe/mollom
最新稳定版本:0.4
Composer 安装命令:
composer require silverstripe/mollom
包简介
Mollom module for SilverStripe.
README 文档
README
Maintainer Contact
-
Saophalkun Ponlu <phalkunz (at) silverstripe (dot) com>
-
Will Rossiter <will (at) silverstripe (dot) com>
Requirements
- SilverStripe >= 3.1
- Silverstripe SpamProtection module
- Mollom REST PHP Client https://github.com/Mollom/MollomPHP
Installation
Extract all files into the 'mollom' folder under your Silverstripe root, or install using composer
composer require silverstripe/mollom dev-master
If the mollom module causes an error in composer it may be necessary to explicitly add the git url to your composer.json
composer.json
{
"repositories": [
{
"type": "git",
"url": "https://github.com/Mollom/MollomPHP.git"
}
]
}
Configuration
This module provides a FormField and SpamProtector classes for integration with the SpamProtection module in SilverStripe. Consult that module documentation for more information on how to setup and enable Mollom on your Forms.
To configure the use of this protector, use the Config API. You will also need to sign up to Mollom to get API keys for the website. Those should also been included through the Config API
mysite/_config/spamprotection.yml
--- name: spamprotection --- FormSpamProtectionExtension: default_spam_protector: MollomSpamProtector Mollom: public_key: <key> private_key: <key>
统计信息
- 总下载量: 4.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2012-12-19