• Resolved arajara

    (@arajara)


    I love this plugin. The only problem is that it seems that every comment is imported is associated with the wordpress admin’s email address. This forces the admin’s gravatar to appear.

    I’ve been going in and manually deleting the email address from each new comment. Once I do that, the comment author’s facebook profile pic appears in place of the admin gravatar. Is there a way I can keep the email address field from being populated with these imports?

    http://oaktownlife.com

    Thanks.

    http://wordpress.org/extend/plugins/facebook-comments-importer/

Viewing 14 replies - 1 through 14 (of 14 total)
  • make a some tweak there.. go to plugin file name fbci.class.php and then find ‘comment_author_email’

    then u can change another email address.. hope this help.. sorry for my bad english.

    Plugin Author Neoseifer22

    (@neoseifer22)

    @arajara : what version of the plugin do you use ?

    Thread Starter arajara

    (@arajara)

    Version 1.1.

    Plugin Author Neoseifer22

    (@neoseifer22)

    OK, I don’t have this problem. Do you use another plugin that manage comments or avatars ? Do you see the FB avatars in you WordPress admin ?

    I’m facing the same problem, sometimes a user who has commented on facebook. The admin’s gravatar is shown instead of his, how can i correct this please? I’m using version 1.1 btw.

    I’m having the same problem, the admin’s gravatar is shown on each comment.
    But when I go to the WordPress admin page instead, I see the users own gravatars.

    Weird?! How to fix?

    I have the same problem. Facebook avatars are shown in the admin area, but not on the blog. On the blog everyone gets the same avatar 🙁

    Is this going to be fixed? Or is there a workaround?

    I have the same problem that saqib13, dikkevandale and muratje.

    Plugin Author Neoseifer22

    (@neoseifer22)

    For all of you, are you sure your theme use the get_avatar function ?
    If not, no plugin can manage your avatars.

    The avatar of a facebook imported comment point to the facebook profile avatar, not to the gravatar one, because the plugin cannot access the email address of the user (It’s private in the Facebook profile).

    So, the plugin overrides the gravatar by the facebook avatar when the theme calls the get_avatar function.

    If your theme doesn’t use this function and call the gravatar website directly, it cannot work.

    <?php echo get_avatar($comment,$size='50'); ?>

    That’s the code in my template.

    All right! My problem was with the template and not use get_avatar(). Now the problem is solved.
    Thanks 🙂

    Regarding the avatars, what worked for me was:

    In the file wp-content/plugins/facebook-comments-importer/fbci.class.php

    Line 236 is

    “author_picture” => “http://graph.facebook.com/&#8221;. $user[“id”] .”/picture”,

    I changed it for

    “author_picture” => “http://graph.facebook.com/&#8221;. $user[“uid”] .”/picture”,

    Hope it helps

    FRVUSA, thanks for posting your solution, does it work for previously imported comments? or just for new ones? Because I’ve already edited the plugin as you suggest, but I see no change in the avatars… Should I delete the comments and re-import them?

    Plugin Author Neoseifer22

    (@neoseifer22)

    FRVUSA : It’s not possible this solution works because :

    1. the “author_picture” field is not yet used in the plugin. It is useless for the moment, you can assign it any value you want, nothing will change.

    2. the “uid” field does not exists in the facebook graph.

    Why “uid” ? Where have you find this name ?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Facebook Comments Importer] Admin Email always points to admin gravatar’ is closed to new replies.