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