The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to Add Facebook 'Like' Button to First Post
The bottom of the FIRST post in this thread shows what I'm looking to do, I'm running VBulletin 4.x.x, how can I do this? Thank you.
Here's my forum: http://www,BoostedK20.com |
#2
|
|||
|
|||
Anyone?
|
#3
|
||||
|
||||
Open Template (SHOWTHREAD)
Search For <div id="pagetitle" class="pagetitle"> Add below: <vb:if condition="THIS_SCRIPT == 'showthread'"> <div style="float: right; padding: 0px 0px 0px 0px;"> YOUR LIKE-CODE </div> </vb:if> |
#4
|
|||
|
|||
Awesome, how can I get my like code though? The "Like" button in the forum above takes the thread you like and posts that you liked it to your news feed. Hope this does the same way, just show me how to get my like code please.
|
#5
|
||||
|
||||
You must create a developer-Account on Facebook.
make standard facebook account. need afacebook application, anyone can set one up and it's simple http://www.facebook.com/developers/createapp.php |
#6
|
||||
|
||||
I was gunna do that to fiddle around with FaceBook Connect a bit, but apparently ya need to give FB a mobile phone or credit card number to "confirm your account" or whatever in order to get a developer account.
However, what I used in a non-vB site which would still probably work (and that you don't need a developer account for) can be found here: http://developers.facebook.com/docs/...gins/like-box/ I just changed the URL in the HTML it spat out at me.... And I would guess it would work if you put in the post URL with a variable for the post ID in your template, yah? |
#7
|
|||
|
|||
The thing with the above is that they are boxes and are too large. The example in the first post is just a small little "like" button. How can I get that?
|
#8
|
||||
|
||||
<a href="https://developers.facebook.com/docs/reference/plugins/like/" target="_blank">http://developers.facebook.com/docs/.../plugins/like/</a>
That? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|