Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add Facebook comments to threads Details »»
Add Facebook comments to threads
Version: 1.00, by ericgtr ericgtr is offline
Developer Last Online: Feb 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.0.2 Rating:
Released: 03-23-2010 Last Update: 03-29-2010 Installs: 133
Template Edits
 
No support by the author.

This modification will integrate Facebook comments directly into the posts, at the bottom of the page.

What is needed for this modification:
Once that is done it's time to add the code to the SHOWTHREAD template.

Find:
Code:
{vb:raw similarthreads}
Add this above:
Code:
	<!-- FB Comments -->
	<h4 class="threadinfohead"><span class="optiontitle">Facebook Comments</span></h4>
	<div id="thread_tags_list" class="thread_info_block">
		<div class="inner_block">
			<div id='tag_list_cell'>
<script src="http://static.ak.connect.facebook.com/connect.php/en_US" type="text/javascript"></script><script type="text/javascript">FB.init("YOUR API KEY");</script><fb:comments> </fb:comments>
			</div>
		</div>
	</div>
	<!-- /FB Comments -->
Be sure to add your API key.

Screenshots

File Type: jpg screen.JPG (53.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
andro140, iiioroh, Razta, Toorak Times

Comments
  #12  
Old 03-26-2010, 12:29 AM
cloferba cloferba is offline
 
Join Date: Apr 2009
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and the facebook user wall screenshot??

i would like to see how comments appears on the wall
Reply With Quote
  #13  
Old 03-26-2010, 03:30 AM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by malas2007 View Post
where is the cross-domain communication file (xd_receiver.htm)???
From the instructions above here is the link http://www.somethingtoputhere.com/xd_receiver.htm <--- save file as
Quote:
Originally Posted by cloferba View Post
and the facebook user wall screenshot??

i would like to see how comments appears on the wall
It will appear on your wall as a generic comment from what I can tell, not sure if it links to the post or not.
Reply With Quote
  #14  
Old 03-26-2010, 09:53 PM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDit:

Works with FF, and Chrome. No luck via IE.
Reply With Quote
  #15  
Old 03-26-2010, 11:40 PM
FazerPaint's Avatar
FazerPaint FazerPaint is offline
 
Join Date: Jun 2008
Location: UK
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this............Installed and nominated for MOTM

Excellent work :up:
Reply With Quote
  #16  
Old 03-27-2010, 03:17 AM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SwollenCranium View Post
EDit:

Works with FF, and Chrome. No luck via IE.
I can confirm it works fine with IE, not sure why that's happening. I know that sometimes it seems slow to load from Facebook's end though.
Quote:
Originally Posted by FazerPaint View Post
I love this............Installed and nominated for MOTM

Excellent work :up:
Thanks!
Reply With Quote
  #17  
Old 03-27-2010, 04:42 PM
TNCclubman's Avatar
TNCclubman TNCclubman is offline
 
Join Date: Sep 2008
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you make a vB 3.8.5 version? (Still waiting for a facebook like style before I upgrade to 4.0)

Thanks!!!!!

Also, do you need to have Facebook Connect installed for this to work?
Reply With Quote
  #18  
Old 03-27-2010, 06:18 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TNCclubman View Post
Can you make a vB 3.8.5 version? (Still waiting for a facebook like style before I upgrade to 4.0)

Thanks!!!!!


Also, do you need to have Facebook Connect installed for this to work?
I don't have a 3.8 version but this will still work, it's just a matter of finding a place for it at the bottom of your showthread template for the javascript. You do not have to have facebook connect to use this.
Reply With Quote
  #19  
Old 03-30-2010, 06:46 AM
Phil K?vin Phil K?vin is offline
 
Join Date: Jul 2009
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I followed the steps, but does not work. Can you explain better please.
Reply With Quote
  #20  
Old 03-30-2010, 01:07 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pнιl ĸ?vιn View Post
I followed the steps, but does not work. Can you explain better please.
Just to make sure, you created your facebook application, uploaded the xd_receiver.htm to your forum root and added your unique API key to the javascript?
Reply With Quote
  #21  
Old 03-30-2010, 07:37 PM
Phil K?vin Phil K?vin is offline
 
Join Date: Jul 2009
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes man, i did that. I created the Facebook application and uploaded xd_receiver.htm, i change de API KEY, but does not work. Perhaps it is because you do not edit all fields of application.

xd_receiver.htm file what contains that file, edit it? or just create it?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05061 seconds
  • Memory Usage 2,340KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete