[pmwiki-users] captcha & fox problem

adam overton a at plus1plus1plus.org
Fri Mar 21 03:15:06 CDT 2008


ooooo, hans,,,
this works even better - not only does it prevent those nasty codes  
from appearing on edit pages, it also means i don't have to enter any  
codes if i'm logged in. amazing.
thanks!
adam


On 21 Mar 2008, at 12:53 AM, Hans wrote:

> Friday, March 21, 2008, 7:32:50 AM, adam overton wrote:
>
>> it appears the $EnablePostCaptchaRequired affects the entire site,
>> making every page require a captcha code. is there a way to subvert
>> that? i don't want to enter captcha codes when i'm editing, but do
>> want it for the 2 pages with comment boxes.
>
> yes it is annoying!
> try this in config.php
>
> $EnablePostCaptchaRequired = 1;
> if (CondAuth($pagename,'edit'))
>        $EnablePostCaptchaRequired = 0;
> include_once('cookbook/captcha.php');
>
>
>
>   ~Hans
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080321/b7a99350/attachment-0001.html 


More information about the pmwiki-users mailing list