[pmwiki-users] Captcha
    Hans 
    design5 at softflow.co.uk
       
    Sun May 11 16:42:35 CDT 2008
    
    
  
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
    
    
More information about the pmwiki-users
mailing list