2010-05-08, 05:54 PM
Well.. i don't know how to make mybb plugin, so i just edit and add a few lines on mybb templates.
1. login to your admin panel
2. Go to Templates & Styles
3. Click Template and expands your current templates
4. Click on Show Thread Templates >> showthread
5. Fine {$multipage}, edit and add like below
6. Save and Continue Editing, edit until you comfort with the layout
If you want to display the name who click the like button and also some message to click, better you edit the..
to
Some screenshots using layout=standard:
before clicked
![[Image: 16gls0k.jpg]](https://camo.mybb.com/3a8aabc7443dd708027af5afda59e910e9b6289f/687474703a2f2f6934332e74696e797069632e636f6d2f3136676c73306b2e6a7067)
after clicked
![[Image: s275eq.jpg]](https://camo.mybb.com/1e4377fc9dd6b476ab2ea4b942a9be79ce6763db/687474703a2f2f6934302e74696e797069632e636f6d2f7332373565712e6a7067)
on facebook news feed
![[Image: 15goy88.jpg]](https://camo.mybb.com/623b490849dec07e1971b95b99c3fc0e86539f00/687474703a2f2f6933392e74696e797069632e636f6d2f3135676f7938382e6a7067)
Note: The Facebook Like Button code is the code inside tag <iframe> and </iframe>
1. login to your admin panel
2. Go to Templates & Styles
3. Click Template and expands your current templates
4. Click on Show Thread Templates >> showthread
5. Fine {$multipage}, edit and add like below
<div align="left">
{$multipage}
</div>
<div class="float_left">
<iframe src="http://www.facebook.com/plugins/like.php?href={$mybb->settings['bburl']}/showthread.php?tid={$tid}&layout=button_count&show_faces=false&width=450&action=like&font=tahoma&colorscheme=light&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:23px;" allowTransparency="true"></iframe>
</div>
<div style="float: right;">{$ratethread}</div>
6. Save and Continue Editing, edit until you comfort with the layout
If you want to display the name who click the like button and also some message to click, better you edit the..
layout=button_count
to
layout=standard
Some screenshots using layout=standard:
before clicked
after clicked
on facebook news feed
Note: The Facebook Like Button code is the code inside tag <iframe> and </iframe>