Thanks for the reply!
I have been on this for ages and ages and ages.
I looked at the links below, and I think I see what you mean. To be honest,
its beyond my understanding.
I have been working with registerinline.vm - I can get the captcha field to
veryify fine. In my page there is variable $reg which appears to be the key.
Please keep in touch - and I will too. Maybe one of us will crack it
Incidentally I used
http://n2.nabble.com/CAPTCHA-for-comments-and-registration-tp507976p507989.h
tml
as a basis and it seemed to work. Trouble was, its not a full solution. I
contact some people from the thread - but nobody seemed to be able to solve
it fully.
Perhaps there is a bug???
Has anyone got captcha to work on a registration page????????
-----Original Message-----
From: Asiri Rathnayake [mailto:asiri.rathnayake@gmail.com]
Sent: 15 July 2009 10:17
To: edward(a)eldon.gotadsl.co.uk; XWiki Users
Subject: Re: [xwiki-users] about to give in...
Hi Edward,
On Wed, Jul 15, 2009 at 12:35 PM, Edward Eldon
<edward(a)eldon.gotadsl.co.uk> wrote:
Hi
I have noticed that there has been more activity in the last couple of
days
... so, here's one last attempt.
I have got to the stage where a captcha field is shown, and the page
(registerinline.vm) displays the correct errors if it isn't filled in
(some
simple if statements)
However, the user is STILL registered even if the captcha is filled in
wrongly.
I think I found the problem. Still, I'm not a captcha expert so please
bear with me.
If you consider the CommentAction
(
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/
java/com/xpn/xwiki/web/CommentAddAction.java) you will see that there is a
check for captcha.
That is, if you have displayed captcha somewhere in the comment section,
user will _HAVE_ to provide the correct input otherwise the action will not
complete.
On the other hand take the RegisterAction
(
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/
java/com/xpn/xwiki/web/RegisterAction.java) There is no captcha verification
here at all :)
My guess is this is a bug of xwiki, not you doing something wrong.
Still, don't take my word, try to put captcha somehow into comment area
and see if it works... if it does, we cam make sure that no captcha is
supported for log-in action of xwiki, which needs fixing.
I'm trying to get captcha to work for comment action, I will inform you if
i succeed.
Thanks.
- Asiri
I have searched this news group, experimented and given up ... but if
anyone
can suggest how to stop this my xwiki user would really appreciate it.
Happy to post code if anyone's interested!
thanks - hopefully
Edward
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users