Topic-icon Redirect to standard registration form when connecting with Facebook

Active Subscriptions:

None
Hi,

When the settings are set to not automatically create an account (on Facebook), or on Twitter where an email address isn't supplied, the user is directed to a registration form at /index.php?option=com_jfbconnect&view=loginregister.

Is it possible for the user to be instead directed to the standard registration form and populate the fields gathered from Facebook, as this contains extra fields, is responsive and styled correctly...

I've set the additional fields to be pulled in on the 'profile' section for K2, but how do I set which ones are required and which aren't required?

If not,
Can the fields be pulled individually instead of using <?php foreach ($this->form->getFieldsets() as $fieldset)?

I'd also like to be able to show the avatar alongside the Welcome 'NAME'...

Thanks,
Matt
The topic has been locked.
Support Specialist
To use the Joomla registration form, please do the following:
* Enable the Social Profiles - Joomla plugin
* In the JFBConnect -> Configuration area, set the "Registration Component" to "Joomla"

That will redirect the user to the Joomla registration form and all Joomla profile fields will be filled out. Additional fields for K2 may not be filled out though. The way to use a single registration form where all fields are pre-filled is to use our JFBConnect registration flow, which can pull the fields from different extensions and pre-populate them at once.

I hope that helps, but if not, or you have any other questions, just let me know.

Thanks,
Alex
The topic has been locked.
Support Specialist
Matt,

Just to clarify a point from Alex, if you follow the steps for switching the registration component to Joomla, you should still be able to have the profile fields imported from K2. Keep the Social Profiles - K2 plugin enabled, and set the 'Always Import Profile Data' and 'Import Avatar' settings to Yes. The profile data should still be imported into K2, but the user may not have the ability to edit the field data on registration. As always, test this out and let us know if you continue to have issues.

Thanks
-Melissa
The topic has been locked.
Active Subscriptions:

None
Hi,
I've changed the registration component to Joomla, and the K2 plugin is active and the additional fields are being brought in. However none of them are populated with my information from twitter, whereas with Facebook it all works fine.
Also, it's directing to the base registration component at index.php?option=com_users&view=registration as opposed to picking up the associated menu item with its itemID...
Any idea on that?
Thanks,
Matt
The topic has been locked.
Active Subscriptions:

None
Hi, any ideas on the above?
Thanks :)
The topic has been locked.
Support Specialist
Joomla's standard router doesn't determine an Itemid for routes automatically. It's one of the more annoying things and reason why many different SEF extensions exist for Joomla.

To fix, you'd need to edit the /plugins/socialprofiles/joomla/joomla.php file. Around line 28, you'll see:
$this->registration_url = 'index.php?option=com_users&view=registration';
Update that with the proper menu ID, like:
$this->registration_url = 'index.php?option=com_users&view=registration&Itemid=12';
I hope that helps, but if not, let me know.

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

None
Thanks, that's very useful...

It redirects to the correct form now with the correct Itemid, but it still returns a blank form for twitter... none of the fields are being populated...
What do I need to change? Page here ...

Thanks,
Matt
The topic has been locked.
Support Specialist
Matt,
Looking at our code, we don't currently support the pre-population of information when using K2. That's something that we've never had requested before, but can definitely see the benefit. We'll have to look into what it would take to implement to see what we can do to help get you going.

Right now, for prepopulation on registration, we support the Joomla User - Profile plugin, CB, JomSocial, EasySocial, Kunena and likely a few others. K2 hasn't been widely used as a 'profile' extension, so we just never implemented the feature you're looking for yet.

I hope that helps explain. It won't be 'tomorrow' that we'd have this working, but should be something we can likely get in an upcoming release (by the end of the year).

Alex
The topic has been locked.
Active Subscriptions:

None
OK, no worries, thanks very much for your help... I only used K2 as people could create their own blogs so makes sense to have a user profile on there as well. Definitely a feature I'd be interested in though, but for now, I'll leave it just as Facebook!

Thanks again,
Matt
The topic has been locked.
Support Specialist
I just wanted to note that I've added this to our issue tracker so we can investigate further for upcoming releases.
-Melissa
The topic has been locked.