Discussion:
Captcha Module
Sean Zheng
2010-07-05 22:42:25 UTC
Permalink
Hi All,

I have been able to rebuild Captcha module for 4.3.2 and install it and
JCaptcha jar.

Now I need add a field to type in captcha and show the image.

The module documentation is saying "Now edit your form's JSP to add the
captcha." and "check the value entered by the user on the form handler". I
guess I should do this in Magnolia source codes, but I am really confused
which modules the jsps are in.

Kindly anyone help me out?
--
View this message in context: http://old.nabble.com/Captcha-Module-tp29080394p29080394.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe-O8DnXSz/***@public.gmane.org>
----------------------------------------------------------------
Thomas Duffey
2010-07-06 00:34:58 UTC
Permalink
Hi,
Post by Sean Zheng
The module documentation is saying "Now edit your form's JSP to add the
captcha." and "check the value entered by the user on the form handler". I
guess I should do this in Magnolia source codes, but I am really confused
which modules the jsps are in.
I wrote that module but it's been a while and we have since switched to reCaptcha because it seems to produce easier to read captchas. The module was written with the idea that you would have two Magnolia templates, one that contains your form and one that your form submits to. Each template has its own JSP that you write. You edit these templates and add the Captcha code as described in the docs. I would not consider this "Magnolia source" because at least when we used it we were using our own templates. If you are using STK then I'm sorry but I do not have enough experience with STK to help you.

Tom
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Sean Zheng
2010-07-06 05:20:26 UTC
Permalink
Thank you Tom. I am trying to apply Magnolia in my job after thinking
Magnolia is the best CMS in Java, and choose your captcha module as a very
start.

As you said, I should do all in my own module. So I copy the Samples module
to my module project. But because I have not grasped the whole picture of
Magnolia, it is tough for me to get started. Could you tell me how you get
yourself speed up with Magnolia. I have only svn source code, user list,
wiki and Magnolia installation 2 instances. Is that enough?

Thanks for help.

Sean
Post by Thomas Duffey
Hi,
Post by Sean Zheng
The module documentation is saying "Now edit your form's JSP to add the
captcha." and "check the value entered by the user on the form handler".
I
guess I should do this in Magnolia source codes, but I am really confused
which modules the jsps are in.
I wrote that module but it's been a while and we have since switched to
reCaptcha because it seems to produce easier to read captchas. The module
was written with the idea that you would have two Magnolia templates, one
that contains your form and one that your form submits to. Each template
has its own JSP that you write. You edit these templates and add the
Captcha code as described in the docs. I would not consider this
"Magnolia source" because at least when we used it we were using our own
templates. If you are using STK then I'm sorry but I do not have enough
experience with STK to help you.
Tom
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
--
View this message in context: http://old.nabble.com/Captcha-Module-tp29080394p29082018.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe-O8DnXSz/***@public.gmane.org>
----------------------------------------------------------------
Jan Haderka
2010-07-07 06:41:56 UTC
Permalink
Post by Sean Zheng
Thank you Tom. I am trying to apply Magnolia in my job after thinking
Magnolia is the best CMS in Java, and choose your captcha module as a very
start.
As you said, I should do all in my own module. So I copy the Samples module
to my module project. But because I have not grasped the whole picture of
Magnolia, it is tough for me to get started. Could you tell me how you get
yourself speed up with Magnolia. I have only svn source code, user list,
wiki and Magnolia installation 2 instances. Is that enough?
also http://documentation.magnolia-cms.com and http://dev.magnolia-cms.com are helpful resources.
The training would not hurt either, but that would cost you some money. OTOH it would help you to be much more proficient with the development afterwards.

Cheers,
Jan
Post by Sean Zheng
Thanks for help.
Sean
Post by Thomas Duffey
Hi,
Post by Sean Zheng
The module documentation is saying "Now edit your form's JSP to add the
captcha." and "check the value entered by the user on the form handler".
I
guess I should do this in Magnolia source codes, but I am really confused
which modules the jsps are in.
I wrote that module but it's been a while and we have since switched to
reCaptcha because it seems to produce easier to read captchas. The module
was written with the idea that you would have two Magnolia templates, one
that contains your form and one that your form submits to. Each template
has its own JSP that you write. You edit these templates and add the
Captcha code as described in the docs. I would not consider this
"Magnolia source" because at least when we used it we were using our own
templates. If you are using STK then I'm sorry but I do not have enough
experience with STK to help you.
Tom
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
--
View this message in context: http://old.nabble.com/Captcha-Module-tp29080394p29082018.html
Sent from the Magnolia - User mailing list archive at Nabble.com.
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Sean Zheng
2010-07-07 07:18:45 UTC
Permalink
Thanks Jan,

With this kind's help, I am getting more and more clear about the
development. Hope my first module is working out soon.
Post by Jan Haderka
Post by Sean Zheng
Thank you Tom. I am trying to apply Magnolia in my job after thinking
Magnolia is the best CMS in Java, and choose your captcha module as a very
start.
As you said, I should do all in my own module. So I copy the Samples module
to my module project. But because I have not grasped the whole picture of
Magnolia, it is tough for me to get started. Could you tell me how you get
yourself speed up with Magnolia. I have only svn source code, user list,
wiki and Magnolia installation 2 instances. Is that enough?
also http://documentation.magnolia-cms.com and http://dev.magnolia-cms.com
are helpful resources.
The training would not hurt either, but that would cost you some money.
OTOH it would help you to be much more proficient with the development
afterwards.
Cheers,
Jan
Post by Sean Zheng
Thanks for help.
Sean
Post by Thomas Duffey
Hi,
Post by Sean Zheng
The module documentation is saying "Now edit your form's JSP to add the
captcha." and "check the value entered by the user on the form handler".
I
guess I should do this in Magnolia source codes, but I am really confused
which modules the jsps are in.
I wrote that module but it's been a while and we have since switched to
reCaptcha because it seems to produce easier to read captchas. The module
was written with the idea that you would have two Magnolia templates, one
that contains your form and one that your form submits to. Each template
has its own JSP that you write. You edit these templates and add the
Captcha code as described in the docs. I would not consider this
"Magnolia source" because at least when we used it we were using our own
templates. If you are using STK then I'm sorry but I do not have enough
experience with STK to help you.
Tom
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
--
http://old.nabble.com/Captcha-Module-tp29080394p29082018.html
Sent from the Magnolia - User mailing list archive at Nabble.com.
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------
--
View this message in context: http://old.nabble.com/Captcha-Module-tp29080394p29093320.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe-O8DnXSz/***@public.gmane.org>
----------------------------------------------------------------
c***@public.gmane.org
2010-07-30 11:38:20 UTC
Permalink
Hi Tom

Today i tried out the captcha module, it is amazingly easy to use, thanks for this.

However I had some concerns about accessibility for disabled people and also saw that recaptcha supports a spoken captcha.
You've mentioned that you've switched to reCaptcha, so I wonder if you could share some information about how to integrate it into magnolia?
Is there a reCaptcha module available for magnolia as well?

Cheers

Claudio


-----Original Message-----
From: user-list-owner-O8DnXSz/***@public.gmane.org [mailto:user-list-***@magnolia-cms.com] On Behalf Of Thomas Duffey
Sent: Tuesday, July 06, 2010 2:35 AM
To: Magnolia User-List
Subject: Re: [magnolia-user] Captcha Module


Hi,
Post by Sean Zheng
The module documentation is saying "Now edit your form's JSP to add the
captcha." and "check the value entered by the user on the form handler". I
guess I should do this in Magnolia source codes, but I am really confused
which modules the jsps are in.
I wrote that module but it's been a while and we have since switched to reCaptcha because it seems to produce easier to read captchas. The module was written with the idea that you would have two Magnolia templates, one that contains your form and one that your form submits to. Each template has its own JSP that you write. You edit these templates and add the Captcha code as described in the docs. I would not consider this "Magnolia source" because at least when we used it we were using our own templates. If you are using STK then I'm sorry but I do not have enough experience with STK to help you.

Tom
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe-O8DnXSz/***@public.gmane.org>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
c***@public.gmane.org
2010-07-30 12:11:41 UTC
Permalink
If i may provide the answer to my question myself:

http://code.google.com/apis/recaptcha/docs/java.html


I thought recaptcha is a library that has to be integrated in magnolia, however iis a Webservice that can be used directly in the template.
Cheers

Claudio


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------

Continue reading on narkive:
Loading...