[xwiki-users] CAPTCHA for comments and registration

marlon hendred mhendred at gmail.com
Wed Nov 7 01:38:47 CET 2007


Thanks for the response. So I got the captcha to show up but I still have
some questions.

what is "CaptchaName"? Just an arbitrary string? and what args does
displayCaptcha() take? What other methods does jcaptcha have? Is there some
sort of documentation somewhere that I could look at on this? Thanks



On 11/6/07, Guillaume Lerouge <guillaume at xwiki.com> wrote:
>
> You can use this (with the plugin enabled):
> #if ($xwiki.jcaptcha.verifyCaptcha("CaptchaName"))
>
> The code for the action that needs to be captcha protected goes here (like
> for sending a form for instance)
>
> <form ...>
>
> ##$xwiki.jcaptcha.displayCaptcha("CaptchaName", "") <br />
> #if ($context.user=="XWiki.XWikiGuest") <img style="border: solid 1px
> #000000" src="$doc.getURL("jcaptcha")"> <br /> Please type the captcha
> below:* <br /> <input size="40" type="text" name="jcaptcha_response" /> <br
> /> #end
> <input type="hidden" name="demande" value="1" /> <input type="submit"
> value="Send"> </form> #end
>
>
> Hope this helps
>
> Guillaume
>
> On 06/11/2007, Paul Armstrong <xwiki at otoh.org> wrote:
>
> > On Mon, Nov 05, 2007 at 03:52:16PM -0800, marlon hendred wrote:
> > > Hi, can someone help me with setting up CAPTCHA with the albatross
> > skin for
> > > registration and comments? Is there some example code I could look at?
> > Or if
> > > someone has this working could they give some guidence? I have the
> > captcha
> > > plugin enabled but I'm kinda stuck on what to do next. Thanks in
> > advance.
> >
> > Look in the dodo skin files.
> > Particularly:
> > captcha.vm
> > comments.vm
> > edit.vm
> > wysiwyg.vm
> >
> > Paul
> >
> > --
> > End dual-measurement, let's finish going metric!
> > http://gometric.us/
> > http://www.metric.org/
> >
> > _______________________________________________
> > users mailing list
> > users at xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> http://wikibc.blogspot.com/
>
> _______________________________________________
> users mailing list
> users at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20071106/4f95d097/attachment.html 


More information about the users mailing list