Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

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
  #22  
Old 03-30-2010, 07:51 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
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?
You only upload the xd_receiver.htm to your server, no edits of it at all. I would also be sure that your path to that file is correct where it says "<path from web root>/xd_receiver.htm"). So it would be something like "/home/site/public_html/forum/xd_receiver.htm")
Reply With Quote
  #23  
Old 03-30-2010, 08:13 PM
Phil K?vin Phil K?vin is offline
 
Join Date: Jul 2009
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, i'll keep trying. I will review everything again. =}
Reply With Quote
  #24  
Old 03-31-2010, 04:28 PM
literatestylish literatestylish is offline
 
Join Date: Feb 2010
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would the mod creator or another helpful fellow be willing to post detailed instructions? Some of us aren't tech savy enough to know what to do when it says to create a "cross-domain communication file (xd_receiver.htm)"
Reply With Quote
  #25  
Old 03-31-2010, 04:40 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 literatestylish View Post
Would the mod creator or another helpful fellow be willing to post detailed instructions? Some of us aren't tech savy enough to know what to do when it says to create a "cross-domain communication file (xd_receiver.htm)"
Sure, I've updated the first post to be a little more clear.
Reply With Quote
  #26  
Old 03-31-2010, 04:40 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you have a live demo we can view?
a screenshot doesn't always do the mod justice
Reply With Quote
  #27  
Old 03-31-2010, 05:00 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 Loco.M View Post
do you have a live demo we can view?
a screenshot doesn't always do the mod justice
Sure, here you go, scroll to the bottom http://www.politicalgroove.com/showt...Blah-Blah-Blah...
Reply With Quote
  #28  
Old 04-06-2010, 06:04 PM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah ...

This thing is temperamental at best and decides all on its own when it will work.

When it DOES work it works well, but if there is any amount of lag from Face book it simply fails to load.

And still .. Does not work ( for me ) with IE.
Reply With Quote
  #29  
Old 04-06-2010, 06:24 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 SwollenCranium View Post
Yeah ...

This thing is temperamental at best and decides all on its own when it will work.

When it DOES work it works well, but if there is any amount of lag from Face book it simply fails to load.

And still .. Does not work ( for me ) with IE.
I can confirm that it has a mind of it's own when it will and will not work. Unfortunately we are at the beck and call of FB when it comes to that, on the upside the javascript utilizes an iframe so at least it doesn't hang the whole page up.
Reply With Quote
  #30  
Old 04-08-2010, 10:46 AM
Jabong82 Jabong82 is offline
 
Join Date: Feb 2010
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is interesting. Would you say this mod is not really stable for use? I have placed this mod in other areas of my site, and because the unadjustable nature of the comment box I had to redesign some areas to accommodate it. However I notice that it does not show up when using certain browsers.

I notice it works fantastic in Firefox and Opera, but does not work in Internet Explorer or Safari. So as I said I redesigned parts of my site, I now have a gaping hole where it should be when it doesn't load.

Is there any way to fix this?
Reply With Quote
  #31  
Old 04-08-2010, 11:51 AM
archet1337's Avatar
archet1337 archet1337 is offline
 
Join Date: Sep 2009
Location: Norway
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great mod, but unfortunately Facebook suck donkey butt when comes to stable plugins.

"Something went wrong. We're working on getting this fixed as soon as we can. You may be able to try again."

Seen that message too many times to count.

Thumbs up on the mod though. Good job *installed
Reply With Quote
Reply

Thread Tools

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 10:39 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.05524 seconds
  • Memory Usage 2,337KB
  • 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
  • (4)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
  • (4)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