Recent Topics

1 Jun 22, 2010 12:13    

My b2evolution Version: 2.x

Is there a way to add the Facebook "like" button to each b2e post I issue?

<iframe src="Some Facebook URL" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:px">

<fb:like href="Your URL" layout="standard" show-faces="true" width="450" action="like" colorscheme="light" />

2.4.6

2 Jun 22, 2010 12:35

        <iframe src="http://www.facebook.com/plugins/like.php?href=<?php $Item->permanent_url();?>&amp;layout=button_count&amp;show_faces=true&amp;width=150&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>

Put this within your post loop .../skins/yours_skins/index.main.php (posts.main.php)

You can alter the button parameters

http://developers.facebook.com/docs/reference/plugins/like

3 Jun 22, 2010 13:08

Thanks, I will try this out tonight!

4 Jul 20, 2010 14:51

Where exactly do I add the code in post.main.php?

5 Jul 20, 2010 15:19

Wait... got it thanks.

6 Apr 01, 2011 22:18

Amazing, thanks! :D

7 Apr 06, 2011 20:43

tilqicom wrote:

        <iframe src="http://www.facebook.com/plugins/like.php?href=<?php $Item->permanent_url();?>&amp;layout=button_count&amp;show_faces=true&amp;width=150&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:21px;" allowTransparency="true"></iframe>

Put this within your post loop .../skins/yours_skins/index.main.php (posts.main.php)

You can alter the button parameters

http://developers.facebook.com/docs/reference/plugins/like

Hello all!

Just a quick question, where do you put this code in the files.

index.main.php
posts.main.php

Does the code go into both php files?

I am nearly there! I may find the answer by the time someone reply's!

This is my code for the like button.

<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ficanhelp.ie%2Ftestblog%2Fblog2.php%2Fmy-journey-to-everest-2012&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>

This is just my test site for the moment.

Thanks all in advance!


Form is loading...