Log in

View Full Version : Facebook "like" Button for Vbulletin


Uberguilds
04-22-2010, 01:39 AM
<iframe src="http://www.facebook.com/plugins/like.php?href=(web_site)&amp;layout=button_count&amp;show_ faces=false&amp;width=450&amp;action=like&amp;colorscheme=dark" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:px"></iframe>

This is the code, my question is, how do I put this in the postbit legacy and have it update the current url.

With this code, every time a user clicks, it links to only one address labeled above as (web_site).

It would be much appreciated for a hand on this.

--------------- Added 1271907196 at 1271907196 ---------------

<iframe src="http://www.facebook.com/plugins/like.php?href=http://(web_site)$_SERVER[SCRIPT_NAME]?$_SERVER[QUERY_STRING]&amp;layout=button_count&amp;show_faces=true&amp;width=&amp;action =like&amp;colorscheme=light"
scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:20px"></iframe>


That does it by Url in browser in postbit_legacy. Now I just need to find out how to add postid.

--------------- Added 1271914719 at 1271914719 ---------------

<iframe src="http://www.facebook.com/plugins/like.php?href=http://[website]/showthread.php$session[sessionurl]?p=$post[postid]&amp;layout=button_count&amp;show_faces=true&amp;width=&amp;action =like&amp;colorscheme=light"
scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:20px"></iframe>

This works by individual post, but I would like to URL preview text to be the same name as the thread.

http://chaosguild.org/pics/fbchaos.jpg

Naan-Kadavul
04-25-2010, 12:51 PM
if its possible..it will be really nice..lets see