Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

How to edit Facebook Like?
#1

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
Heart
#2

This is more of a request rather than asking for help.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#3

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
Heart
#4

You must edit the postbit templates
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#5

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.
Heart
#6

{$thread['subject']} ?
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#7

forget it Nervo.. Big Grin
Thanks anyway..

finally i can make it Smile

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




Users browsing this thread: 1 Guest(s)