Wie verwende ich captcha, sr_freecap und recaptcha in TYPO3
Zitat:
|
Zitat von Reinhard Führicht
Usage of captcha:
- add marker ###CAPTCHA### to your html template. This marker will be
replaced by the captcha image.
- add html code for an input field for the user to type the captcha text.
example: <.input type="text" name="captchafield" /> (bitte Punkt "." entfernen)
- optional: add marker for error message:
example: ###error_captchafield###
- enter name of captcha field in typoscript.
example: plugin.tx_thmailformplus_pi1.captchaFieldname = captchafield
- optional: Define error messages in language file or html template.
template:
in subpart ###TEMPLATE_ERROR### Please enter text seen in the image!
language file:
...
'error_captchafield' => 'Please enter text
seen in the image!'
... |
Zitat:
|
Zitat von Reinhard Führicht
Usage of sr_freecap:
- copy needed subpart from the mailformplus or freecap manual into your
html template
- optional: add marker for error messages (see usage of captcha)
- enter name of captcha field in typoscript.
example: plugin.tx_thmailformplus_pi1.freecapFieldname = captchafield |
Zitat:
|
Zitat von Reinhard Führicht
Usage of recaptcha:
- register an account on reCAPTCHA: Stop Spam, Read Books an get a public and private
key for your domain
- enter the keys in typoscript
plugin.tx_jmrecaptcha {
public_key = xxxxxxxxxxxxxxxxxxxx
private_key = xxxxxxxxxxxxxxxxxxx
}
- enter recaptcha fieldname in typoscript and activate usage of jm_recaptcha
plugin.tx_thmailformplus_pi1.recaptchaFieldname = recaptcha_response_field
plugin.tx_thmailformplus_pi1.useRecaptcha = 1
- add marker ###RECAPTCHA### to your html template
- optional: add marker for error messages (see usage of other captcha
extensions) |
Danke an Reinhard Führicht