Topic-icon Community Builder Registration Component

Active Subscriptions:

None
10 years 1 month ago #42453 by 21stcc
Hi,

I've got two problems with my new setup.

Firstly, my registration component on SCLogin is set to Community Builder and works exactly as I want it to. However, when registering using the Facebook button, it takes me to a different registration form, which consequently doesn't include the text I have set up on my Community Builder registration form. How can I get the Facebook button to take me to the Community Builder registration page pre-populated with data from Facebook? It doesn't make any sense to have the forms different, yet there doesn't seem to be an option in the JFBConnect component to select other than JFBConnect or Joomla.

Secondly, I would really like the registration workflow to require approval by an administrator, but not request the user to verify their email address if they have registered via Facebook. I seem to be only able to turn on or off the whole verification & approval flow.

Thanks,
Roger
The topic has been locked.
Support Specialist
10 years 1 month ago #42461 by alzander
Right now, we don't support using the Community Builder registration flow for social logins. We just added the feature to use alternative registration flows in the last few months and currently only support JomSocial and EasySocial for that feature. Unfortunately, CB is incredibly difficult to work with for pre-filling registration information and 'hooking' into like the other extensions mentioned. It is something we're working on and plan to have in a feature release later this year though.

For now, you can:
* Alter our registration page or language files to add whatever text you need to add. We can already show CB registration fields on our form, so you should be able to get the proper data from the user.
* Enable automatic registration to immediately register the user with no forms

Secondly, I would really like the registration workflow to require approval by an administrator, but not request the user to verify their email address if they have registered via Facebook. I seem to be only able to turn on or off the whole verification & approval flow.

We don't have individual options to enable each activation/confirmation setting. However, you should be able to make a quick code change to alter things however you want. To do so, edit the /plugins/socialprofiles/communitybuilder/communitybuilder.php file. Around line 230 you'll see:
if ($skipCbActivation)
        {
            $confirmation = 0;
            $cbactivation = '';
            $adminApproval = 0;
        }
I think you just need to set adminApproval to 1 above and that should do what you're looking to do. That's not tested, but let me know how that goes.

Thanks,
Alex
The topic has been locked.