Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter Mr.Dmitrij

    (@dmitrijusaldosinas)

    Already fixed that. Changed the line to look like this:

    $like_box_xfbml = “<script src=\”https://connect.facebook.net/en_US/all.js#xfbml=1\”></script><fb:like-box href=\”$pageURL\” connections=\”$connection\” width=\”$width\” height=\”$height\” show_faces=\”$showFaces\” border_color=\”$borderColor\” stream=\”$streams\” header=\”$header\”></fb:like-box>”;

    added connections=\”$connection\” width=\”$width\” height=\”$height\” options to the line.

    awesome fix. thank you Dmitrijus

    I have no idea where Dmitrijus put that code… I am not a developer.
    But my height is getting cut off also…

    It’s not on the home page, as it looks crummy in the footer… but it’s on the inside of the site, here is a page:

    https://pursuitathleticperformance.com/blog/

    How do I fix this? Or will there be an update to this plug in?

    I am on WP3.5… and recently updated template also.

    Exactly where and how did you do this?

    Got the same problem but no clues :

    https://www.primitiv.com

    Thread Starter Mr.Dmitrij

    (@dmitrijusaldosinas)

    Hi guys,

    the solution is quiet simple – just edit the wp-content/plugins/facebook-like-box-widget/facebook-like-box-widget.php file, and change the first line that start’s with $like_box_xfbml to look like this:

    “$like_box_xfbml = “<script src=\”https://connect.facebook.net/en_US/all.js#xfbml=1\”></script><fb:like-box href=\”$pageURL\” connections=\”$connection\” width=\”$width\” height=\”$height\” show_faces=\”$showFaces\” border_color=\”$borderColor\” stream=\”$streams\” header=\”$header\”></fb:like-box>”;”

    As you can see, it adds some parameters to the whole line, so it passes the height and connection parameters to the facebook script. It should work perfectly.
    Although, one more thing. After you change this line, you should be able to adjust the height of the box through your widget configuration options. You must do it manually – change the height so it would fit your webpage template, and change the connection attribute to adjust how many faces you wanna see in your box. It won’t adjust automatically.
    If you have any questions – I’ll be glad to help ??

    Thread Starter Mr.Dmitrij

    (@dmitrijusaldosinas)

    Hello again,

    looks like new WordPress update 3.5.1, which is available from now fixes this bug ??

    I just wanted to say thank you for this post. It helped a lot. Instead of adding connections=\”$connection\” to that line of code I only inserted
    height=\”$height\”. For some reason when I added the connections part into the php file it just broke the widget.

    Any sign of an update for this excellent plugin. All the fixes above don’t work for me (3.51) and just broke the widget also

    I’ve tried this exactly:

    Replace the first line beginning “$like_box_xfbml

    with the text below

    “$like_box_xfbml = “<script src=\”https://connect.facebook.net/en_US/all.js#xfbml=1\”></script><fb:like-box href=\”$pageURL\” connections=\”$connection\” width=\”$width\” height=\”$height\” show_faces=\”$showFaces\” border_color=\”$borderColor\” stream=\”$streams\” header=\”$header\”></fb:like-box>”;”

    and it breaks the plugin in 3.51

    Can confirm that zena’s suggestion of adding height=\”$height\” to the code works.

    Does anyone know how to make this responsive?

    Mine is broken too ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Problems after upgrade to WP 3.5’ is closed to new replies.