The Arcive of vBulletin Modifications Site. |
|
Add "LIKE" button and other Facebook plugins to threads. Details »»
|
|||||||||||||||||||||||||||||||||||||||
|
Add "LIKE" button and other Facebook plugins to threads.
Developer Last Online: Apr 2011
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! =] Download Now
Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
The colouring in is extraordinary.
Thanks. |
|
#3
|
||||
|
||||
|
No problem
|
|
#4
|
||||
|
||||
|
Thanks a lot, was waiting some like this.
|
|
#5
|
|||
|
|||
|
the right title and link is not posted correct at facebook,
seems like the topic ID doesn't come over |
|
#6
|
|||
|
|||
|
ok here is the fix and the hint for showing it only for the first post:
Code:
<if condition="$post[postcount] == 1"> <fb:like href="http://www.YOURSITE.COM/forum/showthread.php$session[sessionurl]?p=$post[postid]" width="500"></fb:like> </if>
|
|
#7
|
||||
|
||||
|
nice mod, how is it different then the other 2?
|
|
#8
|
||||
|
||||
|
Not much difference, this one just makes use of the meta tags as recommended by facebook, works in all major browsers , adds the picture of the person who LIKED the content, adds a cookie so that a user can only like a thread once, the ability to add a comment (comment will appear on the person's "wall"). and... that's it!
Also, in facebook, you will see something like: Joe likes "page title" on "site name" rather than: Joe likes "page title".
|
|
#9
|
|||
|
|||
|
Error
(I think stems Zoints Seo)
|
|
#10
|
||||
|
||||
|
Quote:
|
![]() |
|
|