8
Aug
2010
1

Facebook Like Button V5.0 Major Update

[Update 5.9.3]

  1. Bug Fixes.
  2. Custom Page Type Added.
  3. Disable on Custom Posts.
  4. Custom Post Type Added.

[Update 5.9.2]

  1. Send Button Support Added!

[Update 5.8 - 5.9]

  1. Post thumbnail bug fixed! . Now whenever you have a thumbnail for a post and you share it on Facebook it’s going to show this thumbnail by default…

Blank Screen & Fatal error [FIX]

If you get this error after updating to 5.9 you can solve it by adding this line of code to your theme functions file:


 add_theme_support( 'post-thumbnails' );

 

[Update 5.7]

  1. Disabled in Certain Pages Bug Fixed.
  2. Show in home Bug Fixed.
  3. og:description Bug Fixed.

Updates:

  • Admin layout has been redesigned.
  • Facebook Recommendations has been added.
  • Facebook Recommendations sidebar widget has been added.
  • Facebook Recommendations shortcut has been added.
  • Customizable Recommendations Widget Title.
  • Customizable Recommendations Widget Layout Settings.

Notice:

To Everybody who get fatal error. Contact your web hosting providers and tell them to upgrade to PHP 5 or the latest version of PHP.

Integrate Recommendations it into your template:

By Shortcut:

fb_rec –> put it inside [ ]

By PHP code:


<!--?php $Rec_Widget = new Widget_Layout(); echo $Rec_Widget--->Layout();

?>

Integrate Like Button it into your template:

By Shortcuts:

fb_count  –> for the count button. put it inside [ ]

fb_fb_like –> for the normal button. put it inside [ ]

By PHP code:


<!--?php //For the normal button if(function_exists('Short_Button')) { 	echo Short_Button(); 	} //For the count button if(function_exists('Count_Button')) { 	echo Short_Button(); 	} ?-->

Disable in certain pages:

While creating/editing a page you can find a box on the side, under the publish/update box, called: Disable Facebook Like Button.

Check the check box to disable the button from this page or uncheck to enable it.

Download

 

As i can see, my plugin’s rate is so bad. so if you really like it please rate it up here:

http://wordpress.org/extend/plugins/facebook-like-button/

and you can donate using the sidebar widget to help the plugin continue growing.

if you have any question leave a comment or email me on: me@ahmedgeek.com

You may also like

The Official Tweet Button Plugin for WordPress
Facebook Like Button for WordPress V3
Facebook Like Plugin for WordPress V2.5
WordPress Facebook Like Button Plugin V2

294 Responses

  1. Pingback : apsara loves mitoken - ?????????????

  2. Pingback : wordpress?Facebook?(???)???!!??? | ??????????

  3. avatar

    Hi! Great plugin!

    I just wanted to notify you of a bug that occurs when a post has double quotes in it. There is a meta tag that’s displaying the post title and it’s not encoded.

    This causes the tag to break and it displays part of the text at the top of the page.

    [Reply]

  4. Pingback : WordPress: What is the best Facebook-like plugin for WordPress? - Quora

  5. Pingback : WordPress????????????? « Web????

  6. avatar
    Erik

    I am having the same problem as several others. When I try to disable the like button on one page, it disables it on all of my pages. Is there a solution for this?

    [Reply]

  7. Pingback : Jacob Schatz » Blog Archive » Tweet button and Facebook Like button for Wordpress

  8. avatar

    Oh, also: your note about people getting a fatal error because of not using PHP 5 helped solve a problem with another plugin I was trying to use. Its developer had no idea why it was crashing; seeing your comment about that and upgrading to PHP 5 solved both problems! So, thanks!

    [Reply]

  9. avatar

    Hi, it seems that your Facebook-Like Button does not work with the new design of Facebook. Each user can switch to a new design and handling. Now when I push the Like-Button I get an error of Facebook with a missing URL. Before I switched to the new profile page everything was fine. I use your version 5.7 and it’s a great plugin.

    [Reply]

  10. avatar
    Sean

    Hi all

    I am running WP 2.8.4 and am trying to install the plugin Ver5.7. However I am getting the following fatal error. PHP has been upgraded – has anyone solved a similar problem?

    Sean

    Fatal error: require_once() [function.require]: Failed opening required ‘/usr/share/wordpress/wp-content/plugins/facebook-like-button/inc/local.inc.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /usr/share/wordpress/wp-content/plugins/main.php on line 31

    [Reply]

  11. avatar

    OK I give up :(

    Just look in code: now – first substr 140 chars from content and after that strip_tags
    But if content starts with Like button there is just html code which is stripped to empty string. To fix this first strip_tags from content and then substr 140 chars (or more).

    Its all I want say ;-)

    Thanks for plugin;-)


    Just remove my prev comments, thanks ;-)

    [Reply]

    avatar

    Ahmed Reply:

    Okay, thanks a lot Chaster. :)

    [Reply]

  12. avatar
    Jackie

    I just wanted to report a bug. 5.7 says “2.Show in home Bug Fixed”.

    The Like button does not appear on my home page.

    Thanks for the great plugin!

    [Reply]

    avatar

    Ahmed Reply:

    Did you check the show in home box?

    [Reply]

  13. Pingback : 2011 Must Have FREE Plugins For WordPress | David Papandreas

  14. avatar
    Eric

    Hi
    Please update your plugin link, it’s still pointing to your old page.

    Use hook to insert script at the footer of the page, because the script is inserted for each post in the index page.

    Thanks

    [Reply]

  15. avatar

    I’m suddenly missing the thumbnail images on my website which is using the facebook recommendations plugin.

    Actually there is one thumbnail image out of six that is showing, but it is showing an incorrect image next to the person, the rest are just generic icons. Any idea what’s causing this?

    [Reply]

  16. avatar

    I am getting the following error: Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/xxx/public_html/wp-content/plugins/facebook-like-button/inc/update_options.inc.php:101) in /home/xxx/public_html/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121 Not sure why this is happening, WordPress version is 3.0.4

    [Reply]

  17. avatar
    Benny

    Hello, i’ve got problems with ä, ü and ö. @ Facebook. If i Press the
    Button @a Page with The following
    Content:Cover für Ausgabe Nr. xx Artikel Fotos für Ausgabe Nr. xx”.” i See only “RockStarT Magazine (Print) Cover für Ausgabe Nr. xx Artikel Fotos für Ausgabe Nr. xx”

    I Hope you can help me!

    [Reply]

  18. Pingback : 10 Essential Wordpress Plugins for Photobloggers | Seven by Five

  19. avatar

    I’m using your plugin on one of my website. My layout setting are the followings:

    style: standard
    show faces: yes
    verb to display: like
    font: def.
    color scheme: light
    width: 535
    height: 64

    Basically, there is a 30px or so blank space (the space for faces appear after likes), when nobody likes my post. Is there any way to be a bit dinamically, and hidden that space before someone likes my post/uses the plugin?

    Thanks for your response!

    [Reply]

  20. avatar
    chris voss

    Recently my website stopped working with the posts on IE only. It scrolled the posts down a long way to the bottom. Turns out it was your plugin again. Any fixes?

    Chris

    [Reply]

  21. avatar
    John

    Great Plugin. I’m using it on all of my sites. Perhaps i missed how to do this but..
    how do you change the description that is displayed on FaceBook. While in Facebook, if i share a link to the main page of my site, The title and photo show up properly as setup in the plugin, however.. the description is showing an excerpt of my top post. Can i change this to display something more relevant?

    [Reply]

  22. avatar

    Hi Ahmed – Love the plugin! One question:

    Is there any way to link the plugin to a Facebook Fan Page? For example, we’ll get 12 likes on a post on our web page, but a Wall Post with a link to the same exact post will have only 1 or 2 likes on our Facebook Fan Page.

    Any ideas on how we can link the likes we receive on the webpage to our Fan Page?

    Thanks! – Josh

    [Reply]

  23. avatar
    Jackie

    The Facebook Like Button appears directly underneath my posts. Is there a way for me to edit the code to add a or something to add some space?

    [Reply]

  24. avatar
    Benny

    @Jackie you can add the following codes in the article, oder site. to get space between content und the button, use the html mode and add a “” without the “. I hope i can help.

    fb_count –> for the count button. put it inside [ ]

    fb_fb_like –> for the normal button. put it inside [ ]

    i decided me to delete this plugin and install a nother facebook plugin, because no support. It’s sad, because the plugin do exactly that what i need.

    @ahmed, if you get a solution for my problem, i would use your plugin again. because, i love it !

    [Reply]

  25. avatar

    Hello Ahmed

    First thanks for the plug-in. Second… i have a problem with it. After 3 people clicking like on some post on my site (www.kafepauza.mk) Facebook is giving wrong picture and very short and cut in the middle excerpt.

    Can u help me?

    Thanks in advance.

    [Reply]

  26. avatar

    Hello Ahmed!

    I have kind of a lame question but I was unable to get the answer by googeling it.

    What exactly should be filled in the Admin ID field?

    Best wishes,
    Martin

    [Reply]

  27. avatar

    Hello,

    I ve been using your facebook like button and it seemed to work perfectly ok until a few days ago when it started to fail.What makes it more strange is that it seems to be working all right in some posts and it doesn t work in others. The problem I am experiencing is that all the likes counted have disappeared and if you click on the like button it doesn t add any like at all.

    I am using wordpress 3.05.

    Thank you

    [Reply]

  28. avatar
    Anonymous

    Hi Ahmed! I’ve got your Facebook Like plugin installed on my WP site. But in the past two days, several of my pre-existing “likes” have started to disappear. There is no pattern for this. Some posts have retained all their ‘likes’ while others have entirely disappeared. Again, there seems no rhyme to why this is happening (URL links have not been edited, etc.). Posts that had upwards of 50 ‘likes’ have now gone to zero. Quite upsetting! Any suggestions? Thank you!

    [Reply]

  29. Pingback : Najlepsze wtyczki do WordPress’a | KogelMogel - webowy mix - ciekawe artyku?y na temat internetu.

  30. avatar
    Jasper

    Hi, I like your plugin.
    But I got a lot of w3c errors in my site when using this plugin. Is it possible to fine tune the code? When you use this plugin in a category page, the button will apear multiple times. So you cannot use the same ID (id=”fb-root”) for all the buttons.

    regards

    [Reply]

  31. avatar
    Amit

    Hello,

    I am getting the following error whenever I save settings for the Facebook Like Button –

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/wedding/public_html/blog/wp-content/plugins/facebook-like-button/inc/update_options.inc.php:101) in /home/wedding/public_html/blog/wp-content/plugins/wordpress-automatic-upgrade/wordpress-automatic-upgrade.php on line 121

    Could you please help.

    FYI, currently using WordPress v 3.1 ….. just updated today.

    Thanks

    [Reply]

    avatar

    Ahmed Reply:

    It’s probably caused by the WordPress Automatic Upgrade plugin, because it hold some headers. So if something is printed before it run, this is going to cause an already sent header problem.

    [Reply]

  32. avatar

    I got a white blank site today after i upgraded your plugin. Scared me at first, but the solution was to add

    add_theme_support( ‘post-thumbnails’ );

    to my themes functions.php file.

    I didn’t get any “Fatal error” (probably my hosts settings?), just wanted to let you know.

    Great plugin btw! Love it :)

    [Reply]

  33. avatar
    Greg

    I am using php5 on my site. It is the default. I also have php4 and i am getting blank page. Was working fine before i installed the update.

    You want us to add a bit of code to the template? Plugins should work out of the box without having to manually edit it ourselves.

    Because of that I have removed it from my site. However when you fix it i may reinstall it.

    [Reply]

    avatar

    Ahmed Reply:

    Actually it’s not my plugin problem it’s a theme designer problem. they should ‘ve added this code to their style cuz it’s slandered now to have a thumbnail into your post.

    And i can’t add it into the theme actually if it’s not there already, so you have to do it manually and i don’t find a problem by doing this. It’s just few clicks mote..

    [Reply]

  34. avatar
    Aigars

    Hi!
    I updated wordpres to version 3.1 few days ago. Today I saw that new version of your Facebook Like button is here, which is 5.9. So I upgraded.
    But after I wanted to check out my blog, message came up – Fatal error: Call to undefined function get_post_thumbnail_id() in /home3/liveyou5/public_html/flashandphp/wp-content/plugins/facebook-like-button/inc/fun.inc.php on line 20

    What does it mean? And how it can be fixed?

    Thank you

    [Reply]

    avatar

    Ahmed Reply:

    Hi, the fix is under the change log in this post.. go up and read it :)

    [Reply]

  35. avatar

    Here is the text from my functions.php file.

    ”, ‘after_widget’ => ”, ‘before_title’ => ”, ‘after_title’ => ”) );
    }
    function wp_version() {
    global $wp_db_version;

    if ( $wp_db_version

    Can you tell me exactly where to place the addtional text — add_theme_support( ‘post-thumbnails’ ); ?

    Wherever I’ve tried it, it hasn’t helped.

    [Reply]

  36. avatar

    Have had this plug in for a long time, but just now when updated it, it broke my site. No error message, but when I go to my site only the background is showing. I added that code to the functions file, but its still not working.

    [Reply]

  37. avatar
    Rowan

    I have had the same problem of fatal error after updating. Added the code but it didn’t work. Can’t you update the plugin then we can reinstall it? Also have I lost my previous likes now that I have had to disable it?

    [Reply]

  38. avatar

    The bug is still there.
    It generates the following error:
    Fatal error: Call to undefined function get_post_thumbnail_id() in …./wp-content/plugins/facebook-like-button/inc/fun.inc.php on line 20

    [Reply]

  39. avatar
    hatten

    My facebook like thumbnails seem to be random wich it takes. If i like a post it wont take that thumbnail for that specific post but instead it seems it uses any random postimage it finds.

    Any solution to this?

    [Reply]

Leave a Reply