vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Integration with vBulletin - Facebook comments to threads (https://vborg.vbsupport.ru/showthread.php?t=283022)

katim110 05-15-2012 10:00 PM

Facebook comments to threads
 
1 Attachment(s)
Its very easy to Add Facebook comments to threads.

Just go to show thread templates / SHOWTHREAD

FIND: {vb:raw similarthreads}

paste this code above

<div class="fb-comments" data-href="http://mywebsite.nl" data-num-posts="2" data-width="470"></div>

change mywebsite with your own website.

enjoy

xixxon 05-18-2012 02:06 PM

Demo, please

AURFSCAN 05-19-2012 02:17 AM

1 Attachment(s)
demo? puts a comment box at the end of the thread..

how about using the url of the page?

Code:

<div class="fb-comments" data-href="/{vb:raw relpath}" data-num-posts="2" data-width="470" ></div>

Gamelobby 05-19-2012 07:37 PM

website root or forum root.?
Quote:

Code:

<div class="fb-comments" data-href="http://mywebsite.nl" data-num-posts="2" data-width="470"></div>

Also what does the "2" refer to.?

Kraxell 05-20-2012 08:20 AM

Use this one:
https://vborg.vbsupport.ru/showthread.php?t=239023

Gamelobby 05-21-2012 02:55 AM

Quote:

Originally Posted by Kraxell (Post 2330902)

Thanks, that works much better. (except on Facebook's end is all kinds of bullsh*t. lol)


All times are GMT. The time now is 09:14 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.01698 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete