plugin:captcha
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:captcha [2016-12-20 11:33] – [Changes] - add php7 example 212.167.5.6 | plugin:captcha [2023-12-06 23:50] (current) – version upped andi | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : andi@splitbrain.org | email : andi@splitbrain.org | ||
type : action, helper | type : action, helper | ||
- | lastupdate : 2016-07-06 | + | lastupdate : 2023-12-06 |
- | compatible : Elenor Of Tsort, Detritus, Binky, Ponder Stibbons, Hrun | + | compatible : Elenor Of Tsort, Detritus, Binky, Ponder Stibbons, Hrun, " |
depends | depends | ||
conflicts | conflicts | ||
Line 25: | Line 25: | ||
===== Download ===== | ===== Download ===== | ||
- | Download | + | Search and install |
==== Changes ==== | ==== Changes ==== | ||
Line 51: | Line 51: | ||
The **audio** method improves the accessibility of the image CAPTCHA by adding a .wav download. The .wav file plays the letters of the CAPTCHA read in the [[wp> | The **audio** method improves the accessibility of the image CAPTCHA by adding a .wav download. The .wav file plays the letters of the CAPTCHA read in the [[wp> | ||
+ | |||
+ | The **svg** method works similar to the image method, but creates an inline SVG of the random letters. It should be much easier to read for humans. Until spammers catch up OCR' | ||
+ | |||
+ | The **svgaudio** method combines the svg method with the audio method, providing an alternative audio version next to the SVG image. | ||
The **figlet** method creates an ASCII art rendering of the text. It has very bad accessibility and is relatively easy to defeat by a script, but is funny to look at ;-) | The **figlet** method creates an ASCII art rendering of the text. It has very bad accessibility and is relatively easy to defeat by a script, but is funny to look at ;-) | ||
Line 85: | Line 89: | ||
Use this function to check if the CAPTCHA was filled correctly. It returns '' | Use this function to check if the CAPTCHA was filled correctly. It returns '' | ||
+ | |||
+ | ==== Example ==== | ||
+ | <code php> | ||
+ | //add captcha if available | ||
+ | /** @var helper_plugin_captcha $captcha */ | ||
+ | $captcha = $this-> | ||
+ | if ($captcha && $captcha-> | ||
+ | $form-> | ||
+ | } | ||
+ | |||
+ | ... | ||
+ | |||
+ | /** @var helper_plugin_captcha $captcha */ | ||
+ | $captcha = $this-> | ||
+ | if ($captcha && $captcha-> | ||
+ | $captchaok = $captcha-> | ||
+ | } | ||
+ | </ | ||
===== FAQ ===== | ===== FAQ ===== | ||
- | ==== It's installed but I see no CAPTCHA ==== | + | ==== It's installed but I see no CAPTCHA? ==== |
Read the documentation again. The default settings **js** method uses a [[http:// | Read the documentation again. The default settings **js** method uses a [[http:// | ||
- |
plugin/captcha.1482230021.txt.gz · Last modified: 2016-12-20 11:33 by 212.167.5.6