Facebook widget or button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Reklaw
    Senior Member
    • Oct 2012
    • 106

    Facebook widget or button

    Curious if anyone has added a facebook widget or link button/like button to their page? I am assuming you have to use custom CSS, HTML, or PHP? Any expample or ideas on how this can be done. Facebook does have several widgets for download so it should be relatively easy once I figure our where to attach. I want to incorporate social media icons into the header and then a live feed on the page.

    Thanks!
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74111

    #2
    Get the widget code from Facebook.

    1) Add it to a Static HTML Module and place the module on the page.

    2) For a button, add the code to a custom template and include that template on the page using an existing template hook.

    No PHP necessary.


    To add a template via the Hooks system:
    1. Go to Products & Hooks
    2. Go to Manage Hooks
    3. Click Add New Hook
    4. Fill out the form. Give it a name, select a template hook and type in the name of the template you want to include.
    5. Save it.
    Translations provided by Google.

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

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...