Back to vBulletin 4.x Add-ons

Facebook Like button
Mod Version: 1.00, by gakz

vB Version: 4.x.x Rating: (0 vote - 0 average) Installs: 7
Released: 30 Jun 2011 Last Update: Never Downloads: 0
Not Supported Code Changes Re-usable Code  

There are a few facebook like buttons floating around... This is the one that I can say 100% works on my 4.1.4 board.

What it will do:
-Add your facebook like to the thread in the first post only
-Display your name and thumbnail for your profile picture
-It will post the thread, with the thread title on your news feed/wall



Preview:




I placed the code after:
PHP Code:
{vb:raw ad_location.thread_first_post_content
in the postbit_legacy


Facebook Like button Code:

PHP Code:
<!-- Facebook Like -->
<
iframe src="http://www.facebook.com/plugins/like.php?href=http://www.YOURURL.com/forum/{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:75px"></iframe>
<!-- / 
Facebook Like --> 
The width and height are adjustable... If you get a lot of likes and notice some profile thumbnails cut off you can adjust to fit them all... or you can adjust to remove thumbnails completely.

Replace:
PHP Code:
http://www.YOURURL.com/forum/ 

With the URL and installed folder of your domain. For example... I use:
PHP Code:
http://www.properimage.net/forum/ 

Because my Forum is installed in:
PHP Code:
http://www.properimage.net/forum/forum.php 


Credit goes to https://www.facebook.com for giving the tools to make the code.

This code may NOT work properly with certain MODS or vbSEO features... It should work with all mods and vbSEO stuff though

Download

No files for download.

Similar Mods

Mini Mods Facebook Like Button on Thread vBulletin 4.x Template Modifications

vblts.ru supports vBulletin®, 2022-2024