MyBB Community Forums

Full Version: add twett and fb share on profile and link posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hello it is my first post here on forum, i love a lot this mybb forum. i want to make it more nice, so i need this things: to add fb share and tweets in profile posts, and numbers will be link, for explain better im sending an image, just please help meSad

[attachment=27870]
For the facebook share, try this plugin: http://www.mybbextras.net/showthread.php?tid=275
For the twitter tweets, try this plugin: http://www.mybbextras.net/showthread.php?tid=290 Smile
thanks for answer i will try to install this and if i will face problems i will post here,but the answer it is incompleteConfused becouse i like to know also how to do this important things for me its also from that website

Post: #9 and when you click it goes on that answer..its really nice,can you explain me please how to do?
That is default. Is it not there for you?

If it isn't, navigate to AdminCP -> Templates & Style -> Templates -> Your Theme's Templates -> Postbit Templates -> posbit

Is the following piece of code present in that template:
{$post['posturl']}
wow wow wow great!really thanks!!!!but the only thing that in thoose thread it's not said how to install fb and twetter share,and were i need to put my twetter page,if it need and what to change on the code..
I haven't used them myself. Try check the included readme file. Smile
problems here that don't show in good order first tweet and after share...

http://letsplanmywedding.com/forums/show...d=50#pid50
In your postbit template, you can move the following pieces of code wherever you want:

{$post['facebook_share']}

To put it at the bottom of the user's details, add it below:
{$post['user_details']}

For the twitter plugin, it should be in the postbit_author_user template. You can move this wherever you like in that template. The code should look like this:

<a href="http://twitter.com/share" class="twitter-share-button" data-text="{$mybb->settings['twittweet_1']}" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
Great, with this i have find better solution! to put fb share near twitter!but now didn't show in the same line..can be this fixed? i mean twitter button it is a little up then fb share.. http://letsplanmywedding.com/forums/show...d=55#pid55 Confused
After {$post['facebook_share']}, add: <br />
Pages: 1 2