Topic-icon Register Error with FB / G+ and enabled K2 User plg witCapcha

Active Subscriptions:

None
Hello,

Versions of used sources: JFBConnect 5.1.2 , Joomla! 3.1.5 , K2 v2.6.7
site warumbio.at/index.php/en

Configuration done:
capcha enabled on K2 level, JFBConnect set to Autom. Registration => works for Joomla / K2 / JFBConnect standard user registration and K2 comments creation.

Error use case:
1. a new user is using the SC Login FB button, logging in with FB account,
2. getting popup message "You are now being logged in using your Facebook credentials."
3. the page redirects to .. /?option=com_users&view=registration
4. Error is showed: "The words you typed did not match the ones displayed. Please try again."
for G+ try steps 2 is missing, same error.

As soon as i disable the plugin "User - K2", everything works for the use case stated above correctly. Msg: "Facebook profile successfully connected." and so on.
BUT in this case there is no link between created user and K2 Group -> what is "must have" for our site.
We have to use capcha and also asignment of K2 user group directly with registration on the site (as actually working without FB registration)

Any idea?
The topic has been locked.
Support Specialist
webloesung,
I'm not sure why the K2 captcha is causing that issue. It shouldn't be trying to trigger when other registration flows are occurring. We test and know that the captcha built-in to Joomla does not interfere with our automatic registration process. Is it possible to use that captcha?

Honestly, I'm a little unsure what K2's captcha does vs Joomla's own captcha for registration, so if you can enlighten me there, it may help.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
so, i was really not sure if i haven't missed anything (since sitting on this issue already second evening...). so did the whole steps again:
- enable only core configuration , disable k2 user plugin -> try -> everything is working, except assignment of the user to K2 User group (clear since plugin is disabled)
- enable k2 plugin , even without usage of SC Login, getting conflict message from registration form (looks like known conflict as per K2 forums) -> wenn all capcha settings are everywhere availible - error is showing by trying to register a new user "The words you typed did not match the ones displayed. Please try again."
Or if i disable just the K2 Captcha then i get this error message: "Empty solution not allowed."...
so for my site the only way to go will be to get K2 user assignemt to the K2 user group, with capcha.
SO far i see only one solution: disable capcha on core side, enable on K2.
But how to fix the issue with FB / G+ fast registration (as discrubed above) - i really want to offer this feature to the users of the site!

Maybe there is a possibility anyhow check why the registration page is called in mode of enabled K2 and JFBConnect with Autom. Registration from FB / G+???
The topic has been locked.
Active Subscriptions:

None
HI, any idea?
I did now the following:
- K2 login module extended by having JFBConnect buttons
- Full registration mode is enabled

Strange is the following:
by trying to register via FB button, joomla redirects to ...component/jfbconnect/?view=loginregister&provider=facebook&return=L...
with fields to be filled but without capcha
after entering the data for a new user to be registered - page redirects to index.php?option=com_users&view=registration and shows same error message as for wrong capcha entry.

I need your support! how to deal with it? i cannnot imagine that all of your customers who uses your component with K2 have no capcha active for a new user registration!
Thank you in advance
The topic has been locked.
Support Specialist
Sorry for the delayed response. Hopefully the answers below help:

- enable only core configuration , disable k2 user plugin -> try -> everything is working, except assignment of the user to K2 User group (clear since plugin is disabled)

The JFBConnect Social Profiles - K2 plugin should be adding the user to the K2 group when they login with a social network. You should still use the K2 User plugin, but want to point out that our plugin should add the user properly.

- enable k2 plugin , even without usage of SC Login, getting conflict message from registration form (looks like known conflict as per K2 forums) -> wenn all capcha settings are everywhere availible - error is showing by trying to register a new user "The words you typed did not match the ones displayed. Please try again."

Not sure what that is, but if it's a known K2 bug, we can't really help there.

so for my site the only way to go will be to get K2 user assignemt to the K2 user group, with capcha.
SO far i see only one solution: disable capcha on core side, enable on K2.
But how to fix the issue with FB / G+ fast registration (as discrubed above) - i really want to offer this feature to the users of the site!

I'm not sure why you have to disable the core captcha? Is that because of the bug you mention above?

As mentioned, our Social Profiles - K2 plugin should be adding the user to the default K2 User Group. If that's not happening (with or without captcha), let us know, as that sounds like a bug.

Maybe there is a possibility anyhow check why the registration page is called in mode of enabled K2 and JFBConnect with Autom. Registration from FB / G+???

I'm not exactly sure what you mean here. The captcha issue is what's redirecting the user. From the configuration information you mention above, it sounds like the Social Profiles - K2 plugin isn't enabled. Try enabling that, then setup captcha for 'core' Joomla and not K2... and then try again.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Hello Alex,
thank you for an input.
did everything as you wrote in your last post - no improve :(
I have also posted the topic to K2 forum (getk2.org/community/New-to-K2-Ask-here-f...-and-enabled-K2-User) - they replied that i have to contact JFBConnect developers team since this component as stated supports K2.
No i have no idea how to deal with the issue.
Registration is working fine with the settings on the site. The issue is only when a new guest is trying to login via FB / G+ and is not found as a registered user on the site - redirects to register page...
Is this possible to somehow to prevent this redirection and instead of landing on component/jfbconnect/?view=loginregister&provider=facebook&return=L -> forward new guest with his FB login try directly to index.php?option=com_users&view=registration ???

Thank you for any hint
The topic has been locked.
Support Specialist
webloesung,
There's a few answers for you that may help get you going:
* Out of curiosity, if you disable the K2 Captcha, is the user properly registered and added to the K2 group? They should be. I just want to make sure that that flow is working once K2 captcha is removed.
* The next version of JFBConnect, v5.2, due out on Friday will have an option to redirect the user to the standard Joomla registration page. From there, they can create their account and JFBConnect will automatically link the new account to whatever social network they originally used to login (Facebook, Twitter, Google+).

Knowing if things work without captcha will definitely help and v5.2 may just be the solution you're looking for.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
yes. the registration via k2 page and jfbconnect-registration page (after using the buttonf FB / G+ for not registered user on login module) is working without capcha WITHOUT ANY ISSUE. user is created, also linked to K2 group and FB / G+ account.
so looks like the issue it in capcha settings.. or in k2 registration process that requires capcha and not getting this from jfbconnect registration page event - could be?

how it is with my membership and downloading a next version of JFBConnect - should i pay smth additionally?
The topic has been locked.
Support Specialist

how it is with my membership and downloading a next version of JFBConnect - should i pay smth additionally?

Our subscriptions run for 6 months. During that time, you can download any new releases. So, as long as your subscription isn't expiring in the next few days, you'll be able to download, install and use the new release when it's available. When your subscription is close to expiring, you'll receive some automatic emails from us and be able to renew with a 30% discount.

so looks like the issue it in capcha settings.. or in k2 registration process that requires capcha and not getting this from jfbconnect registration page event - could be?

That definitely helps explain things. It sounds like the K2 captcha is firing off on any registration attempt. Not just ones that come from the Joomla registration page. That's not something we can correct as that's overreach and false assumptions on their part. Again, JFBConnect does work with the built-in Joomla captcha system, which correctly ensures that a new user registering has actually seen the captcha. I'd recommend switching to the Joomla captcha system and disabling the K2 captcha settings and/or contacting K2 to let them know that they shouldn't be checking captcha when alternate registration flows are being used.

I hope that helps explain. There's not too much we can do for you here since this is a bug in K2. Hopefully the alternative option above will work for you.

Thanks,
Alex
The topic has been locked.