MyBB-Plugins Forums

Full Version: How to edit Facebook Like?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
This is more of a request rather than asking for help.
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??

<iframe src="<?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

<?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
You must edit the postbit templates
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.
{$thread['subject']} ?
forget it Nervo.. Big Grin
Thanks anyway..

finally i can make it Smile