![]() |
Add "LIKE" button and other Facebook plugins to threads.
1 Attachment(s)
UPDATED: 7/4/10
What's new? Facebook Comment Box I recently added the new facebook "Like" button to my forum and I want to share with everyone! Yes, this is IE,Firefox, Opera, Safari compatible. Yes, this will also show a "comment" box when hover over. First thing's first: 1. Go to http://www.facebook.com/developers/createapp.php (Facebook account required) 2. Enter your site name in the "Application Name" field... "agree" - "Create new app" 3. Click the Website tab 4: Enter your site URL in the "Connect URL" field. i.e. http://www.DOMAIN.com/ (Don't forget the SLASH). 5. Enter DOMAIN.com in the "Base Domain" field and save. 6. In the next page you will see an "Application ID" number. (you'll need it later... keep the window open for now) Template Edits: headinclude: Under: PHP Code:
PHP Code:
* Replace IMAGEPATH with the actual path to the image you want to be displayed on people's facebook wall. (You can use your site logo) *YOUR PROFILE ID = http://www.facebook.com/profile.php?id=randomnumbers ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ SHOWTHREAD Find: PHP Code:
PHP Code:
under: PHP Code:
PHP Code:
*Save and upload fb.js to root/images ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++ Find: PHP Code:
PHP Code:
*The comment box will only be shown to guests. ++++++++++++++++++++++++++++++++++++++ Now we need to place the "LIKE" button somewhere visible. I use postbit_legacy so, this is what I did: Find: PHP Code:
PHP Code:
* you may change the table color to suit your needs. --------------------------------------------------------------------------- Thanks to BirdOPrey5 for pointing out some mistakes. Mark as Installed if you use this modification. DONE! =] |
The colouring in is extraordinary.
Thanks. |
No problem ;)
|
Thanks a lot, was waiting some like this.
|
the right title and link is not posted correct at facebook,
seems like the topic ID doesn't come over |
ok here is the fix and the hint for showing it only for the first post:
Code:
|
nice mod, how is it different then the other 2?
|
Quote:
Also, in facebook, you will see something like: Joe likes "page title" on "site name" rather than: Joe likes "page title". :) |
Error :( (I think stems Zoints Seo)
|
Quote:
|
Quote:
Quote:
|
Quote:
You could make it fewer edits required if you popped $vboptions[bbtitle] instead of YOURSITENAME. |
kall, does yours work in 3.8x? Looks like it's for vB4.
Thanks Xtrigit, gonna try this one out this weekend! :) |
1 Attachment(s)
Hi, I would like to finish the installation as your mod seems to be working well.
However I have problems with the position of the button. I put it into postbit_legacy under >!-- controls -->, and it's somewhere in the middle of that bit. I couldn't find a way how to change it (except for an align=left), and it seems that the class is coming from FB directly (as far as I understand...). Here is what it looks like: Attachment 117718 This is what it should look like: Attachment 117719 And there is obviously a problem with the comment field which is not working properly: Attachment 117720 Any help is much appreciated, really. Thanks a lot! |
Quote:
|
Worked with 3.8.x
|
IS there a way to NOT show the icons (or faces) of the people who clicked?
|
Quote:
PHP Code:
|
Is there any way to stop it showing in sensitive areas of the board?
|
thanks, great addon! :)
|
Quote:
|
The code was missing something, View the "red" part
Works Nice i changed it cause the Thread part wasn't working i changed to this instead Quote:
Thanks! |
As I said, nice addon!
But I wonder about the long loading time. Is it possible to make it faster? You can see the addon here on my website and it takes so much time to load.. :( |
are you positive it's not something else causing this?
cause it loads fine for me? |
Okay, now it loads fine.
So probably it was because of the cookies ect.. After removing it, it works well! :) Thank you very much! :) |
is it just me or is the create app page down?
|
After installing this addon, I have problems with like button.
By the button it shows me an red error. If I click on it, there comes a popup from facebook with the following message (translated from german): You have to set a ?href?-attribute for the inlineframe. For example <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fexample.com%2Ffoo%2Fbar .html"></iframe>Is there anything wrong in the configuration at facebook.com/developers or do I have to change the code in my website? My configurations on facebook: Canvas Callback URL http://tablet-faq.de/ Connect URL http://tablet-faq.de/ Base Domain tablet-faq.de Canvas URL http://apps.facebook.com/tablet-faq/ FBML/iframe iframe Developer Mode Off Application Type Website Private Install No |
I think this addon already has the LIKE integrated by the way
|
Quote:
so is it really possible to place it on another location? because currently the location of the Like button is kinda messed up.... here's a screenshot http://i49.tinypic.com/2a9cq4h.jpg its kinda floating between the first post and the new reply botton which is kinda annoying... is there a way to put it besides the edit button or the thanks button so its more cleaner and pleasant to look at I hope someone can help me |
1 Attachment(s)
I can get it to show here if thats any good??
|
Quote:
|
I already have made my site page made off of my personal page but I want this info to post to my site page not my personal page- where do I find the info to do this or change the path on where it posts on facebook
|
thanx man ,,, I will try it later
|
I'm getting this error...
Code:
You must specify an "href" attribute to the iframe. Something like <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fexample.com%2Ffoo%2Fbar.html"></iframe> |
Quote:
Quote:
|
any help about this please
Quote:
|
Installed but not working... I went to "like" a thread and I got asked for the comment, I added a comment and posted but got the dreaded red "Error" when I click on "Error" I get a page popup that says:
The page at could not be reached. Facebook ©2010 Then when i reload the thread, OR ANY OTHER THREAD, it says that I like the thread already, and it says 3,398 other people like the same thing- impossible, I only have about 250 active users and 95% of them weren't online. this is all in firefox... in IE I get another popup error when I click "Like" I get: An error occurred with Facebook Platform Opt In. Please try again later. It also says 3,298 other people like it. I've double checked the meta tags and my app id, all valid/correct. Any ideas? Oh, and facebook of course never posts it. |
I don't know if it makes a difference but the link in the template edit: http://www.facebook.com/2008/fbml doesn't work/page not found error.
i couldn't get it to work, no idea why, it's the same code Facebook themselves gives out... so i switched to an iframe version of the code and all works well- just no comments posted. |
I had this working fine but now instead of posting the name of the thread it posts the name of the forum and when clicked it says No Thread specified. If you followed a valid link, please notify the administrator
|
Never mind uninstalled.
|
All times are GMT. The time now is 05:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|