- Posts: 2
COMMUNITY FORUM
Comment field does not work
- dinovis
-
Topic Author
- Offline
- New Member
I installed K2 wrote an article and published it as item on dinovis.de/index.php/joomla-goes-iphone
I expected comments but visitors reported me that the comment field does not work. I tried by myself and got error
Notice: Undefined index: recaptcha_challenge_field in /srv/www/htdocs/components/com_k2/models/item.php on line 612 Notice: Undefined index: recaptcha_response_field in /srv/www/htdocs/components/com_k2/models/item.php on line 612 The words you typed did not match the ones displayed. Please try again.
sometimes I got no error but the message:
The name or email address you typed is already in use!
Any suggestions?
Wolfgang
Please Log in or Create an account to join the conversation.
- dinovis
-
Topic Author
- Offline
- New Member
- Posts: 2
My advise: there should be a notice to the administrator that this cannot work instead of an error to the user !
Now I always get
The name or email address you typed is already in use!
regardless of the mail address I submit to the form!
Any suggestions?
Wolfgang
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- Different Color
-
- Offline
- Premium Member
- Posts: 99
Martha
Wolfgang Disch said:OK, my fault: I enabled reCaptcha without installing it! My advise: there should be a notice to the administrator that this cannot work instead of an error to the user !
Now I always get
The name or email address you typed is already in use!
regardless of the mail address I submit to the form!
Any suggestions?
Wolfgang
Please Log in or Create an account to join the conversation.
- Tony Howard
-
- Offline
- New Member
- Posts: 5
Thanks,
Tony
Martha Moody said:I didn't know you had to install recaptcha... I put in my keys from recaptcha - is there some plugin I have to install?
Martha
Wolfgang Disch said:OK, my fault: I enabled reCaptcha without installing it! My advise: there should be a notice to the administrator that this cannot work instead of an error to the user ! Now I always get
The name or email address you typed is already in use!
regardless of the mail address I submit to the form!
Any suggestions?
Wolfgang
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Tony Howard said:How can I disable this "security" feature? I have comments set to be approved first, so I don't need this extra hastle for registered users - that they have to login first. I'd like to turn this off, and make a suggestion to have this as a toggle in the Parameters in the future.
Thanks,
Tony
Martha Moody said:I didn't know you had to install recaptcha... I put in my keys from recaptcha - is there some plugin I have to install? Martha
Wolfgang Disch said:OK, my fault: I enabled reCaptcha without installing it! My advise: there should be a notice to the administrator that this cannot work instead of an error to the user ! Now I always get
The name or email address you typed is already in use!
regardless of the mail address I submit to the form!
Any suggestions?
Wolfgang
Please Log in or Create an account to join the conversation.
- Tony Howard
-
- Offline
- New Member
- Posts: 5
Lefteris Kavadas said:Hi. The next release of K2 will automatically disable reCAPTCHA for registered users. For now you can disable it manually through the component parameters.
Tony Howard said:How can I disable this "security" feature? I have comments set to be approved first, so I don't need this extra hastle for registered users - that they have to login first. I'd like to turn this off, and make a suggestion to have this as a toggle in the Parameters in the future. Thanks,
Tony
Martha Moody said:I didn't know you had to install recaptcha... I put in my keys from recaptcha - is there some plugin I have to install? Martha
Wolfgang Disch said:OK, my fault: I enabled reCaptcha without installing it! My advise: there should be a notice to the administrator that this cannot work instead of an error to the user ! Now I always get The name or email address you typed is already in use!
regardless of the mail address I submit to the form!
Any suggestions?
Wolfgang
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Tony Howard said:I don't want to disable reCaptcha. I just don't want registered users to have to sign in.
Lefteris Kavadas said:Hi. The next release of K2 will automatically disable reCAPTCHA for registered users. For now you can disable it manually through the component parameters. Tony Howard said:How can I disable this "security" feature? I have comments set to be approved first, so I don't need this extra hastle for registered users - that they have to login first. I'd like to turn this off, and make a suggestion to have this as a toggle in the Parameters in the future. Thanks, Tony
Martha Moody said:I didn't know you had to install recaptcha... I put in my keys from recaptcha - is there some plugin I have to install? Martha Wolfgang Disch said:OK, my fault: I enabled reCaptcha without installing it! My advise: there should be a notice to the administrator that this cannot work instead of an error to the user ! Now I always get The name or email address you typed is already in use!
regardless of the mail address I submit to the form!
Any suggestions?
Wolfgang
Please Log in or Create an account to join the conversation.
- Tony Howard
-
- Offline
- New Member
- Posts: 5
So to be extra clear. A non-registered user can post a comment easily without logging in.
A registered user, if not ALREADY logged in - say they're just browsing the site like everyone else - they are given an error message when trying to post a comment.
Clear?
Lefteris Kavadas said:Hi. What exactly do you mean? A registered user has to login to be identified.
Tony Howard said:I don't want to disable reCaptcha. I just don't want registered users to have to sign in.
Lefteris Kavadas said:Hi. The next release of K2 will automatically disable reCAPTCHA for registered users. For now you can disable it manually through the component parameters. Tony Howard said:How can I disable this "security" feature? I have comments set to be approved first, so I don't need this extra hastle for registered users - that they have to login first. I'd like to turn this off, and make a suggestion to have this as a toggle in the Parameters in the future. Thanks, Tony
Martha Moody said:I didn't know you had to install recaptcha... I put in my keys from recaptcha - is there some plugin I have to install? Martha Wolfgang Disch said:OK, my fault: I enabled reCaptcha without installing it! My advise: there should be a notice to the administrator that this cannot work instead of an error to the user ! Now I always get The name or email address you typed is already in use! regardless of the mail address I submit to the form!
Any suggestions?
Wolfgang
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Tony Howard said:When you see a comment on a page, you are able to comment whether logged in or not. A registered user should have just as easy a time as anyone else. They shouldn't have to login first. Not only that, but it is completely unclear to them from the error message what is happening.
So to be extra clear. A non-registered user can post a comment easily without logging in.
A registered user, if not ALREADY logged in - say they're just browsing the site like everyone else - they are given an error message when trying to post a comment.
Clear?
Lefteris Kavadas said:Hi. What exactly do you mean? A registered user has to login to be identified. Tony Howard said:I don't want to disable reCaptcha. I just don't want registered users to have to sign in. Lefteris Kavadas said:Hi. The next release of K2 will automatically disable reCAPTCHA for registered users. For now you can disable it manually through the component parameters. Tony Howard said:How can I disable this "security" feature? I have comments set to be approved first, so I don't need this extra hastle for registered users - that they have to login first. I'd like to turn this off, and make a suggestion to have this as a toggle in the Parameters in the future. Thanks, Tony
Martha Moody said:I didn't know you had to install recaptcha... I put in my keys from recaptcha - is there some plugin I have to install? Martha Wolfgang Disch said:OK, my fault: I enabled reCaptcha without installing it! My advise: there should be a notice to the administrator that this cannot work instead of an error to the user ! Now I always get The name or email address you typed is already in use! regardless of the mail address I submit to the form!
Any suggestions?
Wolfgang
Please Log in or Create an account to join the conversation.
- Tony Howard
-
- Offline
- New Member
- Posts: 5
Lefteris Kavadas said:Hi. OK this is clear but this was implemented to avoid a situation when a non-registered user tries to post a comment using the email and name of a registered user.
Tony Howard said:When you see a comment on a page, you are able to comment whether logged in or not. A registered user should have just as easy a time as anyone else. They shouldn't have to login first. Not only that, but it is completely unclear to them from the error message what is happening. So to be extra clear. A non-registered user can post a comment easily without logging in.
A registered user, if not ALREADY logged in - say they're just browsing the site like everyone else - they are given an error message when trying to post a comment.
Clear?
Lefteris Kavadas said:Hi. What exactly do you mean? A registered user has to login to be identified. Tony Howard said:I don't want to disable reCaptcha. I just don't want registered users to have to sign in. Lefteris Kavadas said:Hi. The next release of K2 will automatically disable reCAPTCHA for registered users. For now you can disable it manually through the component parameters. Tony Howard said:How can I disable this "security" feature? I have comments set to be approved first, so I don't need this extra hastle for registered users - that they have to login first. I'd like to turn this off, and make a suggestion to have this as a toggle in the Parameters in the future. Thanks, Tony
Martha Moody said:I didn't know you had to install recaptcha... I put in my keys from recaptcha - is there some plugin I have to install? Martha Wolfgang Disch said:OK, my fault: I enabled reCaptcha without installing it! My advise: there should be a notice to the administrator that this cannot work instead of an error to the user ! Now I always get The name or email address you typed is already in use! regardless of the mail address I submit to the form! Any suggestions?
Wolfgang
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Tony Howard said:Thank you, but now we are back where we started. So there is no solution?
Lefteris Kavadas said:Hi. OK this is clear but this was implemented to avoid a situation when a non-registered user tries to post a comment using the email and name of a registered user. Tony Howard said:When you see a comment on a page, you are able to comment whether logged in or not. A registered user should have just as easy a time as anyone else. They shouldn't have to login first. Not only that, but it is completely unclear to them from the error message what is happening. So to be extra clear. A non-registered user can post a comment easily without logging in. A registered user, if not ALREADY logged in - say they're just browsing the site like everyone else - they are given an error message when trying to post a comment.
Clear?
Lefteris Kavadas said:Hi. What exactly do you mean? A registered user has to login to be identified. Tony Howard said:I don't want to disable reCaptcha. I just don't want registered users to have to sign in. Lefteris Kavadas said:Hi. The next release of K2 will automatically disable reCAPTCHA for registered users. For now you can disable it manually through the component parameters. Tony Howard said:How can I disable this "security" feature? I have comments set to be approved first, so I don't need this extra hastle for registered users - that they have to login first. I'd like to turn this off, and make a suggestion to have this as a toggle in the Parameters in the future. Thanks, Tony Martha Moody said:I didn't know you had to install recaptcha... I put in my keys from recaptcha - is there some plugin I have to install? Martha Wolfgang Disch said:OK, my fault: I enabled reCaptcha without installing it! My advise: there should be a notice to the administrator that this cannot work instead of an error to the user ! Now I always get The name or email address you typed is already in use! regardless of the mail address I submit to the form! Any suggestions? Wolfgang
Please Log in or Create an account to join the conversation.
- Shea Dawson
-
- Offline
- New Member
- Posts: 12
You need to modify this file
components/com_k2/models/item.php
Remove the following validation code from around line 629
if ($user->guest){
$db = & JFactory::getDBO();
$query = "SELECT COUNT(*) FROM #__users WHERE name=".$db->Quote($userName)." OR email=".$db->Quote($commentEmail);
$db->setQuery($query);
$result = $db->loadresult();
if ($result>0){
echo JText::_('The name or email address you typed is already in use!');
$mainframe->close();
}
}
Cheers,
Shea
Please Log in or Create an account to join the conversation.
- Shea Dawson
-
- Offline
- New Member
- Posts: 12
Please Log in or Create an account to join the conversation.