Support of Previewing
Smc Jan 12 2007 - Just tried this and have the following observations which IMHO would make this recipe very useful. Captcha does not support the 'Preview'ing a page without entering in a code. Once you do that, the code changes, so authors need to keep entering new codes every time they Preview. Recommend excluding page preview from Captcha check.
Support for beta65
Feb 22, 2008 - Beta65 doesn't seem to be working with captcha in the edit form. I did the same thing to implement it, using the Site.EditForm. But while it worked in earlier versions, now the captcha code doesn't appear in the edit form under the text area.
DaveG 17-Jul-2009: Captcha appears to work in the recent versions of PmWiki. Let us know if you still have problems.
Entered code is always wrong
Peter Kay Nov 11, 2009: I was surprised to find that cookies were required for the captcha to work. Moreover, the page must be loaded while cookies are enabled. Don't know if that helps.
Does not work for me in pmwiki2.2.2
'''JJ? 07/30/09:I install everything as instructed, add the markup to Site.EditForm, preview Site.EditForm and the Enter value: line shows up with a captcha code generated. I save the Site.Editform, and the Enter value line never again shows up when I edit anything. A red message reading "must enter valid code" is displayed, and now, unless I disable captcha in my config.php, I can never edit anything again because i am unable to enter a captcha code...so basically it will not work for me. I am using fixflow skin.
And just what is necessary on a server for the colored images to work?
Mark? 31st July 2008, 09:34 PM: [UK] Tried this cookbook a couple of times however there seems to be an issue I copied the code written on this page but for some reason no numbers appear. I tried this code previously and I think it may of worked once.
The Weird thing is if I use preview I get to see the numbers. I am using the triad skin.
How to make it work only on some pages...
I'm thinking of
Not working in 2.2.4
This is recipe is great. However, I meet a problem to show image.
The browser complains: "The image cannot be displayed because it contains error.".
My PHP is able to output text to image, because the following code is running OK.
<?php header("Content-type: image/png"); $im = @imagecreatetruecolor(500, 90) or die("Cannot Initialize new GD image stream"); $text_color = imagecolorallocate($im, 233, 104, 191); imagestring($im, 5, 5, 5, "A Simple Text String, Oh yeah!", $text_color); imagepng($im); imagedestroy($im); ?>
This is the output.
I cannot figure out the problem of this recipe, but an image for CAPTCHA is essential. Anyone could help?
Thanks, Chandler (toliuch (at) gmail)