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: Aug 2020 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
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:	8485
Size:	89.7 KB
ID:	116172   Click image for larger version

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

Name:	fb_like3.JPG
Views:	8327
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.
  #151  
Old 19 May 2010, 21:06
speedimpulse speedimpulse is offline
 
Join Date: Jan 2010
installed and working great
Reply With Quote
  #152  
Old 26 May 2010, 19:40
HobbesGTS HobbesGTS is offline
 
Join Date: Mar 2008
I added this code to the calendar_showeventsbit template, so now people can 'Like' events. I also have vbEventsForum installed, so not sure if it would be different for someone who didn't have it installed.


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

Reply With Quote
  #153  
Old 26 May 2010, 22:30
hcmagix hcmagix is offline
 
Join Date: Mar 2006
Originally Posted by hilfe-forum View Post
We have a Problem with the Facebook-Like Button in our Board. Sometimes the words are in english, sometimes in german. If it is in english and sombody clicks the "Like"-Button, appears "You like ist". If it is in german, appears the complete Name. Is there an facility for doing something, so that there appears only "You"?
dann setze statt facebook.com bitte facebook.de ein dann ist alles in deutsch :-)

Schreib mir bitte ob es bei Dir klappt, ich bekomme die Thread URL leider nicht nach Facebook
Reply With Quote
  #154  
Old 27 May 2010, 04:08
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Recommendation:
Where you have in the Like link www.YOURSITE.com you should replace that with {vb:raw $vboptions[bburl]}

Fantastic mod Works great, tho I'm trying to figure out how to get it to post to the stream. Plus it doesn't say "likes this thread at mywebsite.com" it just says "likes this thread" and links to it.
I'm using the postbit option for install.
Reply With Quote
  #155  
Old 27 May 2010, 22:50
hcmagix hcmagix is offline
 
Join Date: Mar 2006
it works for me, thanks TeknoSounds
Reply With Quote
  #156  
Old 28 May 2010, 00:30
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
much welcome hcmagix
Reply With Quote
  #157  
Old 28 May 2010, 16:04
MichaelDance MichaelDance is offline
 
Join Date: Dec 2009
Real name: Michael Dance
Thanks mate love this
Reply With Quote
  #158  
Old 01 Jun 2010, 18:23
Gargi Gargi is offline
 
Join Date: May 2008
The past two days I get the message "error" besides the URL to click. Anobody else got this Problem?
Reply With Quote
  #159  
Old 02 Jun 2010, 05:05
hcmagix hcmagix is offline
 
Join Date: Mar 2006
Yes, same here
Reply With Quote
  #160  
Old 02 Jun 2010, 05:46
Gargi Gargi is offline
 
Join Date: May 2008
Seems to work again for now
Reply With Quote
  #161  
Old 02 Jun 2010, 10:45
sportsbuddys's Avatar
sportsbuddys sportsbuddys is offline
 
Join Date: May 2010
Works great! Thank you
Reply With Quote
  #162  
Old 03 Jun 2010, 11:47
Largo .//npc Largo .//npc is offline
 
Join Date: May 2008
It works but doesn't seem to show on facebook.
Reply With Quote
  #163  
Old 03 Jun 2010, 12:46
TeknoSounds TeknoSounds is offline
 
Join Date: Nov 2006
Originally Posted by Largo .//npc View Post
It works but doesn't seem to show on facebook.
I've only been able to get it to show up on my personal page, it doesn't show in the newsfeed nor relates the actual website name.

Believe it has to do with the facebook connect and the new opengraph they got goin on, they don't talk quite right. Theres certain tags missing in headers that have to be added.
Reply With Quote
  #164  
Old 03 Jun 2010, 20:42
michelle86 michelle86 is offline
 
Join Date: Jan 2010
So I got the button to work, but why doesn't it show up on my Facebook wall when I like a thread? (like in picture #2)
Reply With Quote
  #165  
Old 03 Jun 2010, 21:37
hcmagix hcmagix is offline
 
Join Date: Mar 2006
Originally Posted by michelle86 View Post
So I got the button to work, but why doesn't it show up on my Facebook wall when I like a thread? (like in picture #2)
This will showing in your aktivities. What you mean ist the share button

try this code in the postbit/_legacy Template btw. use the vb ad system for this.


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

then the Post will appear on your FB Wall. btw I think this function will be included in vb 4.0.4
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 19:06.

Layout Options | Width: Wide Color: