alzander wrote: Dotcom,
Sorry I missed your post earlier. Full Facebook User shouldn't act any differently than Facebook User Only. The best guess I have for this is that the JFBConnect User plugin is not properly ordered after the Joomla User plugin. Please check the JFBConnect overview page and under "Required Extensions", make sure that there are no errors there. If that doesn't help, I'd ask you to send us a super admin account for your site so we can investigate further.
Both of you:
If you'd like the radio button fields and URLs to show up in the field mapping, try the following PHP modification. We'll be adding URL fields to the next release, but are still deciding on Radio buttons. They are tough because you need to make sure the options are the same as what gets imported from Facebook. Feel free to test.
To show those fileds, modify the /plugins/jfbcprofiles/communitybuilder.php file. At line 189, you'll see a long line that starts with $query = "SELECT * ... At the end of this line, add the following (the date part is already there to give you an idea:
OR type="date" OR type="radio" OR type="webaddress"';
Test it out and let us know how it goes! Good luck!
# log our new user in
$app->login(array('username'=>$username, 'password'=>$password));
$app->logout(); // <--- Add thisif ($jUserId)
{
$dbo = JFactory::getDBO();
$query = "SELECT user_id, confirmed, approved FROM #__comprofiler " .
"WHERE user_id = " . $jUserId;
$dbo->setQuery($query);
$status = $dbo->loadObject();
if (!$status->confirmed || !$status->approved)
{
$response->status = JAUTHENTICATE_STATUS_FAILURE;
$app =& Jfactory::getApplication();
$app->enqueueMessage('Not approved', 'Error');
return false;
}
....Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
