Sociable's Facebook Connect plugin causing issues with get_avatar function (3 posts)

  1. tyr
    Posted 7 years ago #

    I'm having a problem where Sociable's FB Connect plugin is overriding the "get_avatar()" call that I make in the footer of my theme.

    On the theme of my blog I use the get_avatar function to call avatars for all my contributors within the footer. You can see an example of the "normal" footer here: http://www.raincityguide.com/

    However, with the Facebook Connector plugin installed, the get_avatar function calls the avatar of the very last commenter to leave a post (as oppose to the author) within the footer. Here’s an example: http://www.raincityguide.com/2009/02/21/on-this-day-in/

    Note, this ONLY happens if the last commenter users FB Connect to leave their comment. If they didn’t use Facebook Connect, then the footer appears as it should and the get_avatar function calls the correct avatar for each of the contributors

    I'm not much of a coder, but it appears to me that the plugin is (essentially) taking over the "get_avatar" function and not letting it go so I can use it elsewhere on the page. How might I go about clearing the "get_avatar" function after it is done cycling through the comments (but before the footer)?

    By the way, i thought I'd point out that I did try the developers website first, but after a few days, my comment has not yet had a response: http://www.sociable.es/facebook-connect/?cp=35

    Thanks in advance for your help!

  2. Dingjob
    Posted 7 years ago #

    Did you ever figure anything out on this?

    I'm having similar issues using Facebook Connect. My main problem is when a user is posting a comment. They post their comment and it is processed through ajax without a page refreshed. Since the page is not being refreshed FB Connect is not processing the avatars properly so I have a blank avatar.

  3. tyr
    Posted 7 years ago #

    Nope... never did find a solution... Instead I just took down the call to get_avatar(). not ideal, but at least the site doesn't look broken.

Topic Closed

This topic has been closed to new replies.

About this Topic