[pmwiki-users] captcha & newpageboxplus & newgroupbox
design5 at softflow.co.uk
Sun Apr 27 03:41:44 CDT 2008
Sunday, April 27, 2008, 9:11:46 AM, adam overton wrote:
> i've got captcha working great with foxcommentbox, so i think my
> settings are correct. right now, the captcha shows up on the page,
> but even if no captcha is entered, a new page or new group still gets
> created. i get the feeling that since the submit button is embedded
> inside newpageboxplus & newgroupbox, that maybe the form is starting
> & ending too soon for the captcha to come into play(??)
You would need to change newpageboxplus.php similar as it is done in
commentboxplus.php, so the captcha fields are added to the form.
Add something like the following ca. line 60
(isset($EnablePostCaptchaRequired) ? "<input type='hidden' name='captchakey' value='\$CaptchaKey' />
Enter code: <em class='access'>\$Captcha </em><input type='text' name='\$CaptchaName' size='5' class='inputbox' /> " : "").
More information about the pmwiki-users