![]() |
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:
|
All times are GMT. The time now is 06:47 AM. |
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:
|