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

XF 1.5 Implementing Facebook

Discussion in 'Styling and Customization Questions' started by MirandaSings, Aug 24, 2015.

  1. MirandaSings

    MirandaSings Active Member

    Page Plugin

    Having a bit trouble showing my facebook page on forum list.

    Thanks for the help!
     
  2. MirandaSings

    MirandaSings Active Member

    How to implement this?
     
  3. Mr Lucky

    Mr Lucky Well-Known Member

    Do you mean showing a link to it? AFAIK you can't actually "show" your facebook page on the forum list.

    To link, you would create a node that is a link, enter the link to your facebook page and choose its position/parent.

    It looks the same as a forum apart from the link icon, and will go to your facebook page.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Add the HTML to a custom template in the sidebar, or use one of the ad_sidebar* templates.

    Code:
    <div class="fb-page" data-href="https://www.facebook.com/ClipTheApex"
      data-width="250" data-hide-cover="false" data-show-facepile="true"
      data-show-posts="false"></div>
    upload_2015-8-27_10-19-33.png

    Code:
    <div class="fb-page" data-href="https://www.facebook.com/ClipTheApex" 
      data-width="250" data-hide-cover="false" data-show-facepile="true"
      data-show-posts="true"></div>
    upload_2015-8-27_10-27-53.png
     
  5. MirandaSings

    MirandaSings Active Member

    Hi, I tried the ad_sidebar_top and put those 2 codes

    <div class="fb-page" data-href="DreamAion Network"
    data-width="250" data-hide-cover="false" data-show-facepile="true"
    data-show-posts="false"></div>


    <div class="fb-page" data-href="DreamAion Network"
    data-width="250" data-hide-cover="false" data-show-facepile="true"
    data-show-posts="true"></div>

    But it doesn't show anywhere on the forum list
     
  6. MirandaSings

    MirandaSings Active Member

    Did I pick the wrong template or?
     
  7. MirandaSings

    MirandaSings Active Member

    Still having trouble :/

    Any solution? @Brogan
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Works for me.
    Code:
    <div class="fb-page" data-href="https://www.facebook.com/pages/DreamAion-Network/1604217896516412"
      data-width="250" data-hide-cover="false" data-show-facepile="true"
      data-show-posts="true"></div>
    upload_2015-8-28_17-23-34.png
     
  9. MirandaSings

    MirandaSings Active Member

    That's weird, it works in demo but not in my forum.

    Link to demo: XenForo

    Any idea why? I tried disabling all addons also.
     

Share This Page