MyBB Community Forums

Full Version: how to add facebook sharebutton at the end of the first post only
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all
I edited the postbit_classic template to add the facebook share button and It was successfully added ,but it appears at the end of every post I want to add it at the end of the first post only so what shall I do ??
waiting replies
thanks
waiting help please answer me
You'll need a plugin to do that.
OR you might like to add it on showthread page below the the thread rating stars ...
thanks for reply
@bongo what is the plugin you talking about??
@ranjani I want to add it at the end of the first post before signature


but can I use IF function at mybb ??? and if I can use it what's the code

by the way here is the code I use

<p><center><a name="fb_share" type="button_count" 
href="http://www.facebook.com/sharer.php">please share at facebook </a><script 
src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" 
type="text/javascript"></script></center></p>
@ ranjani thank you very very much at last it worked thank you again man good job