Skip to content

Lagerregal42/invisiblerecaptcha

 
 

Repository files navigation

invisiblerecaptcha

Google invisible recaptcha for TYPO3 powermail to prevent spam

Dependencies

  • powermail >= 3.9 and < 5.0
  • TYPO3 >= 7.6 and < 9.0
  • php >= 5.5

Installation

  • Just install this extension - e.g. composer require in2code/invisiblerecaptcha or download it and install it with the old way
  • Clear caches
  • Register your domain to www.google.com/recaptcha/
  • Add sitekey and secretkey to TypoScript Constants (see example below)
  • Replace your submit button with the new field type "Google Invisible Recaptcha"
  • Have fun

Example for TypoScript Constants:

plugin.tx_invisiblerecaptcha.sitekey = 6LdsBBUTAAAAAKMhI67inzeAvzBh5JdRRxlCwbTz
plugin.tx_invisiblerecaptcha.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 = [email protected]

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

Changelog

Version Date Description
1.1.0 2017-11-04 Update dependencies for powermail 4.x
1.0.0 2017-03-13 Initial upload - have fun

About

Invisible recaptcha for powermail 3.x

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 65.9%
  • HTML 34.1%