This is not a bug, but it is very uncomfortable for users.
When a user clicks the button "login with Facebook" on my site, he needs to fill username and password.
Below those fields he sees his profile type selection dropdown list, that is Model by default on my site. But in the case that user wants to change his profile type to another - the page reloads, and the user has to enter his data again.
Is there any way:
1. Either to not reload the page in case if the profile type was changed (as fields are rthe same for all profile types)
2. Or at least display the JomSocial selection listbox above the other fields, but not below them?
You can see the example of what I'm talking about on my site, http://topmodelgroup.com/en/component/c … article/89 , the login button is located in the article below the text "login with your Facebook account"
In the newest releases of JFBConnect, there is a method to let the user go through the standard JomSocial registration flow, with data pre-filled. However, the newest releases of JFBConnect are only compatible with Joomla 2.5 and 3.x. Obviously, if you can upgrade, we'd recommend you do so.
With that said, if your profile types have the same fields to show, you should be able to edit the /plugins/jfbcprofiles/jomsocial/jomsocial.php file. Around line 96, you'll see:
$html .= JHTML::_('select.genericlist', $availableTypes, 'profile_id', ' onchange="' . $profileJs . '"', 'id', 'name', $profileType);
Change that to:
$html .= JHTML::_('select.genericlist', $availableTypes, 'profile_id', null, 'id', 'name', $profileType);
Test that and let me know how it goes. Hopefully that will fix you right up.