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:
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:
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.


i did what your tutorial suggested but it didn’t work pls help
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).
It’s working, BUT W3C validator gives 3 errors.
What doc type are you trying to validate for? Certain themes can also give errors as well.
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.
Thanks a lot i was looking for this only, using plugin causes more load instead this trick works..
Works GREAT! Thank you! BTW, Your blog is very helpful.
not working mate. I tried on 1.68 version.
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
It appears fine to me, what’s wrong with it?