MyBB-Plugins Forums
How to edit Facebook Like? - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.4.x (http://forums.mybb-plugins.com/Forum-MyBB-1-4-x)
+---- Forum: General (http://forums.mybb-plugins.com/Forum-General)
+---- Thread: How to edit Facebook Like? (/Thread-How-to-edit-Facebook-Like)



How to edit Facebook Like? - habs - 05-07-2010

Nervo, i want to add facebook like button to every post, but only the thumb image and counter:

1. How to add it to every post
2. How to make facebook can understand from which post the button clicked.

thanks, i have the facebook like button code, but i don't know how to make it able to post on facebook after the button clicked, especially to show Post Title and post URL.

Thanks in advance


RE: How to edit Facebook Like? - Diogo Parrinha - 05-07-2010

This is more of a request rather than asking for help.


RE: How to edit Facebook Like? - habs - 05-08-2010

well, okay.. just let me know how to include thread title on it, that's it..
I'll try the rest by myself. thanks
okay, how to get URL??

Code:
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:60px;"></iframe>

that's the code for wordpress, so, i need to know how this script to be able get the thread link to replace the

Code:
<?php echo urlencode(get_permalink($post->ID)); ?>

just that! i know how to put it on thread bit.. but i need to know how to get mybb thread url..

thanks nervo


RE: How to edit Facebook Like? - Diogo Parrinha - 05-08-2010

You must edit the postbit templates


RE: How to edit Facebook Like? - habs - 05-09-2010

i know, the only thing that makes me confused is how to get the Thread Title, so when it posted on facebook it will showed up like this:

Habs like Thread Title on Forum Name

i don't know how to get the thread title.


RE: How to edit Facebook Like? - Diogo Parrinha - 05-09-2010

{$thread['subject']} ?


RE: How to edit Facebook Like? - habs - 05-09-2010

forget it Nervo.. Big Grin
Thanks anyway..

finally i can make it Smile

http://community.mybboard.net/thread-69278.html