$isFacebookUser(){}
Please make sure you also disable the Facebook integration within JomSocial in the Configuration area. There's a setting to specifically use JFBConnect in their Facebook settings area that should be enabled.- Hi, I've just installed jfb connect, but I'm not sure about if it has substituted the default jomsocial facebook login system, how can I check?
I've disabled "System - Jomsocial Facebook Connect" but in JFB Error Check I still see "Another Facebook extension is installed, including the Facebook Javascript library, and may conflict"
Once the Social Profiles - JomSocial plugin is enabled, go to the JFBConnect -> Usermap area and click "Import Users". That will import any previous connections from JomSocial into JFBConnect. Then, of course, test.- How can I be sure the facebook users on my site are still able to login with facebook? (some of you told me about a "import" system of the facebook users from jomsocial in jfb connect)
To get the user's ID, use:- How can I check in php if the user is a facebook user or he linked his jomsocial profile to his facebook profile and get his facebook numeric ID?
Basically I need something like
JFBCFactory::usermap()->getProviderUserId($jUserId, 'facebook');
alzander wrote: Ahh.. sorry for the confusion. "Linking" can mean many things, like making it so the user can link his Facebook account to his existing JomSocial account so that he can login using either later.
For showing the link to the user's Facebook profile, you can create a "Facebook Profile URL" field in JomSocial and configure JFBConnect to import the user's Profile Link into that field. That would be the easiest method I can think of and would even allow users that didn't authenticate with Facebook to have an option to fill in that field if they wanted.
The Facebook ID of the user is still obscured by Facebook for various reasons, but it doesn't sound like the User ID is actually what you want.
I hope that helps,
Alex
I'm pretty sure you can make hidden, non-editable fields in JomSocial. If so, just do that and have JFBConnect import the profile URL into that field. You'll be able to see it in the admin area, but front-end users won't.The field should be filled just from JFBConnect in case the jomsocial user links his profile to fb (or he login with fb).
alzander wrote:
I'm pretty sure you can make hidden, non-editable fields in JomSocial. If so, just do that and have JFBConnect import the profile URL into that field. You'll be able to see it in the admin area, but front-end users won't.The field should be filled just from JFBConnect in case the jomsocial user links his profile to fb (or he login with fb).
I'm sorry but here I have some translation troubles, could you explain me more simply?For invited friends, you will have a more difficult time if they don't register as you won't be given their real ID. We *try* to use some ways to make the link in the Facebook Requests area work and go to their profile, but it's very hit or miss.
Sorry for the confusion. I don't think it really matters since you're thinking of trying to make the referred user's register on the site. If you do that, you'll be able to view their profile with the link you set above.I'm sorry but here I have some translation troubles, could you explain me more simply? current/smile
<a href="https://www.facebook.com/app_scoped_user_id/15124...004185/" target="_blank" rel="nofollow">https://www.facebook.com/app_scoped_user_id/15124....4185/</a>
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.