Add MyBB Social Sharing Buttons, No MyBB Plugins

Add MyBB Social Sharing Buttons, No MyBB Plugins, 4.0 out of 5 based on 2 ratings

How to add MyBB social bookmarking / sharing buttons, no MyBB plugins required.

Sharing content found on the Internet on social networking sites has become quite popular in recent years, this is mainly done by using social sharing buttons. You can easily add MyBB social bookmarking buttons on your own forum to share threads and content by editing some MyBB codes without installing any MyBB plugins to add extra SQL queries and server load on your forum.

This tutorial will be using the AddThis service as MyBB social sharing buttons on my forum.

Step 1: Go to addthis.com, on the front page you can choose a style for your MyBB social sharing buttons. Afterward click the “Get the Code” button and you’ll see your generated code. Copy that.

Step 2: On your forum, go to Admin CP > Templates & Style > Templates > (your default templates) > Show Thread Templates > showthread.

Step 3: Find:

<body>
  {$header}
  {$pollbox}

Paste the AddThis code you copied earlier just below this code to add your new MyBB social sharing buttons. Save changes.

Here’s the result:

Add MyBB Social Sharing Buttons, No MyBB Plugins

You can experiment and move the MyBB social sharing buttons around to fit where you want them to be.

Want them on your index page too? Go to Admin CP > Templates & Style > Templates > (your default templates) > Index Page Templates > index.

Find:

<body>
{$header}

Paste the AddThis code just under this, save changes. The result:

Add MyBB Social Sharing Buttons, No MyBB Plugins - Index Page

Again you can experiment and add the MyBB social bookmarking buttons anywhere you want them to be. You can also rearrange or remove certain sharing buttons by removing or changing the class of that button.

By signing up to AddThis, you can choose several more styles. sharethis.com also offers a similar social sharing service for adding MyBB social sharing buttons on your forum.

VN:F [1.9.20_1166]
Rate This post
Rating: 4.0/5 (2 votes cast)

11 thoughts on “Add MyBB Social Sharing Buttons, No MyBB Plugins

    • What exactly is not working? Make sure you copy the entire AddThis (or any social sharing code you’re using) code and place it in the correct MyBB template(s).

  1. XHTML 1.0 Transitional

    No errors when validating without this buttons, 3 errors with

    end tag for element “script” which is not open
    (> is marked red)

    there is no attribute “fb:like:layout”

    (” is marked red, “button)

    there is no attribute “g:plusone:size”

    (” is marked red, “medium)

    • Facebook and Google+ uses their own attributes, Facebook uses XFBML for example, it’s not really possible to validate them as XHTML 1.0 Transitional as it is. You can try rewriting it with javascript.

  2. Hello,

    I need your help.
    How can I fix the sharing button, on the left side under the Welcome, Guest box at my website?
    I do not know how can I fix it.

    I hope for quick replies.

    Thank you in advance

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by Sweet Captcha
Verify your real existence,
Drag Drag and put the money in the wallet
  • captcha
  • captcha
  • captcha
  • captcha