Closed (fixed)
Project:
Facebook Connect
Version:
6.x-1.0-beta9
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2010 at 15:19 UTC
Updated:
10 Apr 2010 at 19:50 UTC
I install new version: 6.x-1.0-beta9, but whit this version when user register new account, no avatar from facebook account is loaded. I read README.text, and i have selected "Let the user choose", but still not works any avatar autoloaded. Anyone can help me?
Comments
Comment #1
thaddeusmt commentedI am having the same issue, I'll post if I figure out a fix for it
Comment #2
thaddeusmt commentedFound the bug. On line 681 (?) in fbonnect.module there is a little typo. The line of code is this:
if ($conf['user_picture'] == 'allow') {But it should be this:
if ($conf['user_pictures'] == 'allow') {Notice the missing "s" on "user_picture".
Works fine now.
Comment #3
Aquilasfx commentedI continue to have the same problem! Can you share your working version of fbonnect.module?
Comment #4
thaddeusmt commentedI'll post a patch eventually, but alas I don't have time right now. Don't have patch generating stuff set up on this box. It's easy to make the change in the code in the mean time. Just be sure to refresh the Drupal cache, as always. :)
Here the whole function, in case there is any confusion:
Comment #5
Aquilasfx commentedyou change only this function? why you not attach your facebook.module file?
Comment #6
vectoroc commentedhttp://drupalcode.org/viewvc/drupal/contributions/modules/fbconnect/fbco...
Comment #7
Aquilasfx commentedThanks now avatar are loaded, but now there is another problem:
if i estract image avatar with views for example, drupal take only default image not specific facebook image by that user... why that?
Comment #8
sammyman commentedI am having the same problem in views.... Anyone help?
Comment #9
alexkb commentedYep, this mod worked for me, nice work thaddeusmt!
Comment #10
vectoroc commentedfixed in dev version
Comment #11
sammyman commentedThe issue of fbconnect not showing user avatars in views is not fixed. I was able to follow this to get the facebook avatars to show on comments, but definitely not through views when someone selects User:Profile Picture.
Comment #12
vectoroc commentedI know. It's an different issue
Comment #13
sammyman commentedOk thanks. If anyone is interested in this issue, I posted a new issue here:
http://drupal.org/node/697654
Comment #14
karimb commentedThx. Works fine now.
Comment #15
jpshayes commentedI dont know if I should post this here or open another issue but, When using the code in #4 or the link to the module in #6 and the realname module I get this error.
warning: Invalid argument supplied for foreach() in /var/www/path/to/drupal/sites/all/modules/realname/realname.module on line 325.Comment #16
jpshayes commentedIs anybody using fbconnect with facebook profile picture and the realname module successfully?
I cant figure out how to get rid of this error
warning: Invalid argument supplied for foreach() in /var/www/path/to/drupal/sites/all/modules/realname/realname.module on line 325.Comment #17
vectoroc commentedSelect "Do not allow the use of facebook user picture at your site" in admin/settings/fbconnect
I think that realname wont work with fbconnect_theme_user_picture_override