1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Facebook issue on members page

Discussion in 'Resolved Bug Reports' started by dutchbb, Feb 25, 2011.

  1. dutchbb

    dutchbb Well-Known Member

  2. Brogan

    Brogan XenForo Moderator Staff Member

    This is due to a recent change made by Facebook.

    You can update the member_list template as follows - the code is from Mike.

    Find this:
    <fb:facepile width="@sidebar.width" colorscheme="@fbColorScheme"></fb:facepile>

    Replace with this:
    <fb:facepile width="@sidebar.width" href="{$requestPaths.host}" colorscheme="@fbColorScheme"></fb:facepile>
     
    dutchbb likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    Indeed, and something we fixed not that long ago. :)
     
    dutchbb likes this.
  4. dutchbb

    dutchbb Well-Known Member

    Ok thanks.
     
  5. onyxchase

    onyxchase Active Member

    I got the same problem here. I'll just wait until next XF release. I try not to edit templates to make upgrading easier.
     
  6. Wuebit

    Wuebit Well-Known Member

    also happen's on
    account/facebook
     
  7. Mike

    Mike XenForo Developer Staff Member

    And register/facebook - caught all of those. :)
     
  8. Wuebit

    Wuebit Well-Known Member

    Ah right so they changed everything than
     
  9. erich37

    erich37 Well-Known Member

    so just to understand correctly: which features are currently not working re FB ?
     
  10. Mutt

    Mutt Well-Known Member

    thanks
     
  11. Mike

    Mike XenForo Developer Staff Member

    Any <fb:facepile> integration - in the 3 mentioned places. The fix is always to add the href attribute as shown by Paul.
     
  12. Wuebit

    Wuebit Well-Known Member

    in account_facebook /
    Code:
    <dd><fb:facepile width="{xen:calc '@formWidth - @ctrlUnitLabelWidth'}" href="{$requestPaths.host}" colorscheme="@fbColorScheme"></fb:facepile></dd>
    did not fix it or I did it wrong
     
  13. Ryan Kent

    Ryan Kent Well-Known Member

    I made the adjustment and the facebook block simply disappeared from my Member's page. Was that the intended result? Or can we get the fb block back?
     
  14. Brogan

    Brogan XenForo Moderator Staff Member

  15. Ryan Kent

    Ryan Kent Well-Known Member

    I have many friends who have liked my site. They appear in the fb module on the portal page. Are you saying they need to like that particular page of the site? If so what I am not clear on is...when I visit the XF members page I see a message in that area saying "100 people like this." but I do not see any icon I can press so that I actually can like that page.
     
  16. dieketzer

    dieketzer Well-Known Member

    maybe all the facebook jazz should be kept in separate templates.
    the way things are, every time fb changes something i will have to revert templates, whether i manually patch them or not, just to avoid the 'outdated template' warning.
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

    If you haven't edited the templates then there will be no need to revert as they will be automatically updated when you upgrade.

    You only have to revert templates which you have edited and which change between releases.
     
  18. Ryan Kent

    Ryan Kent Well-Known Member

    I've struggled with this bug for about 90 minutes and I can't see what I am missing. When I restore the original code in members_list what I see is:
    FacebookRegisteredMembers2.JPG

    When I add href="{$requestPaths.host}" at the appropriate place, I just see an empty space instead of the fb icon. I am using FF browser but I also tried from a different pc using IE and not logged into fb. Same result. When I view your site (ClipTheApex) it seems to work fine.

    Code:
    <xen:if is="{$xenOptions.facebookAppId} AND {$xenOptions.facebookFacepile}">
            <xen:container var="$facebookSdk">1</xen:container>
            <!-- Changed by Ryan as per XF to resolve facebook display issue -->
                    <fb:facepile width="@sidebar.width" href="{$requestPaths.host}" colorscheme="@fbColorScheme"></fb:facepile>
        </xen:if> 
    The result is FacebookRegisteredMembers3.JPG

    The space is there for the fb icon but it doesn't appear. I confirmed the very small fb icon which should be appearing in this location is appearing correctly in the ShareThisPage area of my site.

    Sorry to ask but I need a bit of help troubleshooting here.[​IMG]
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    Can you try it on a default style?

    It's possible that one of your add-ons is causing the problem, although I haven't seen any other reports of this particular problem.
     
  20. Ryan Kent

    Ryan Kent Well-Known Member

    FacebookRegisteredMembers4.JPG
    Same result. When I first switched to the default template the original issue existed. I modified the code and now it's just a blank space. I don't have your newsfeed module code added here but you can see the empty space.

    As far as add-ons, I have Jaxel's XenPorta and supporting Xen add-ons along with Flexile template. That's it.

    I'll be happy to do the gopher work, I just need a point in the right direction. Can you tell me what templates are involved with making the fb icon appear here? I can check them all to see if I haven't inadvertently made a mistake somewhere.
     

Share This Page