<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 11/04/11 5:54 PM, P.K.H. Gragert wrote:
<blockquote
cite="mid:000301cbf80c$fcc7f550$f657dff0$@k.h.gragert@misc.utwente.nl"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-mailStijl17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Who will help me with
this problem:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am using
commentboxplus and want it with captcha (captcha.php is
included via the farmconfig.php).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If I set <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">$EnablePostCaptchaRequired
= 1;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In the farmconfig the
captcha is shown, so it works. Fine!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But when I want to edit
a page, which got a password for editing, I can not save
that page because<br>
of an red message: <span style="color: red;">Must enter
valid code</span> <br>
BUT WHERE?????</span></p>
</div>
</blockquote>
Try:<br>
<br>
if ($action!='edit') <span lang="EN-US">$EnablePostCaptchaRequired
= 1;<br>
<br>
This should require a captcha for the comment box, but not for
editing.<br>
<br>
JR</span><br>
<pre class="moz-signature" cols="72">--
John Rankin
Affinity Limited
T 64 4 495 3737
F 64 4 473 7991
M 021 RANKIN
<a class="moz-txt-link-abbreviated" href="mailto:john.rankin@affinity.co.nz">john.rankin@affinity.co.nz</a>
<a class="moz-txt-link-abbreviated" href="http://www.affinity.co.nz">www.affinity.co.nz</a></pre>
</body>
</html>