HTML code in sidebar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Teascu Dorin
    Senior Member
    • Aug 2010
    • 257

    HTML code in sidebar

    Hello,

    I have add an HTML code for the Facebook Social Plugin in the sidebar and is not showing anything either with HTML or PHP selected.
    It can't be used HTML or I did something wrong?
    Best Regards

    roStyles Design LLC
    CEO & Founder (Design and Support)
    Romanian Translator
    Teascu Dorin
  • David Moore
    New Member
    • Mar 2011
    • 22

    #2
    Can you be a bit more specific? I used Addthis.com to get the code for this... then I used the ad module not the html static module. Use the ad module, then check "when user is browsing content page." It works perfectly.

    Comment

    • Teascu Dorin
      Senior Member
      • Aug 2010
      • 257

      #3
      For example I can not add the code below into the sidebar (module). Appears empty.

      Code:
      <div class="fb-like-box" data-href="https://www.facebook.com/roStyles.Design" data-width="240" data-height="340" data-show-faces="true" data-stream="false" data-border-color="#000000" data-header="true"></div>
      Best Regards

      roStyles Design LLC
      CEO & Founder (Design and Support)
      Romanian Translator
      Teascu Dorin

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24287
        • 6.0.X

        #4
        I believe for Facebook stuff there is other code that you may have to add to one of the templates, such as the footer.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • Teascu Dorin
          Senior Member
          • Aug 2010
          • 257

          #5
          Originally posted by Mark.B
          I believe for Facebook stuff there is other code that you may have to add to one of the templates, such as the footer.
          I had to activate the Facebook Options with the ID and secret. That did it.
          Best Regards

          roStyles Design LLC
          CEO & Founder (Design and Support)
          Romanian Translator
          Teascu Dorin

          Comment

          • Mark.B
            vBulletin Support
            • Feb 2004
            • 24287
            • 6.0.X

            #6
            Originally posted by Teascu Dorin
            I had to activate the Facebook Options with the ID and secret. That did it.
            That is the case for the default "Facebook Connect" functionality, yes. However it looks as though the OP is trying to add a Facebook Social Plugin into an HTML module. I have a feeling that this will also require some code in the footer, though I am no expert on Facebook.
            MARK.B
            vBulletin Support
            ------------
            My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
            My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

            Comment

            • Wayne Luke
              vBulletin Technical Support Lead
              • Aug 2000
              • 74092

              #7
              Originally posted by Teascu Dorin
              I had to activate the Facebook Options with the ID and secret. That did it.
              This is because once enabled, we actually pull the Facebook Javascript that allows their social plugins to work. If it is disabled, you need to add code to the page to do this per their instructions. This code can only exist on the page once though or it will cause problems.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              • Teascu Dorin
                Senior Member
                • Aug 2010
                • 257

                #8
                Originally posted by Wayne Luke
                This is because once enabled, we actually pull the Facebook Javascript that allows their social plugins to work. If it is disabled, you need to add code to the page to do this per their instructions. This code can only exist on the page once though or it will cause problems.
                It's important that there is a result that actually works at the end, maybe others will look for this and will be helpful.
                Best Regards

                roStyles Design LLC
                CEO & Founder (Design and Support)
                Romanian Translator
                Teascu Dorin

                Comment

                Related Topics

                Collapse

                Working...