Google recaptcha for powermail 3
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Classes/Domain/Validator/SpamShield
Configuration/PageTsConfig
Resources/Private/Partials/Form/Field
.gitignore
README.md
composer.json
ext_emconf.php
ext_tables.php
ext_typoscript_constants.txt
ext_typoscript_setup.txt

README.md

powermailrecaptcha

Google recaptcha for TYPO3 powermail to prevent spam

Dependencies

  • powermail >= 5.0 and < 7.0
  • TYPO3 >= 8.7 and < 10.0
  • php >= 7.0

Installation

  • Just install this extension via composer composer require in2code/powermailrecaptcha (or oldschool)
  • Clear caches
  • Register your domain to www.google.com/recaptcha/
  • Add sitekey and secretkey to TypoScript Constants (see example below)
  • Add a field of Type Google Recaptcha to your powermail form
  • Have fun

Example for TypoScript Constants:

plugin.tx_powermailrecaptcha.sitekey = 6LdsBBUTAAAAAKMhI67inzeAvzBh5JdRRxlCwbTz
plugin.tx_powermailrecaptcha.secretkey = 6LdsBBUTAAAAAKMhaaaainzeAvzBh5JdRRxlCwbyy

Notes and best practice

Be sure to have spamshield enabled in powermail (TypoScript setup):

plugin.tx_powermail.settings.setup.spamshield._enable = 1

Keep up to date if powermail recognize spam (TypoScript setup):

# Get an email if spam was recognized
plugin.tx_powermail.settings.setup.spamshield.email = spamreceiver@yourdomain.de

# Write to a logfile when spam was recognized
plugin.tx_powermail.settings.setup.spamshield.logfileLocation = typo3temp/logs/powermailSpam.log

Changelog

Version Date Description
3.0.0 2018-07-13 Update dependencies for powermail 6.x
2.0.0 2018-02-14 Update dependencies for powermail 5.x
1.1.0 2017-11-04 Update dependencies for powermail 4.x
1.0.1 2016-08-06 Activate check only if form has a recaptcha field and not every time, some more stuff in the manual
1.0.0 2016-08-06 Initial upload - have fun