[pmwiki-users] problems with Captcha
Chris Carter
ccarter at lbcc.edu
Fri Sep 21 18:06:29 CDT 2007
Hi,
I seem to have posted during a slow time with the group so I want to try
again. Can anyone help with this...? Thanks.
Dear PmWiki users,
I'm having problems with the Captcha recipe. Below I have pasted code
from conifg.php and Site.EditForm. When I try to edit, all I get is
"Must enter valid code." However, there is no input box, captcha code
or submit button. Am I missing something? Any suggestions?
Thanks.
Added to config.php:
include_once('cookbook/captcha.php');
$EnableCaptchaImage=1;
$EnablePostCaptchaRequired = 1;
Code from Site.EditForm (with Captcha added):
!!$[Editing {*$FullName}] %block class=wikiaction%
(:input form action={*$PageUrl} method=post:)
Enter value: {$Captcha} (:input captcha:)
(:input submit:)
(:input end:)
(:messages:)
(:div id='wikiedit':)
(:input e_form:)[[#top]](:e_guibuttons:)\\
(:input e_textarea:)\\
$[Summary]: (:input e_changesummary:)\\
$[Author]: (:input e_author:) (:input e_minorcheckbox:) $[This is a
minor edit]\\
(:input e_savebutton:) (:input e_saveeditbutton:) (:input
e_savedraftbutton:) (:input e_previewbutton:) (:input e_cancelbutton:)
(:input end:)
(:divend:)
(:include $[{$SiteGroup}/EditQuickReference]:)
(:if e_preview:)
!!$[Preview {*$FullName}]
'''$[Page is unsaved]'''
(:e_preview:)
----
'''$[End of preview -- remember to save]'''\\
[[#top | $[Top] ]]
(:if:)
Chris Carter
_______________________________________________
pmwiki-users mailing list
pmwiki-users at pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
More information about the pmwiki-users
mailing list