I think you have an extra double quote after dark. With your code it worked in every browser except for IE. Removing the double quote made it work in everything.
Thanks for the tip!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried this and got nothing at all. I changed the 'yourblogaddress' bit to my blog address, and took out the extra double quote. There wasn't a // DATE section on my themes.php page, so put that line of code under
$entry_array = $GLOBALS;
in the // SUBJECT section. You said it could go anywhere.
What might I have done wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
added facebook like functionality to posts.
scripts/sb_display.php
add
$entry_array = 'index.php?entry='.$entry;
under
$entry_array = 'comments.php?y='.$y.'&m='.$m.'&entry='.$entry;
themes.php
add
$blog_content .= '<BR><iframe src="http://www.facebook.com/widgets/like.php?href=http://yourblogaddress.com/' . $entry_array . '" scrolling="no" frameborder="0" style="border:none; width:450px; height:30px" allowTransparency="true" colorscheme="dark" "></iframe>';
you can add this anywhere, i added it under the date. you will see this section listed as // DATE
Thanks!
I think you have an extra double quote after dark. With your code it worked in every browser except for IE. Removing the double quote made it work in everything.
Thanks for the tip!
I tried this and got nothing at all. I changed the 'yourblogaddress' bit to my blog address, and took out the extra double quote. There wasn't a // DATE section on my themes.php page, so put that line of code under
$entry_array = $GLOBALS;
in the // SUBJECT section. You said it could go anywhere.
What might I have done wrong?
Hi,
Is it possible that these changes do not work for the theme used?
I have made these changes to two pages I have and only works in one of them (which is not working is version 0.5.0).
Any idea what might be wrong?
Thanks in advance.
I got it to work on the Default Theme.
I also saw where I could remove "Created by" as it's a Personal Blog I don't really need "Created by"
thanks' for the tip..
this works for google+
add
at line 400 and edit line 402 to
dont forget to add the google + javascript in /scripts/sb_javascript.php
greetz echtor
http://echtor.net
perfect @echtor,
Thanks for the script (y)