[pmwiki-users] Captcha

Mark Trumpold mark at ruthtrumpold.id.au
Mon May 12 05:39:44 CDT 2008


On 12/05/2008, at 12:42 AM, Hans wrote:

> Sunday, May 11, 2008, 7:25:58 PM, Mark Trumpold wrote:
>
>> Cam i place a captcha just on one page, eg the guestbook? If so how?
>
> If you use Cookbook:Guestbook you need to add  HTML code for the
> captcha support intop the guestbook.php script into its  
> $GuestbookTagFmt
> variable definition.
>
> Try adding something like this
>
> <tr><td class='prompt' align='right' valign='top'>
> <input type='hidden' name='captchakey' value='\$CaptchaKey' />
> Enter code: <em class='access'>\$Captcha </em></td>
> <td><input type='text' name='\$CaptchaName' size='5'  
> class='inputbox'></td></tr>
>
> and also install Cookbook:Captcha
> which you could just install for the Guestbook page like
>
> if ($pagename=='Guestbook.Homepage') {
>    $EnablePostCaptchaRequired = 1;
>    include_once('cookbook/captcha.php');
> }
>
>   ~Hans
>

Hi Hans

Thanks I am almost there however the captcha code doesn't show.
http://www.ruthtrumpold.id.au/itgswiki/pmwiki.php?n=Guestbook.Homepage

Cheers

Mark



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080512/9b19a4c3/attachment.html 


More information about the pmwiki-users mailing list