Topic-icon Unable to import facebook data

Active Subscriptions:

None
13 years 5 months ago #29595 by php.jfbconnect
Hi,
yourkaraokevideo.netsmartz.us/

I am working on this site . using joomla 1.7 and latest version of jfbconnect.

But I am unable to import data to site . I am also using community builder. 1.8

Thanks,

Also admin menus were not created at the time of installing/ upgrading jfbconnect.

Also I need to replicate the same on live server as well. (well will do on my own once you fix it on local server).

And please let me know if you need anything else ?
The topic has been locked.
Support Specialist
13 years 5 months ago #29603 by alzander
As mentioned before, Joomla 1.7 is old and unsupported. I'm not sure if that's the cause of your problem, but it's possible. We'd highly recommend upgrading to Joomla 2.5.

When you say "I am unable to import data to site", what do you mean? What have you configured, and how? How are you testing? Is any information imported (name, email)? Is the user being activated properly on registration?

Also admin menus were not created at the time of installing/ upgrading jfbconnect.

This is definitely a Joomla 1.7 issue. There were many menu issues in Joomla 1.7, and we can't help you fix those. You'd need to install Joomla 2.5 and re-install JFBConnect if the menus were not properly created.

Also I need to replicate the same on live server as well. (well will do on my own once you fix it on local server).

I would suggest using a backup tool to move your local site live. You can make the changes however you want though.

Hope that helps get you started,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 5 months ago #29623 by php.jfbconnect
At this stage I can not upgrade to Joomla 2.5 :(

Leave apart that menus are not created. No Issues.

And Yes am able to import first name, last name and username as (first.last) name.
Should I share admin details with you so as you can check the issue?
The topic has been locked.
Support Specialist
13 years 5 months ago #29657 by alzander
No admin credentials yet. I need more information about your configuration. The last few ideas/questions are:
* Is the JFBCProfile plugin enabled and have you setup the field mappings how you want them? I'm assuming these are the fields that aren't being imported.
* Can you check Community Builders fields and see if any are set to "Required"? If there are required fields that *do not* have a mapping in JFBConnect, you'll need to mark them as not required. CB will not let us save the user to the database if a required field is not filled out.
* Is the user properly activated after they login with Facebook?

Again, we'll do what we can to help, but there are features in JFBConnect that will not work with Joomla 1.7. Additionally, J1.7 has big, big security issues. Please make regular backups as it's likely your site will one day be hacked.

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

None
13 years 5 months ago #29675 by php.jfbconnect

alzander wrote: No admin credentials yet. I need more information about your configuration. The last few ideas/questions are:
* Is the JFBCProfile plugin enabled and have you setup the field mappings how you want them? I'm assuming these are the fields that aren't being imported.

Yes, JFBConnect - Profiles - Community Builder is enabled. clicking the plugin opens up like this : awesomescreenshot.com/025s8zk03 No parameters. Was something to be added here ?
* Can you check Community Builders fields and see if any are set to "Required"? If there are required fields that *do not* have a mapping in JFBConnect, you'll need to mark them as not required. CB will not let us save the user to the database if a required field is not filled out.

Yes, I am using all the fields listed in the plugin.
* Is the user properly activated after they login with Facebook?
Yes, Users are properly activated and the same is reflected in the jfbconnect users.
Again, we'll do what we can to help, but there are features in JFBConnect that will not work with Joomla 1.7. Additionally, J1.7 has big, big security issues. Please make regular backups as it's likely your site will one day be hacked.

Hi, Being a web developer I can understand but upgrading to joomla 2.5 is not possible as I have said earlier too.And I am just looking for facebook login and profile data import to community builder fields. Nothing more. Hope you can do something into this. fingers crossed.
Thanks,
Alex

The topic has been locked.
Active Subscriptions:

None
13 years 5 months ago #29677 by php.jfbconnect
And alzander, this is very important . Site has to go public on this friday. :(
The topic has been locked.
Support Specialist
13 years 5 months ago #29692 by alzander
There are no settings for the CB Plugin in the plugin manager. You'll see the settings in the Profiles section of the JFBConnect administration area. In there, you need to make sure you've set a field mapping for each field of CB that is specified as 'required' in CB.

If none of that's working, please feel free to Private Message me a set of Super Admin credentials. We'll gladly look at the configuration to see if things seem correct there. However, our ultimate, and only, suggestion may be to upgrade to Joomla 2.5. We don't support Joomla 1.7 and I don't know what features of JFBConnect require Joomla 2.5 functionality. It's possible there's a new API call or other change we're expecting that's only available in Joomla 2.5. Additionally, since you're unwilling to upgrade, I'm assuming you've made changes to Joomla's core files, which also adds a lot of unknowns that we can't possibly debug. It's also possible you've modified CB as well, which is another layer of unknowns.

So, please send us an admin account and we'll gladly help look into things, but I can't guarantee any sort of solution since you're running on an unsupported system.

Thanks,
Alex
The topic has been locked.
Support Specialist
13 years 5 months ago #29714 by alzander
I just went into the admin area of your site to check things out. I tried to create an account just to test, but I can't delete the account because you didn't provide a super administrator account.

From looking at your settings, I think I see the problem. As noted above, any settings in CB that are marked as "Required" must have a field mapping in JFBConnect. The following fields are all 'required' but do not have a mapping in the Profiles area of JFBConnect:
cb_usertype
cb_pinnumber
cb_homezipcode
cb_currentzipcode
connections
cb_us
cb_u

There are some other settings (Terms and Forum Settings) that are marked as required, but are special and shouldn't be preventing the profile from being imported. To test though, I would recommend unsetting all the required values for all fields. Test that way and see if the information comes in. Once *all* fields are marked as non-required, if the profile is imported, start marking fields as required *if* they are being mapped to a Facebook field in JFBConnect.

Hope that helps. If it doesn't, please leave all the field as not-required and delete the account I created so I can test again. It'd be great if I had super admin access as well so I could delete any test accounts I create.

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

None
13 years 5 months ago #29716 by php.jfbconnect
Hi, Thanks for the info .
I checked com_jfbconnect/libraries/profile.php file and the problem was that the query was unable to run
$qry = $this->_db->setQuery($sql);

at line no 202

I made it to work somehow. But can you please advise on two things:

1. Is this the right syntax or something missing ?
2. How to add fields of community builder into field mapping in admin under jfbconnect component ?
awesomescreenshot.com/031sd92b4
I hope am clear enough.
The topic has been locked.
Support Specialist
13 years 5 months ago #29728 by alzander
That line should work, and it works for others. I'm not sure how you edited it, so I can't tell you if what you changed is correct. However, if it works for you, that's a good start.

For adding more fields to the mapping table, you can't. Right now, we only show text, textarea, or other user-entered fields. Things like select, radio, or dropdowns can't be imported from Facebook because those fields in Facebook will have different values that the selections you provide.

If there's a specific field you're look to add, let us know, and we can look into how to do it. Also, let us know the field name you'd like to import the data from Facebook. That will help us determine if it's even possible.

Thanks,
Alex
The topic has been locked.