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

Reply
 
Thread Tools
Easiest way to add Facebook Comments on thread Details »»
Easiest way to add Facebook Comments on thread
Version: 1.00, by naveeid naveeid is offline
Developer Last Online: Apr 2019 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 01-04-2013 Last Update: Never Installs: 32
Template Edits
Re-useable Code Translations  
No support by the author.

hi friends

i was using the old modification to add facebook comments on my vbulletin forum. but it was giving multiple errors and problems.


here is the method.

1) Enable facebook from settings

2) go to show thread templates / SHOWTHREAD

FIND: {vb:raw similarthreads}

paste this code above

Code:

<!-- FB Comments -->

<div align=center><br><br>
<div id="fb-root"></div>
<div class="fb-comments" data-href="http://www.YourWEBsiteAddress.com/{vb:raw thread_url}" data-numposts="5" data-colorscheme="light"></div>
<br><br></div>
<!-- /FB Comments -->

=>Please dont forget to change my website name with your own website forum home page url.


=>Note:- i hope you have given your facebook application API key in your vbulletin facebook settings.

here is screen shot of the modification , its working fine.


Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
akz645, BUDIMAN, sodasusu

Comments
  #12  
Old 01-08-2013, 04:48 AM
naveeid's Avatar
naveeid naveeid is offline
 
Join Date: Jan 2011
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@jafri , brother the mod you mentioned is excellent. and previously i was also using it. its good work, but its very old and it is showing multiple errors on different browser. the code needs to be updated.

now i have implemented this new mod in my own website , its working fine without any errors.
Reply With Quote
  #13  
Old 01-10-2013, 11:51 PM
morrow's Avatar
morrow morrow is offline
 
Join Date: Mar 2002
Location: NJ
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this mod and have a question. I have a facebook page that contains the same content as my website. WHen I enter a comment, I'd like for that comment to be posted to my facebook page that is dedicated to the same as my website and not published to my personal facebook page.

I have added the API key and the secret word key to my vbulletin settings. Am I on the right track or am I not understanding what this mod is? I don't need my friends to see updated posts from my website.

Thanks.
Reply With Quote
  #14  
Old 01-11-2013, 12:47 AM
naveeid's Avatar
naveeid naveeid is offline
 
Join Date: Jan 2011
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

brother , this mod adds a feature , that facebook users can post comments at bottom of the thread. thats all. whever they will comment , the post will be shared on their walls. and also their comments will appear in your thread bottom. this is all. you can see in this screen shot also.
Attached Images
File Type: jpg Untitled.jpg (56.8 KB, 0 views)
Reply With Quote
  #15  
Old 01-15-2013, 04:27 AM
Princezz Princezz is offline
 
Join Date: Mar 2012
Location: Germany
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine, thanks!
Reply With Quote
  #16  
Old 01-16-2013, 05:33 AM
naveeid's Avatar
naveeid naveeid is offline
 
Join Date: Jan 2011
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks and welcome princezz.
Reply With Quote
  #17  
Old 02-05-2013, 01:16 PM
macroforum macroforum is offline
 
Join Date: Mar 2010
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this useful mod!
I have dark theme and the comments are black...how can i change the font color?
Thanks
Antonio
Reply With Quote
  #18  
Old 02-12-2013, 09:18 AM
sivaganeshk sivaganeshk is offline
 
Join Date: Oct 2010
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Macroforum : use this

<div class="fb-comments" data-href="http://example.com" data-width="470" data-num-posts="10" data-colorscheme="dark"></div>

if u need more modification, check http://developers.facebook.com/docs/...gins/comments/
Reply With Quote
  #19  
Old 02-13-2013, 07:27 AM
macroforum macroforum is offline
 
Join Date: Mar 2010
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sivaganeshk View Post
@Macroforum : use this

<div class="fb-comments" data-href="http://example.com" data-width="470" data-num-posts="10" data-colorscheme="dark"></div>

if u need more modification, check http://developers.facebook.com/docs/...gins/comments/
Thanks for your help!!!
Antonio
Reply With Quote
  #20  
Old 04-28-2013, 04:42 PM
kurti kurti is offline
 
Join Date: Nov 2008
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,
can you please explain this part in details:
"=>Note:- i hope you have given your facebook application API key in your vbulletin facebook settings."

i have no idea what to do about that. i never set up an application before.

i'm using vB3.7 btw.
Reply With Quote
  #21  
Old 07-17-2013, 06:49 AM
kartheekb kartheekb is offline
 
Join Date: May 2010
Location: india
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool one Brother..
but the comment is not loading after posting.. show time its showing only if i reload page...


The Previous code shows errors...
this one hows errors : https://vborg.vbsupport.ru/showthread.php?t=239023
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 11:35 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
  • Page Generation 0.04625 seconds
  • Memory Usage 2,332KB
  • Queries Executed 27 (?)
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
  • (1)bbcode_code
  • (1)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
  • (11)post_thanks_box
  • (3)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete