[pmwiki-users] who can help with this problem?
John Rankin
john.rankin at affinity.co.nz
Mon Apr 11 01:07:19 CDT 2011
On 11/04/11 5:54 PM, P.K.H. Gragert wrote:
>
> Hi,
>
> Who will help me with this problem:
>
> I am using commentboxplus and want it with captcha (captcha.php is
> included via the farmconfig.php).
>
> If I set
>
> $EnablePostCaptchaRequired = 1;
>
> In the farmconfig the captcha is shown, so it works. Fine!
>
> But when I want to edit a page, which got a password for editing, I
> can not save that page because
> of an red message: Must enter valid code
> BUT WHERE?????
>
Try:
if ($action!='edit') $EnablePostCaptchaRequired = 1;
This should require a captcha for the comment box, but not for editing.
JR
--
John Rankin
Affinity Limited
T 64 4 495 3737
F 64 4 473 7991
M 021 RANKIN
john.rankin at affinity.co.nz
www.affinity.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20110411/9bcfd0f0/attachment.html>
More information about the pmwiki-users
mailing list