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)
-   -   Miscellaneous Hacks - Facebook-Comments to CMS-Articles (https://vborg.vbsupport.ru/showthread.php?t=277646)

BF777 03-20-2012 08:30 PM

Do the comments show up as Facebook status updates?

In other words, if I comment on an article, will it show up on my Friend's Newsfeed?

BF777 03-20-2012 09:57 PM

I also keep getting some debugger error.

Does this mod support redirects? I just changed my domain name a few days ago so I have a redirect from the old domain name to the new one.

Noli 04-02-2012 06:33 PM

Here is the code to get rid of the compatiblity mode error. This code also sets one comment box per cms article, so you dont have all the comments mixed in alle the articles.

Code:

<!-- FB Comments -->
        <h2 class="blockhead" style="padding-top:5px;"><span class="optiontitle">Facebook Kommentare</span></h2>
        <div id="thread_tags_list" class="thread_info_block blockbody formcontrols floatcontainer">
          <div class="blockrow floatcontainer">
                <div id='tag_list_cell'>
    <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=YOURAPPID&amp;xfbml=1"></script><fb:comments href="http://www.YOURSITE.com/{vb:raw relpath}" expr:xid="YOUR-APP-ID" simple="1" num_posts="10" width="500" publish_feed="true"></fb:comments><br/>
                </div>
            </div>
        </div>
<img src="clear.gif" height="10" /><br />
        <!-- /FB Comments -->

just change all the stuff, just a little sidenote, the link in href isnt vbseo compatbile. i dont think that should be a big problem.

xeon1 04-08-2012 08:08 AM

Noli, Thank you! You're a life saver :)

~Xeon1

Kraxell 04-08-2012 08:10 AM

I'll take a look at nolis code and modifiy my :)

Kraxell 04-09-2012 12:37 PM

Code is fixed. Thank to Noli for his help!

Noli 04-09-2012 02:16 PM

btw. this should also work if you use the code under {vb:raw similarthreads} in SHOWTHREAD.

BF777 04-09-2012 10:57 PM

Works great in version. 4.1.1.1. Excellent job.

Naijasite 06-14-2012 04:26 AM

Its working perfectly check it out on this forum click on any of the article and scroll below and you will see the Facebook comment working http://www.naijafinder.com/content/

Kraxell 06-14-2012 08:08 AM

Thanks for feedback :)


All times are GMT. The time now is 02:59 PM.

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.01254 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete