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
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users