Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[#4326] cb connect on registration page

11 years 1 month ago - 11 years 1 month ago #236546 by iytworldwide
[#4326] cb connect on registration page was created by iytworldwide
Hi Kyle

I have read the product manual and the tutorial/documents on CB before posting this.

I have enabled CB connect and enabled CB plugins integration with CB login module. I have configured facebook integration too which works. My question is, How can I allow the end users to register in to CB themselves using there social account from registration page (and not login page). Please note

registration page (and not login page)


On CB Tab, I have added facebook plugin field

facebook_social_plugin

but this field never displays on the registration page. Screenshot attached

On login page I see an option "Sign in with Facebook". If I click on it, it does the registration too but I am expecting the similar functionality through "Registration" which is not working. Most of the webapps today fetches the data from the social site and fills the registration form fields with values and let the user change it if they need and I believe it might be similar here but on registration page no option coming to fetch data from social app and view the fetched data, modify it before clicking register button.

Is the cb connect functionality through registration page supported? if not then why there is option to select social plugin type in CB tabs as fields to be put on registration page.

Fields are enabled, published.
CB connect tab, plugins all are published.
CB connect integration enabled
Attachments:
Last edit: 11 years 1 month ago by krileon.

Please Log in or Create an account to join the conversation.

11 years 1 month ago #236562 by iytworldwide
Replied by iytworldwide on topic cb connect on registration page
On the registration form there are many fields such as user types(drop down value student, trainer etc) which are mandatory and selected by user during filling the form. Now if through

login screen(not registration)

a user gets registered through "sign in using facebook" creates a user in cb, joomla then how the end user will be able to provide the user type for self as Student or Trainer which he could select during registration as there is no? Many mandatory fields are going as null in comprofiler which is incorrect.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48622
  • Thanks: 8302
  • Karma: 1446
11 years 1 month ago #236618 by krileon
Replied by krileon on topic cb connect on registration page
CB Connect provides single sign on. It does not have a button on registration. The user simply clicks Sign In in the login module and it'll register them if needed. It does not show on the registration page unless you have set CB registration to also show the login module. For them to complete their profile they need to do it from profile edit and registering and logging in through Facebook for example. Social fields only work if the user is logged in and has a social site ID attached to them so they won't display or do anything on registration.

Most of the webapps today fetches the data from the social site and fills the registration form fields with values and let the user change it

They are breaking Facebook policy doing this. It is strictly against their policy and I will not implement policy breaking features, sorry. CB Connect is designed to respect policy and follow suggested usage guidelines by the social sites.

Is the cb connect functionality through registration page supported?

No.

if not then why there is option to select social plugin type in CB tabs as fields to be put on registration page.

Every field has the option to display on registration. Custom fields don't need to respect or use this parameter though. In this case it's impossible for it to show on registration, but we can't just have the parameter show or hide depending on this as there is no way for CB to know the PHP code is going to show it or not.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

11 years 1 month ago #236659 by iytworldwide
Replied by iytworldwide on topic cb connect on registration page
Thanks Kyle for the detailed description. I appreciate your efforts in putting detail response. I am not aware about Facebook policy but the approach mentioned is being followed by Oracle taleo too. I just told what I have experienced with other apps. I trust your words and absolutely fine with it. In documentation it is not mentioned and hence got confused with the CB approach followed compare to practice being followed by some other social platforms I have worked. I am not looking for any change in current flow in CB. What I needed is to understand how the CB connect functionality is designed/working and how can I make it fit into my business model and process. Now I understood that user who is getting registered through CB Connect, must complete registration(fill the other details driven by business fields) through Profile Edit. Till then to business logic, he is just as good as a guest. So such user need to be redirected to profile edit through autoactions etc. I will see if there is an auto action condition to redirect such user(only the user who is using social id during signin) to profile edit screen. If I could not find it then I will check with you again.

I did not understood your response regarding custom social fields being listed in CB tab but not displayed on registration.

In attached screenshot, some fields can get filled during signin using social id to comprofiler table. Please let me know, the date of birth field must be map to text or date field in CB? It is coming as null for both but other fields which I have added are getting mapped. dateof birth is not null for the facebook profile who has registered.


Thanks,
Amit Dangwal
Attachments:

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48622
  • Thanks: 8302
  • Karma: 1446
11 years 1 month ago - 11 years 1 month ago #236680 by krileon
Replied by krileon on topic cb connect on registration page

So such user need to be redirected to profile edit through autoactions etc. I will see if there is an auto action condition to redirect such user(only the user who is using social id during signin) to profile edit screen. If I could not find it then I will check with you again.

You can set the registration or first time login redirect URL within CB Connect configuration to send them to profile edit. No need for CB Auto Actions for this usage.

I did not understood your response regarding custom social fields being listed in CB tab but not displayed on registration.

The social site fields do not have an Edit display so they won't show in profile edit or registration.

In attached screenshot, some fields can get filled during signin using social id to comprofiler table. Please let me know, the date of birth field must be map to text or date field in CB? It is coming as null for both but other fields which I have added are getting mapped. dateof birth is not null for the facebook profile who has registered.

For fields to map you need to ensure you've requested the correct permissions. In brackets next to a field name it'll tell you what permissions it requires. On the Application tab you can select what permissions to request. Ensure you're requesting the permission for the field you want to map.

Also note for LinkedIn date field it needs year, month, and day. LinkedIn may only return month and day. If it does then it'll be ignored. The reason for this is it's formatted so it can be mapped to a date fieldtype.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 11 years 1 month ago by krileon.
The following user(s) said Thank You: iytworldwide

Please Log in or Create an account to join the conversation.

11 years 1 month ago #236711 by iytworldwide
Replied by iytworldwide on topic cb connect on registration page
Thanks Kyle. I will check the permission settings for the fields and try that out.

One question out of the context of this thread. From where I can get the CB 1.9.1 release notes? I would like to see what enhancements/bug fixes have been added in the release so as to make decision whether to update 1.9 on production with this version. I could not find a release notes with list of changes added in new minor release (based on release number) on joomlapolis.

Thanks,
Amit Dangwal

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum