You even noted that issue as solved, so I'm not sure what your question actually is. Whenever you have Automatic registration enabled, JFBConnect will generate a username for that guest based on the format above. If you want the user to select their own username, you'll need to disable automatic registration.Are you referring to the username? Please make sure to set the JFBConnect > Configuration > General > 'Auto Username Prefix' setting to something other than fb_,g_, such as first.last or firlas.
alzander wrote: It's up to you to whether what options to choose for your site, but the exact functionality you're looking for is not something we support. Again, you're free to modify JFBConnect's code however you want, but I don't have suggestions on how to perform a limited import in certain scenarios. It would be difficult to do.
The code I provided earlier is the code to import during a reconnection. The profile plugins use the Always Import setting to determine if an import should happen. To override that behavior, you'd need to edit our plugin files which, as mentioned, is what would likely take a lot of thought and work to get right.But I guess it could be easier edit the code to import the FB fields in 2 cases:
- first login with FB
- reconnection.
without using "always import profile" I mean..what do you think?
Actually, that's not from JFBConnect. My guess is that you still have the JomSocial Facebook integration enabled. You shouldn't. Please remove the API/Secret keys from JomSocial because it looks like you have previous connections in their system which is showing that text.FB button and a message "Your account is already associated with a Facebook login."
They shouldn't be both there! current/smile
(obiouvsly that button is printed using {JFBCLogin show_reconnect=true} )
JFBCFactory::usermap()->getProviderUserId($jUserId, 'facebook')
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.