CAPTCHA for comments and registration

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

CAPTCHA for comments and registration

marlon hendred
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.

-Marlon

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

Paul Armstrong-5
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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

Guillaume Lerouge
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 <[hidden email]> 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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users



--
http://wikibc.blogspot.com/

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

marlon hendred
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 <[hidden email]> 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 <[hidden email]> 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!
<a href="http://gometric.us/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://gometric.us/
<a href="http://www.metric.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.metric.org/

_______________________________________________
users mailing list
[hidden email]
<a href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.xwiki.org/mailman/listinfo/users



--
<a href="http://wikibc.blogspot.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://wikibc.blogspot.com/

_______________________________________________
users mailing list
[hidden email]
<a href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://lists.xwiki.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

Guillaume Lerouge
CaptchaName is indeed simply an arbitrary identifier you assign to your captcha, like an ID tag. That's useful when you are using the captcha twice on the same page or on your wiki. I think you can get jcaptcha to display a "please tell me how much do 3+8" instead of an image, not sure how to achieve this though.

As for a documentation, I guess you already checked XWiki.org + the mailing list archives?

Guillaume

On 07/11/2007, marlon hendred <[hidden email]> wrote:
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 <[hidden email]> 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 <[hidden email]> 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!
<a href="http://gometric.us/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://gometric.us/
<a href="http://www.metric.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://www.metric.org/

_______________________________________________
users mailing list
[hidden email]
<a href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.xwiki.org/mailman/listinfo/users



--
<a href="http://wikibc.blogspot.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://wikibc.blogspot.com/

_______________________________________________
users mailing list
[hidden email]
<a href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://lists.xwiki.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank"> http://lists.xwiki.org/mailman/listinfo/users




--
http://wikibc.blogspot.com/

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

marlon hendred
Yes I have scowerd xwiki.org in search of some documentation on a lot
of things but have come up empty handed every time. Although the code
you gave does display the captcha with an input box, it seems that it
accepts anything. How do i verify the user has input the correct
value?

On Nov 6, 2007 11:39 PM, Guillaume Lerouge <[hidden email]> wrote:

> CaptchaName is indeed simply an arbitrary identifier you assign to your
> captcha, like an ID tag. That's useful when you are using the captcha twice
> on the same page or on your wiki. I think you can get jcaptcha to display a
> "please tell me how much do 3+8" instead of an image, not sure how to
> achieve this though.
>
> As for a documentation, I guess you already checked XWiki.org + the mailing
> list archives?
>
> Guillaume
>
>
>
>  On 07/11/2007, marlon hendred <[hidden email]> wrote:
> > 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 <[hidden email]> 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 <[hidden email]> 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
> > > > [hidden email]
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >
> > >
> > >
> > >
> > > --
> > > http://wikibc.blogspot.com/
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > >
> >
> >
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
>
>
> --
> http://wikibc.blogspot.com/
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

Guillaume Lerouge
Hi,

I'm sorry but my competencies do not go so far as to explain why this does not work... It worked for me :(

Guillaume

On 07/11/2007, marlon hendred <[hidden email]> wrote:
Yes I have scowerd xwiki.org in search of some documentation on a lot
of things but have come up empty handed every time. Although the code
you gave does display the captcha with an input box, it seems that it
accepts anything. How do i verify the user has input the correct
value?

On Nov 6, 2007 11:39 PM, Guillaume Lerouge <[hidden email]> wrote:

> CaptchaName is indeed simply an arbitrary identifier you assign to your
> captcha, like an ID tag. That's useful when you are using the captcha twice
> on the same page or on your wiki. I think you can get jcaptcha to display a
> "please tell me how much do 3+8" instead of an image, not sure how to
> achieve this though.
>
> As for a documentation, I guess you already checked XWiki.org + the mailing
> list archives?
>
> Guillaume
>
>
>
>  On 07/11/2007, marlon hendred < [hidden email]> wrote:
> > 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 <[hidden email]> 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 < [hidden email]> 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
> > > > [hidden email]
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >
> > >
> > >
> > >
> > > --
> > > http://wikibc.blogspot.com/
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > >
> >
> >
> > _______________________________________________
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
>
>
> --
> http://wikibc.blogspot.com/
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users



--
http://wikibc.blogspot.com/

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

marlon hendred
Hi,
So what documentation or resources did you read to get this working for you?

On Nov 7, 2007 1:18 AM, Guillaume Lerouge <[hidden email]> wrote:

> Hi,
>
> I'm sorry but my competencies do not go so far as to explain why this does
> not work... It worked for me :(
>
>  Guillaume
>
>
>
> On 07/11/2007, marlon hendred <[hidden email]> wrote:
> >
> >
> >
> > Yes I have scowerd xwiki.org in search of some documentation on a lot
> > of things but have come up empty handed every time. Although the code
> > you gave does display the captcha with an input box, it seems that it
> > accepts anything. How do i verify the user has input the correct
> > value?
> >
> > On Nov 6, 2007 11:39 PM, Guillaume Lerouge <[hidden email]> wrote:
> > > CaptchaName is indeed simply an arbitrary identifier you assign to your
> > > captcha, like an ID tag. That's useful when you are using the captcha
> twice
> > > on the same page or on your wiki. I think you can get jcaptcha to
> display a
> > > "please tell me how much do 3+8" instead of an image, not sure how to
> > > achieve this though.
> > >
> > > As for a documentation, I guess you already checked XWiki.org + the
> mailing
> > > list archives?
> > >
> > > Guillaume
> > >
> > >
> > >
> > >  On 07/11/2007, marlon hendred < [hidden email]> wrote:
> > > > 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 <[hidden email]> 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 < [hidden email]> 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
> > > > > > [hidden email]
> > > > > > http://lists.xwiki.org/mailman/listinfo/users
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > http://wikibc.blogspot.com/
> > > > > _______________________________________________
> > > > > users mailing list
> > > > > [hidden email]
> > > > > http://lists.xwiki.org/mailman/listinfo/users
> > > > >
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > users mailing list
> > > > [hidden email]
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > http://wikibc.blogspot.com/
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > >
> > _______________________________________________
> >
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> http://wikibc.blogspot.com/
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

marlon hendred
Hello All,
Im trying to captcha validate my register page on my xwiki because i've had a problem with spam bots. I am using the albatross skin on xwiki v1.1.1.5166. I've asked this question before, and was told by someone to look at  captcha.vm, edit.vm etc... in the dodo skins. The only thing I found related to captcha was this:

#if ($captchaPlugin)
  $captchaPlugin.displayCaptcha("edit","wiki_captcha")
#end

I added that to the registerinline.vm file and got nothing! In WEB-INF/xwiki.cfg, the captcha plugin is set to 1.

I would really appreciated it if a developer would surface and tell me how this works, what im doing wrong, or point me to some WORKING examples. Thanks.

-Marlon

On Nov 7, 2007 10:12 AM, marlon hendred <[hidden email]> wrote:
Hi,
So what documentation or resources did you read to get this working for you?

On Nov 7, 2007 1:18 AM, Guillaume Lerouge <[hidden email]> wrote:

> Hi,
>
> I'm sorry but my competencies do not go so far as to explain why this does
> not work... It worked for me :(
>
>  Guillaume
>
>
>
> On 07/11/2007, marlon hendred < [hidden email]> wrote:
> >
> >
> >
> > Yes I have scowerd xwiki.org in search of some documentation on a lot
> > of things but have come up empty handed every time. Although the code
> > you gave does display the captcha with an input box, it seems that it
> > accepts anything. How do i verify the user has input the correct
> > value?
> >
> > On Nov 6, 2007 11:39 PM, Guillaume Lerouge <[hidden email]> wrote:
> > > CaptchaName is indeed simply an arbitrary identifier you assign to your
> > > captcha, like an ID tag. That's useful when you are using the captcha
> twice
> > > on the same page or on your wiki. I think you can get jcaptcha to
> display a
> > > "please tell me how much do 3+8" instead of an image, not sure how to
> > > achieve this though.
> > >
> > > As for a documentation, I guess you already checked XWiki.org + the
> mailing
> > > list archives?
> > >
> > > Guillaume
> > >
> > >
> > >
> > >  On 07/11/2007, marlon hendred < [hidden email]> wrote:
> > > > 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 < [hidden email]> 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 < [hidden email]> 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
> > > > > > [hidden email]
> > > > > > http://lists.xwiki.org/mailman/listinfo/users

> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > http://wikibc.blogspot.com/
> > > > > _______________________________________________
> > > > > users mailing list
> > > > > [hidden email]
> > > > > http://lists.xwiki.org/mailman/listinfo/users
> > > > >
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > users mailing list
> > > > [hidden email]
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > http://wikibc.blogspot.com/
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > >
> > _______________________________________________
> >
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> http://wikibc.blogspot.com/
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
>


_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

Antonio Goncalves
Hi,
 
I'm also trying to add captcha validation to the comments. I've looked at Dodo skin and I'm trying to do the same for Albatross but it doesn't work. I've set xwiki.plugin.captcha=1 in the xwiki.cfg . Dodo uses comments.vm but it looks like the most appropriate place in Albatros is commentsinline.vm, am I right ? Then, when I copy the following code into commentsinline.vm but nothing happens
 
#if ($captchaPlugin)
  $captchaPlugin.displayCaptcha("comment","wiki_captcha")
#end

Any idea
 
2007/11/29, marlon hendred <[hidden email]>:
Hello All,
Im trying to captcha validate my register page on my xwiki because i've had a problem with spam bots. I am using the albatross skin on xwiki v1.1.1.5166. I've asked this question before, and was told by someone to look at  captcha.vm, edit.vm etc... in the dodo skins. The only thing I found related to captcha was this:

#if ($captchaPlugin)
  $captchaPlugin.displayCaptcha("edit","wiki_captcha")
#end

I added that to the registerinline.vm file and got nothing! In WEB-INF/xwiki.cfg, the captcha plugin is set to 1.

I would really appreciated it if a developer would surface and tell me how this works, what im doing wrong, or point me to some WORKING examples. Thanks.

-Marlon


On Nov 7, 2007 10:12 AM, marlon hendred <[hidden email]> wrote:
Hi,
So what documentation or resources did you read to get this working for you?

On Nov 7, 2007 1:18 AM, Guillaume Lerouge <[hidden email]> wrote:
> Hi,
>
> I'm sorry but my competencies do not go so far as to explain why this does

> not work... It worked for me :(
>
>  Guillaume
>
>
>
> On 07/11/2007, marlon hendred < [hidden email]> wrote:
> >
> >
> >
> > Yes I have scowerd <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://xwiki.org/" target="_blank">xwiki.org in search of some documentation on a lot
> > of things but have come up empty handed every time. Although the code
> > you gave does display the captcha with an input box, it seems that it
> > accepts anything. How do i verify the user has input the correct
> > value?
> >
> > On Nov 6, 2007 11:39 PM, Guillaume Lerouge <[hidden email]> wrote:
> > > CaptchaName is indeed simply an arbitrary identifier you assign to your
> > > captcha, like an ID tag. That's useful when you are using the captcha
> twice
> > > on the same page or on your wiki. I think you can get jcaptcha to
> display a
> > > "please tell me how much do 3+8" instead of an image, not sure how to
> > > achieve this though.
> > >
> > > As for a documentation, I guess you already checked XWiki.org + the
> mailing
> > > list archives?
> > >
> > > Guillaume
> > >
> > >
> > >
> > >  On 07/11/2007, marlon hendred < [hidden email]> wrote:
> > > > 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 < [hidden email]> 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 < [hidden email]> 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!
> > > > > > <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://gometric.us/" target="_blank">http://gometric.us/
> > > > > > <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.metric.org/" target="_blank"> http://www.metric.org/
> > > > > >
> > > > > > _______________________________________________
> > > > > > users mailing list
> > > > > > [hidden email]
> > > > > > <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank"> http://lists.xwiki.org/mailman/listinfo/users
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://wikibc.blogspot.com/" target="_blank">http://wikibc.blogspot.com/
> > > > > _______________________________________________
> > > > > users mailing list

> > > > > [hidden email]
> > > > > <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank">http://lists.xwiki.org/mailman/listinfo/users
> > > > >
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > users mailing list
> > > > [hidden email]
> > > > <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank">http://lists.xwiki.org/mailman/listinfo/users
> > > >

> > > >
> > >
> > >
> > >
> > > --
> > > <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://wikibc.blogspot.com/" target="_blank"> http://wikibc.blogspot.com/
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank">http://lists.xwiki.org/mailman/listinfo/users
> > >
> > >
> > _______________________________________________
> >
> > users mailing list
> > [hidden email]
> > <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank">http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://wikibc.blogspot.com/" target="_blank">http://wikibc.blogspot.com/
> _______________________________________________
> users mailing list
> [hidden email]
> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank"> http://lists.xwiki.org/mailman/listinfo/users
>
>
 


_______________________________________________
users mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.xwiki.org/mailman/listinfo/users" target="_blank">http://lists.xwiki.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

marlon hendred
Is no one going to help?

On Dec 3, 2007 3:16 AM, Antonio Goncalves <[hidden email]> wrote:
Hi,
 
I'm also trying to add captcha validation to the comments. I've looked at Dodo skin and I'm trying to do the same for Albatross but it doesn't work. I've set xwiki.plugin.captcha=1 in the xwiki.cfg . Dodo uses comments.vm but it looks like the most appropriate place in Albatros is commentsinline.vm, am I right ? Then, when I copy the following code into commentsinline.vm but nothing happens
 
#if ($captchaPlugin)
  $captchaPlugin.displayCaptcha("comment","wiki_captcha")
#end

Any idea
 
2007/11/29, marlon hendred <[hidden email]>:
Hello All,
Im trying to captcha validate my register page on my xwiki because i've had a problem with spam bots. I am using the albatross skin on xwiki v1.1.1.5166. I've asked this question before, and was told by someone to look at  captcha.vm, edit.vm etc... in the dodo skins. The only thing I found related to captcha was this:

#if ($captchaPlugin)
  $captchaPlugin.displayCaptcha("edit","wiki_captcha")
#end

I added that to the registerinline.vm file and got nothing! In WEB-INF/xwiki.cfg, the captcha plugin is set to 1.

I would really appreciated it if a developer would surface and tell me how this works, what im doing wrong, or point me to some WORKING examples. Thanks.

-Marlon


On Nov 7, 2007 10:12 AM, marlon hendred <[hidden email]> wrote:
Hi,
So what documentation or resources did you read to get this working for you?

On Nov 7, 2007 1:18 AM, Guillaume Lerouge <[hidden email]> wrote:
> Hi,
>
> I'm sorry but my competencies do not go so far as to explain why this does

> not work... It worked for me :(
>
>  Guillaume
>
>
>
> On 07/11/2007, marlon hendred < [hidden email]> wrote:
> >
> >
> >
> > Yes I have scowerd xwiki.org in search of some documentation on a lot
> > of things but have come up empty handed every time. Although the code
> > you gave does display the captcha with an input box, it seems that it
> > accepts anything. How do i verify the user has input the correct
> > value?
> >
> > On Nov 6, 2007 11:39 PM, Guillaume Lerouge <[hidden email]> wrote:
> > > CaptchaName is indeed simply an arbitrary identifier you assign to your
> > > captcha, like an ID tag. That's useful when you are using the captcha
> twice
> > > on the same page or on your wiki. I think you can get jcaptcha to
> display a
> > > "please tell me how much do 3+8" instead of an image, not sure how to
> > > achieve this though.
> > >
> > > As for a documentation, I guess you already checked XWiki.org + the
> mailing
> > > list archives?
> > >
> > > Guillaume
> > >
> > >
> > >
> > >  On 07/11/2007, marlon hendred < [hidden email]> wrote:
> > > > 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 < [hidden email]> 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 < [hidden email]> 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
> > > > > > [hidden email]
> > > > > > http://lists.xwiki.org/mailman/listinfo/users
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > http://wikibc.blogspot.com/
> > > > > _______________________________________________
> > > > > users mailing list

> > > > > [hidden email]
> > > > > http://lists.xwiki.org/mailman/listinfo/users
> > > > >
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > users mailing list
> > > > [hidden email]
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >

> > > >
> > >
> > >
> > >
> > > --
> > > http://wikibc.blogspot.com/
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > >
> > _______________________________________________
> >
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> http://wikibc.blogspot.com/
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
>
 


_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

marlon hendred
Antonio,
Were you able to get this working?

On Dec 18, 2007 4:17 PM, marlon hendred <[hidden email]> wrote:
Is no one going to help?


On Dec 3, 2007 3:16 AM, Antonio Goncalves <[hidden email]> wrote:
Hi,
 
I'm also trying to add captcha validation to the comments. I've looked at Dodo skin and I'm trying to do the same for Albatross but it doesn't work. I've set xwiki.plugin.captcha=1 in the xwiki.cfg . Dodo uses comments.vm but it looks like the most appropriate place in Albatros is commentsinline.vm, am I right ? Then, when I copy the following code into commentsinline.vm but nothing happens
 
#if ($captchaPlugin)
  $captchaPlugin.displayCaptcha("comment","wiki_captcha")
#end

Any idea
 
2007/11/29, marlon hendred <[hidden email]>:
Hello All,
Im trying to captcha validate my register page on my xwiki because i've had a problem with spam bots. I am using the albatross skin on xwiki v1.1.1.5166. I've asked this question before, and was told by someone to look at  captcha.vm, edit.vm etc... in the dodo skins. The only thing I found related to captcha was this:

#if ($captchaPlugin)
  $captchaPlugin.displayCaptcha("edit","wiki_captcha")
#end

I added that to the registerinline.vm file and got nothing! In WEB-INF/xwiki.cfg, the captcha plugin is set to 1.

I would really appreciated it if a developer would surface and tell me how this works, what im doing wrong, or point me to some WORKING examples. Thanks.

-Marlon


On Nov 7, 2007 10:12 AM, marlon hendred <[hidden email]> wrote:
Hi,
So what documentation or resources did you read to get this working for you?

On Nov 7, 2007 1:18 AM, Guillaume Lerouge <[hidden email]> wrote:
> Hi,
>
> I'm sorry but my competencies do not go so far as to explain why this does

> not work... It worked for me :(
>
>  Guillaume
>
>
>
> On 07/11/2007, marlon hendred < [hidden email]> wrote:
> >
> >
> >
> > Yes I have scowerd xwiki.org in search of some documentation on a lot
> > of things but have come up empty handed every time. Although the code
> > you gave does display the captcha with an input box, it seems that it
> > accepts anything. How do i verify the user has input the correct
> > value?
> >
> > On Nov 6, 2007 11:39 PM, Guillaume Lerouge <[hidden email]> wrote:
> > > CaptchaName is indeed simply an arbitrary identifier you assign to your
> > > captcha, like an ID tag. That's useful when you are using the captcha
> twice
> > > on the same page or on your wiki. I think you can get jcaptcha to
> display a
> > > "please tell me how much do 3+8" instead of an image, not sure how to
> > > achieve this though.
> > >
> > > As for a documentation, I guess you already checked XWiki.org + the
> mailing
> > > list archives?
> > >
> > > Guillaume
> > >
> > >
> > >
> > >  On 07/11/2007, marlon hendred < [hidden email]> wrote:
> > > > 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 < [hidden email]> 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 < [hidden email]> 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
> > > > > > [hidden email]
> > > > > > http://lists.xwiki.org/mailman/listinfo/users
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > http://wikibc.blogspot.com/
> > > > > _______________________________________________
> > > > > users mailing list

> > > > > [hidden email]
> > > > > http://lists.xwiki.org/mailman/listinfo/users
> > > > >
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > users mailing list
> > > > [hidden email]
> > > > http://lists.xwiki.org/mailman/listinfo/users
> > > >

> > > >
> > >
> > >
> > >
> > > --
> > > http://wikibc.blogspot.com/
> > > _______________________________________________
> > > users mailing list
> > > [hidden email]
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> > >
> > _______________________________________________
> >
> > users mailing list
> > [hidden email]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> http://wikibc.blogspot.com/
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
>
 


_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users




_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

Sergiu Dumitriu-2
In reply to this post by marlon hendred
I will, but after the 1.2 release.

Sergiu

marlon hendred wrote:

> Is no one going to help?
>
> On Dec 3, 2007 3:16 AM, Antonio Goncalves <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi,
>      
>     I'm also trying to add captcha validation to the comments. I've
>     looked at Dodo skin and I'm trying to do the same for Albatross but
>     it doesn't work. I've set xwiki.plugin.captcha=1 in the xwiki.cfg .
>     Dodo uses comments.vm but it looks like the most appropriate place
>     in Albatros is commentsinline.vm, am I right ? Then, when I copy the
>     following code into commentsinline.vm but nothing happens
>      
>     #if ($captchaPlugin)
>       $captchaPlugin.displayCaptcha("comment","wiki_captcha")
>     #end
>
>     Any idea
>      
>     2007/11/29, marlon hendred <[hidden email]
>     <mailto:[hidden email]>>:
>
>         Hello All,
>         Im trying to captcha validate my register page on my xwiki
>         because i've had a problem with spam bots. I am using the
>         albatross skin on xwiki v1.1.1.5166. I've asked this question
>         before, and was told by someone to look at  captcha.vm, edit.vm
>         etc... in the dodo skins. The only thing I found related to
>         captcha was this:
>
>         #if ($captchaPlugin)
>           $captchaPlugin.displayCaptcha("edit","wiki_captcha")
>         #end
>
>         I added that to the registerinline.vm file and got nothing! In
>         WEB-INF/xwiki.cfg, the captcha plugin is set to 1.
>
>         I would really appreciated it if a developer would surface and
>         tell me how this works, what im doing wrong, or point me to some
>         WORKING examples. Thanks.
>
>         -Marlon
>
>
>         On Nov 7, 2007 10:12 AM, marlon hendred <[hidden email]
>         <mailto:[hidden email]>> wrote:
>
>             Hi,
>             So what documentation or resources did you read to get this
>             working for you?
>
>             On Nov 7, 2007 1:18 AM, Guillaume Lerouge
>             <[hidden email] <mailto:[hidden email]>> wrote:
>             >  Hi,
>             >
>             >  I'm sorry but my competencies do not go so far as to
>             explain why this does
>             >  not work... It worked for me :(
>             >
>             >   Guillaume
>             >
>             >
>             >
>             >  On 07/11/2007, marlon hendred < [hidden email]
>             <mailto:[hidden email]>> wrote:
>             >  >
>             >  >
>             >  >
>             >  > Yes I have scowerd xwiki.org <http://xwiki.org/> in
>             search of some documentation on a lot
>             >  > of things but have come up empty handed every time.
>             Although the code
>             >  > you gave does display the captcha with an input box, it
>             seems that it
>             >  > accepts anything. How do i verify the user has input the
>             correct
>             >  > value?
>             >  >
>             >  > On Nov 6, 2007 11:39 PM, Guillaume Lerouge
>             <[hidden email] <mailto:[hidden email]>> wrote:
>             >  > > CaptchaName is indeed simply an arbitrary identifier
>             you assign to your
>             >  > > captcha, like an ID tag. That's useful when you are
>             using the captcha
>             >  twice
>             >  > > on the same page or on your wiki. I think you can get
>             jcaptcha to
>             >  display a
>             >  > > "please tell me how much do 3+8" instead of an image,
>             not sure how to
>             >  > > achieve this though.
>             >  > >
>             >  > > As for a documentation, I guess you already checked
>             XWiki.org + the
>             >  mailing
>             >  > > list archives?
>             >  > >
>             >  > > Guillaume
>             >  > >
>             >  > >
>             >  > >
>             >  > >  On 07/11/2007, marlon hendred < [hidden email]
>             <mailto:[hidden email]>> wrote:
>             >  > > > 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 < [hidden email]
>             <mailto:[hidden email]>> 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 < [hidden email]
>             <mailto:[hidden email]>> 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

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

marlon hendred
Thank you soooooooooooooooo much!!!

On Dec 19, 2007 12:21 AM, Sergiu Dumitriu <[hidden email]> wrote:
I will, but after the 1.2 release.

Sergiu

marlon hendred wrote:
> Is no one going to help?
>
> On Dec 3, 2007 3:16 AM, Antonio Goncalves <[hidden email]
> <mailto:[hidden email]>> wrote:

>
>     Hi,
>
>     I'm also trying to add captcha validation to the comments. I've
>     looked at Dodo skin and I'm trying to do the same for Albatross but
>     it doesn't work. I've set xwiki.plugin.captcha=1 in the xwiki.cfg .
>     Dodo uses comments.vm but it looks like the most appropriate place
>     in Albatros is commentsinline.vm, am I right ? Then, when I copy the
>     following code into commentsinline.vm but nothing happens
>
>     #if ($captchaPlugin)
>       $captchaPlugin.displayCaptcha("comment","wiki_captcha")
>     #end
>
>     Any idea
>
>     2007/11/29, marlon hendred <[hidden email]
>     <mailto:[hidden email]>>:
>

>         Hello All,
>         Im trying to captcha validate my register page on my xwiki
>         because i've had a problem with spam bots. I am using the
>         albatross skin on xwiki v1.1.1.5166. I've asked this question
>         before, and was told by someone to look at  captcha.vm, edit.vm
>         etc... in the dodo skins. The only thing I found related to
>         captcha was this:
>
>         #if ($captchaPlugin)
>           $captchaPlugin.displayCaptcha("edit","wiki_captcha")
>         #end
>
>         I added that to the registerinline.vm file and got nothing! In
>         WEB-INF/xwiki.cfg, the captcha plugin is set to 1.
>
>         I would really appreciated it if a developer would surface and
>         tell me how this works, what im doing wrong, or point me to some
>         WORKING examples. Thanks.
>
>         -Marlon
>
>
>         On Nov 7, 2007 10:12 AM, marlon hendred <[hidden email]
>         <mailto:[hidden email]>> wrote:
>
>             Hi,
>             So what documentation or resources did you read to get this
>             working for you?
>
>             On Nov 7, 2007 1:18 AM, Guillaume Lerouge
>             <[hidden email] <mailto:[hidden email]>> wrote:
>             >  Hi,
>             >
>             >  I'm sorry but my competencies do not go so far as to
>             explain why this does
>             >  not work... It worked for me :(
>             >
>             >   Guillaume
>             >
>             >
>             >
>             >  On 07/11/2007, marlon hendred < [hidden email]
>             <mailto:[hidden email]>> wrote:
>             >  >
>             >  >
>             >  >
>             >  > Yes I have scowerd xwiki.org <http://xwiki.org/> in
>             search of some documentation on a lot
>             >  > of things but have come up empty handed every time.
>             Although the code
>             >  > you gave does display the captcha with an input box, it
>             seems that it
>             >  > accepts anything. How do i verify the user has input the
>             correct
>             >  > value?
>             >  >
>             >  > On Nov 6, 2007 11:39 PM, Guillaume Lerouge
>             <[hidden email] <mailto:[hidden email]>> wrote:

>             >  > > CaptchaName is indeed simply an arbitrary identifier
>             you assign to your
>             >  > > captcha, like an ID tag. That's useful when you are
>             using the captcha
>             >  twice
>             >  > > on the same page or on your wiki. I think you can get
>             jcaptcha to
>             >  display a
>             >  > > "please tell me how much do 3+8" instead of an image,
>             not sure how to
>             >  > > achieve this though.
>             >  > >
>             >  > > As for a documentation, I guess you already checked
>             XWiki.org + the
>             >  mailing
>             >  > > list archives?
>             >  > >
>             >  > > Guillaume
>             >  > >
>             >  > >
>             >  > >
>             >  > >  On 07/11/2007, marlon hendred < [hidden email]
>             <mailto:[hidden email]>> wrote:

>             >  > > > 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 < [hidden email]
>             <mailto:[hidden email]>> 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 < [hidden email]
>             <mailto:[hidden email]>> 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

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

Sachin Mittal
Following is needed to get the Captcha working on say user registration page:
1. For display
inside the form that submits the user registration information add the following:
<form action="verifyCaptcha" >
...
## declare the plugin
#set($captchaPlugin = $xwiki.jcaptcha)
#if ($captchaPlugin)
##call the displayCaptcha pass the class name as "register_captcha" which should map to the css classname to render the image
##pass the name as edit
##and under http://<host>:<port>/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object&
##under XWiki.XWikiPreferences[0]: XWiki.DefaultSkin select the values for Anonymous: and Registered: as image or text
  $captchaPlugin.displayCaptcha("edit","register_captcha")
#end

...
</form>

2. For Validation in the vm file that is called from "verifyCaptcha" action
add the following:
## declare the plugin
#set($captchaPlugin = $xwiki.jcaptcha)
#if ($captchaPlugin)
##call the verifyCaptcha
  #if($captchaPlugin.verifyCaptcha("edit"))
##register the user
    #$xwiki.createUser(false)
  #else
##display some error
    #error("$msg.get('core.register.registerFailed', [$reg])")
   #end
#end


*note: by default in register use the RegisterAction is called which by default does not verify captcha. However same is done in other actions like PreviewAction,CommentAddAction and SaveAction.

Again all this may not be easy for users of xwiki as to add Captcha to registration page progmaing knowledge is required.

Thanks
Sachin
Reply | Threaded
Open this post in threaded view
|

Re: CAPTCHA for comments and registration

maxelcat
PLEASE HELP - REALLY STUCK

I am trying to get a captcha field to verify

I have (I think) fully carried out step 1 from Sachin's reply in the file registerinline.vm in my xwiki. The captcha field appears with an input box.

I now want to add part 2 - but I can't work out where to put the code (is it in the same vm file, and if not which one?). Sachin says "For Validation in the vm file that is called from "verifyCaptcha" action
add the following:" - but I can't work out which vm file to put it in.



Sachin Mittal wrote
Following is needed to get the Captcha working on say user registration page:
1. For display
inside the form that submits the user registration information add the following:
<form action="verifyCaptcha" >
...
## declare the plugin
#set($captchaPlugin = $xwiki.jcaptcha)
#if ($captchaPlugin)
##call the displayCaptcha pass the class name as "register_captcha" which should map to the css classname to render the image
##pass the name as edit
##and under http://<host>:<port>/xwiki/bin/edit/XWiki/XWikiPreferences?editor=object&
##under XWiki.XWikiPreferences[0]: XWiki.DefaultSkin select the values for Anonymous: and Registered: as image or text
  $captchaPlugin.displayCaptcha("edit","register_captcha")
#end

...
</form>

2. For Validation in the vm file that is called from "verifyCaptcha" action
add the following:
## declare the plugin
#set($captchaPlugin = $xwiki.jcaptcha)
#if ($captchaPlugin)
##call the verifyCaptcha
  #if($captchaPlugin.verifyCaptcha("edit"))
##register the user
    #$xwiki.createUser(false)
  #else
##display some error
    #error("$msg.get('core.register.registerFailed', [$reg])")
   #end
#end


*note: by default in register use the RegisterAction is called which by default does not verify captcha. However same is done in other actions like PreviewAction,CommentAddAction and SaveAction.

Again all this may not be easy for users of xwiki as to add Captcha to registration page progmaing knowledge is required.

Thanks
Sachin

Reply | Threaded
Open this post in threaded view
|

Crippled russian l10n.

Николаев Дмитрий
Hello everybody. I've set up Xwiki 1.9.21179 on Ubuntu 8.04, configured
it to use Russian localisation (language: ru, default language: ru). But
signs on many buttons are not shown. For example, the "rollback" button
in history disappeared. When I switch back to English
all signs appear again.

What log files do I need to examine to figure out the problem? Thanks in
advance.
Dmitry
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users