Difference between revisions of "Nats display captcha"
From TMM Wiki
Jump to navigationJump to searchTmmStephen (talk | contribs) |
TmmStephen (talk | contribs) |
||
Line 8: | Line 8: | ||
Displays [[CAPTCHA|CAPTCHA]] form with a provided key name. The form will display the [[CAPTCHA|CAPTCHA]] image and the input option. This captcha would only be available on the template it is set under | Displays [[CAPTCHA|CAPTCHA]] form with a provided key name. The form will display the [[CAPTCHA|CAPTCHA]] image and the input option. This captcha would only be available on the template it is set under | ||
− | Alias: | + | Alias: display_captcha |
__TOC__ | __TOC__ |
Revision as of 10:40, 6 March 2014
Applies to NATS 4.1.8.1 and greater.
nats_display_captcha
Displays CAPTCHA form with a provided key name. The form will display the CAPTCHA image and the input option. This captcha would only be available on the template it is set under
Alias: display_captcha
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
name | the name of the CAPTCHA key name | Any Alpha Numeric Value under 256 characters | Set to blank, will use default key value | name="join" |
ssl | Set variable is call to "captcha_image.php" with "https://" | 1 or 0 | 0 | ssl="1" |
Output
Outputs the site template "captcha_form". This template will run a call to the captcha_image.php page to provide an image.
Notes
NOTE: If you do not set a name value than the key will be set to blank which means that other join pages may attempt to request for CAPTCHA confirmation even if the form is not provided.