[TYPO3] CAPTCHA for ve_guestbook

Robert Markula robert.markula at gmx.net
Thu Mar 8 16:44:17 CET 2007


Harald Amelung schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Bing,
> 
> Bing Du schrieb:
>> cannot find any versions later than that.  Do I have to modify the source
>> code of ve_guestbook to add captcha?  Any ideas?
> 
> Did you also install the captcha-extension? Afaik it should include
> automatically into your guestbook.
> 
> http://typo3.org/extensions/repository/view/sr_freecap/0.4.6/

You are right, in the guestbook captcha is automatically enabled as soon 
as the captcha-extension is installed.

Only one thing to consider, if you use a modified template for 
ve_guestbook, make sure the following subpart marker is present in the 
template (something like that):

<!--###CAPTCHA_INSERT### this subpart is removed if CAPTCHA is not 
enabled! -->
	<fieldset>
                 <legend>Confirmation code:</legend>
		<div class="ve_guestbook_captcha">
			<p>Please enter the word that is shown in the image:</p>
			<div>###SR_FREECAP_IMAGE###</div>
			<label 
for="tx-guestbook-form-inputfield-med">###SR_FREECAP_NOTICE###</label>
				<input type="text" size="15" 
name="tx_veguestbook_pi1[captcha_response]" 
id="tx-guestbook-form-inputfield-med" value="" />
			<p>###SR_FREECAP_CANT_READ###</p>
		</div>
	</fieldset>
<!--###CAPTCHA_INSERT###-->

Cheers,
Ro


More information about the TYPO3-english mailing list