Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Add New Facebook "Like" button to your threads Details »
Add New Facebook "Like" button to your threads
Mod Version: 1.2, by ericgtr (Coder/Designer) ericgtr is offline
Developer Last Online: Jun 2016 I like it Show Printable Version Email this Page

vB Version: 4.0.2 Rating: (32 votes - 4.84 average) Installs: 326
Released: 22 Apr 2010 Last Update: 22 Apr 2010 Downloads: 1039
Not Supported Re-usable Code  

Please remember to click Mark as Installed if you use this modification.

Facebook has just launched their latest "Like" button to developers to use on any site. What this does is utilizes the Advertising module to add the "Like" button to the first post of each thread. Please see screenshots to get an idea.

In your Admin CP go to Advertising > New Ad > Choose "Thread" from the dropdown and then select the first thread box. Give it a title (I called mine FB Like) leave "First Post Content" at default and paste in this code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Be sure to change YOURSITE.com to your URL including your forum.

The VBSEO team has instructions on how to make this work for their product here http://www.vbseo.com/f2/facebook-lik...95/#post265997

===========================================
Option 2 (different from above, do not use together) will show at top, see screenshot #3

In Postbit (or legacy) find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add this after:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

For additional information on this button and different parameters please visit http://developers.facebook.com/docs/...e/plugins/like

=================================================

For those who have asked, here is the modification adds both the "Like" button and comments to a users profile http://www.vbulletin.org/forum/showthread.php?t=239424

=================================================
Additional locations to place this code:

For CMS, in vbcms_content_article_page add the code below this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

For pictures, in template album_pictureview add the code below this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

For Blog, in template blog_show_entry add at the very top.

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Screenshots

Click image for larger version

Name:	fb_like.JPG
Views:	8466
Size:	89.7 KB
ID:	116172   Click image for larger version

Name:	fb_like2.JPG
Views:	4369
Size:	11.7 KB
ID:	116173   Click image for larger version

Name:	fb_like3.JPG
Views:	8307
Size:	41.0 KB
ID:	116182  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #241  
Old 25 Nov 2013, 19:58
sv1cec sv1cec is offline
 
Join Date: May 2004
Real name: John
Plus one on the above question, but this iframe, has to be moved to the right side of the postbit window, above the postbit content perhaps.

I've managed to put it under the thread title, but that's not where it should be, if we were to have it in every post.
__________________

John
SV1CEC
Reply With Quote
  #242  
Old 30 Nov 2013, 11:45
orenlebbo orenlebbo is offline
 
Join Date: Nov 2013
Hi,

I managed to add LIKE button to the post.

BUT - I want to add LIKE button to EACH post in thread so users can like specific answer/comment and NOT the WHOLE thread.

How can it be done?

Thanks
Reply With Quote
  #243  
Old 30 Nov 2013, 12:34
sv1cec sv1cec is offline
 
Join Date: May 2004
Real name: John
I am looking at doing the same thing. Putting a like button in every post, but so far I haven't managed to do it. I am waiting for some help in here, if I manage to do it, I'll let you know.
__________________

John
SV1CEC
Reply With Quote
  #244  
Old 22 Dec 2013, 23:00
Savy83 Savy83 is offline
 
Join Date: Aug 2009
anyone successful with getting on every post?
Reply With Quote
  #245  
Old 23 Dec 2013, 09:31
ramesh_umk3's Avatar
ramesh_umk3 ramesh_umk3 is offline
 
Join Date: Jul 2010
Real name: Wiston Book
Remove template condition to get on every post just add facebook like code to template

Gud Luck
Reply With Quote
  #246  
Old 19 Feb 2014, 15:08
AlpineZone AlpineZone is offline
 
Join Date: Feb 2006
Stupid question but if we are serving ads in that spot, this won't work, right?
Reply With Quote
  #247  
Old 20 Jun 2014, 06:40
mangmel mangmel is offline
 
Join Date: Nov 2010
'Shown on Timeline' vs 'Allow on Timeline

Likes only appear in Allow on Timeline:

how to change Shown on Timeline ?

With a smallest counter
Reply With Quote
  #248  
Old 23 Jun 2014, 12:48
mangmel mangmel is offline
 
Join Date: Nov 2010
how to make Likes on Postbit ?
Reply With Quote
  #249  
Old 21 Jul 2014, 17:19
badawidollah badawidollah is offline
 
Join Date: Nov 2008
helpfull
Reply With Quote
  #250  
Old 16 Sep 2014, 00:57
afterburn25 afterburn25 is offline
 
Join Date: Apr 2013
this mod is crap I installed it quickly realized wasn't what i wanted deleted the line out of postbit and guess what it wont get rid of the like i tried everything it wont get rid of it now I would replace the postbit file but I dont know where to find it also have a feeling it but it somewhere else so i cant get rid of it
Reply With Quote
  #251  
Old 16 Sep 2014, 01:38
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Originally Posted by afterburn25 View Post
this mod is crap I installed it quickly realized wasn't what i wanted deleted the line out of postbit and guess what it wont get rid of the like i tried everything it wont get rid of it now I would replace the postbit file but I dont know where to find it also have a feeling it but it somewhere else so i cant get rid of it
If you follow the install instructions, in the reverse order, it should get rid of everything you did.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #252  
Old 16 Sep 2014, 04:09
afterburn25 afterburn25 is offline
 
Join Date: Apr 2013
Originally Posted by ozzy47 View Post
If you follow the install instructions, in the reverse order, it should get rid of everything you did.
didnt you hear i did all i did was add that snipit to postbit template i took it out yet its still there ive even cleared cache on browser and forums and yet its still there
Reply With Quote
  #253  
Old 16 Sep 2014, 04:30
tbworld tbworld is offline
 
Join Date: Oct 2008
If the master style is not modified, then generate a new style parent. Does the modification still exist when using this new parent style? If yes, then you accidentally modified the master style. In this case use "tools.php" and reload the master style.

Always make a backup copy of your board before implementing any modification.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:50.

Layout Options | Width: Wide Color: