Jump to content


- - - - -

Facebook "Like" button at the top of every thread


  • Please log in to reply
6 replies to this topic

#1 visionz510

visionz510

    Advanced Member

  • Members
  • PipPipPipPip
  • 58 posts
  • Location:NY
  • Real Name:Joshua
  • IPB Version:v3.1.x

Posted 07 June 2010 - 05:13 PM

Does anyone know if a mod exists for 2.3 that allows you to put a Facebook "Like" button on the top of each thread?

Posted Image
My Mood Pack for (V22) Member Moods

#2 visionz510

visionz510

    Advanced Member

  • Members
  • PipPipPipPip
  • 58 posts
  • Location:NY
  • Real Name:Joshua
  • IPB Version:v3.1.x

Posted 09 June 2010 - 05:58 PM

Bumpity....

Anyone?
My Mood Pack for (V22) Member Moods

#3 visionz510

visionz510

    Advanced Member

  • Members
  • PipPipPipPip
  • 58 posts
  • Location:NY
  • Real Name:Joshua
  • IPB Version:v3.1.x

Posted 11 June 2010 - 08:00 PM

Bummer...guess no one really knows. I know vBulletin has this feature. Would be cool to incorporate it into Invision. ;)
My Mood Pack for (V22) Member Moods

#4 TX5

TX5

    Coder

  • Members
  • PipPipPipPipPip
  • 228 posts
  • Location:brisbane
  • Real Name:james
  • IPB Version:v2.3.x

Posted 12 June 2010 - 07:44 AM

why not look at some of the ipb tut's on here and check out the developers page in facebook to see how you could integrate the above!

#5 visionz510

visionz510

    Advanced Member

  • Members
  • PipPipPipPip
  • 58 posts
  • Location:NY
  • Real Name:Joshua
  • IPB Version:v3.1.x

Posted 15 June 2010 - 03:07 PM

I have checked out all the tutorials. Nothing really stands out as far as adding this feature to the forum. Oh well....it was worth a shot to see if anyone knew if something like this existed already. ;)
My Mood Pack for (V22) Member Moods

#6 Sandi

Sandi

    Coder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 812 posts
  • Location:Janesville, Wisconsin
  • Real Name:Sandra
  • IPB Version:v3.2.x
Contributor

Posted 16 June 2010 - 07:09 PM

I have been using the code below for several months. It will connect with Facebook javascript and do a popup to add the current site to your members Facebook wall. Facebook has taken several of my members over the past year, I added it with hopes of getting a few back.

The div I added myself but the rest is Facebook's code. Change float and margin to the left side if you prefer and set the margin width as needed.

<div style="float:right;margin-right:30px">
<a name="fb_share" type="button" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</div>

You don't need to add this button  Posted Image  as Facebook does it automatically, but this is just to show you what the button looks like.

Posted Image


#7 webbwriter

webbwriter

    n00b

  • Members
  • Pip
  • 3 posts
  • Real Name:Scottie
  • IPB Version:v2.2.x

Posted 03 November 2010 - 04:37 PM

You rock.  Thanks so much.   I realize this is an older post, but which template did you put this code in?  I've put it in Render Row of the Topic View next to my posted date, but would prefer it to only appear once on the page and not in every post.  Ideally, I'd like to put it next to the topic title but can't find the right template bit to put it in.

Works beautifully!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users