MyBB Community Forums

Full Version: Put a Twitter/FaceBook/Google+ share buttons on each post!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I saw that there is a board where in each post of every thread there are facebook, twitter and google+ post share buttons, and I would really like to put them on my board too. How can I do that? Is there any plugin? Any tutorial to do that? 
postbit_classic template

Beside the Reply button
<fb:like layout="box_count" show_faces="false" href="http://yourside.com/{$post['postlink']}" style="vertical-align: middle;" width="100"></fb:like>

Something like that?
I want to create a button like the reply one with the twitter small icon to tweet a post!
Should be the same thing,, get the code from fb, twitter and g+, but then share and not like (like the code above, that's for like), include the js in headerinclude.
Buttons can be changed to you're need, and I've would use css to adjust the icons to fit your needs.

OR use add-this, and configure it to use fb, twitter and g+.

Do you need guidance, or fulfill this your question?
Hello . Where can I find "postbit_classic template"?
Worked perfectly,thanks bagger!
Hi medikameht, With a slight variation, I put the code at Default Templates > Post Bit Templates > postbit
next to the post date:


[Image: 14simtx.jpg]

You will also find postbit_classic here
Cool
Good job!
Thank you dude!
I want to put the fb sharing and twitter sharing buttons near the Rate button.
Dear friends, and who added the Facebook button ?

Twitter:
[attachment=32790]
To insert the buttons next to Rate button>

Go to:
ACP>Templates and Styles>Templates>your template>Post Bit Templates>postbit_classic
Near the end, you'll find:


<div class="postbit_buttons author_buttons float_left">
		{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
	</div>
Insert the fb, g+ or twitter buttons after {$post['button_rep']} but before </div>
Pages: 1 2