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)
-   -   Show Thread Enhancements - Add Facebook comments to threads (https://vborg.vbsupport.ru/showthread.php?t=239023)

TimberFloorAu 04-22-2010 02:03 AM

Ok figured that out.
Doesnt show for us.
ie. new comments that is

steven s 04-25-2010 03:31 AM

/installed.
I wonder if more people will use this than Submit threads, blogs, articles to facebook, twitter, myspace and others - addtoany

steven s 04-25-2010 04:24 AM

/uninstalled. That was a quick run.
Firebug keeps giving me this error.
Then I can't click on anything.

Code:

Permission denied for <http://www.facebook.com> (document.domain=<http://facebook.com>) to get property Location.href from <http://mydomain.tld> (document.domain has not been set).

Line 125

It was working for awhile.

mikeo9043 06-29-2010 11:05 PM

Very nice mod! Is there anyway I can make it so the Facebook Comments box shows up under the first post..so that way guests who want to comment dont have to stroll the bottom of the page? And if the thread is multi-page, is it possible to have it show up under the first post on each page?

GONUMBER6 07-03-2010 04:42 PM

It is not working on my site? Wonder why? :(

I already had a facebook application, so I added the code and entered my api key. Should i do anything else? thx :)

final kaoss 07-03-2010 06:18 PM

Interesting idea but why not use the existing hooks that "Facebook Options" already uses instead of having the board make several requests to one site inefficiently?

mikeo9043 07-13-2010 05:40 AM

Quote:

Originally Posted by mikeo9043 (Post 2061934)
Very nice mod! Is there anyway I can make it so the Facebook Comments box shows up under the first post..so that way guests who want to comment dont have to stroll the bottom of the page? And if the thread is multi-page, is it possible to have it show up under the first post on each page?

Never got an answer for this..:( anyone have one?

linuxututs 07-13-2010 08:16 AM

Geat App! :)

I saved
Code:

http://static.ak.connect.facebook.com/connect.php/en_US
as "en_US.js" and served/serving it local, and works fine.
Is this against facebook policy or anything like that ?

Thanks Mate,

GONUMBER6 07-13-2010 01:34 PM

Uninstalled. Did not work 90% of the time and slowed my postbit down tremendously, especially on my mobile device.

wisemasterchief 07-14-2010 01:28 PM

Works great!!! I love this .. I would love to see more examples for installling code in different templates. peace

regards,
William

wisemasterchief 07-14-2010 01:33 PM

Quote:

Originally Posted by extreme-gaming (Post 2063955)
Interesting idea but why not use the existing hooks that "Facebook Options" already uses instead of having the board make several requests to one site inefficiently?

I cannot find any reference to existing hooks in Facebook Options.. please advise.


ooooops! I found VB provided hooks, although there are MANY more advantageous places to place this code in templates.

wisemasterchief 07-17-2010 01:06 PM

Quote:

Originally Posted by ericgtr (Post 2009705)
Thanks, please click install if you use it.:)

I have added it as a new tab in the profile page and have also added it below the comments section of the vbcms articles as well. Once you've setup the application you can pretty much use that code anywhere on your site.

please show where to place this in various tempates... peace

regards,
William

arena 08-06-2010 03:18 PM

Hi,

vb4.0.5 problem

İleti: '_onLoad', null veya bir nesne değil
Satır: 13
Karakter: 776
Kod: 0
URI: http://static.ak.connect.facebook.com/connect.php/en_US

IE8 problem help me

tommac3 09-15-2010 10:56 PM

This doesnt do anything fo me ... I am using 4.0.7

Check out:
http://www.spacetimeandtheuniverse.c...-facility.html

what is it supposed to do? I thought the comment box should how up?

chjp 09-16-2010 02:15 PM

Thanks > I'll test

tommac3 09-18-2010 05:42 PM

Sorry Marked as installed. Can someone please help. I have it installed but it doesnt seem to do anything. i am using 4.0.7:
http://www.spacetimeandtheuniverse.c....html#post7425

tommac3 09-25-2010 01:01 AM

Quote:

Originally Posted by tommac3 (Post 2100124)
Sorry Marked as installed. Can someone please help. I have it installed but it doesnt seem to do anything. i am using 4.0.7:
http://www.spacetimeandtheuniverse.c....html#post7425

bump ... does this do anything or not?

tommac3 09-26-2010 02:49 PM

uninstalling

olapeter007 02-14-2011 11:38 PM

After fb login the login button is still showing, the page does not refresh itself on all browsers, but after manula refresh. The user is logged in. Am using latest version of VB.
Pls help

3amalah 02-15-2011 01:40 PM

Amazing Thanks Installed And Nom

Brandon Sheley 02-15-2011 02:01 PM

nice idea, I added something like this to my blog not to long ago
not sure if I'll want to add it to the forums though..

3amalah 02-15-2011 03:45 PM

Quote:

Originally Posted by tommac3 (Post 2102909)
bump ... does this do anything or not?

Try This


HTML Code:

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=[COLOR="Red"]APP_ID[/COLOR]&amp;xfbml=1"></script><fb:comments xid="www.[COLOR="Red"]YOURSITE.[/COLOR]com" numposts="10" width="425" publish_feed="true"></fb:comments>

rmani84 03-01-2011 08:52 AM

It worked once or twice ... Rest of the time the facebook comments box itself is invisible ! ... Has the code changed?

zeus_r6 03-09-2011 01:09 AM

Is this mod working with 4.1.2?

Brandon Sheley 03-15-2011 11:17 PM

the code in the OP didn't work for me :(
I did find something here that worked
http://developers.facebook.com/docs/...gins/comments/

thanks for the idea! :)

now to just figure out how to get it to link back to the real thread

Gamelobby 03-17-2011 01:16 AM

I dont get it, what comments does this add..!?
From Facebook.?

fatdr 03-22-2011 11:36 AM

First http://developers.facebook.com/docs/...gins/comments/ you must fill in the blanks
"url to comment on" is your facebook page

get the code

go to vbulletin admin panel

search in themes " postbit_legacy"

Find
Code:

{vb:raw template_hook.postbit_end}

add this above
Code:

<vb:if condition="$post[postcount] == 1">
YOUR FACEBOOK COMMENT CODE</vb:if>


d_n_a 07-18-2011 09:16 AM

3.8.x ????

Merenguista 07-21-2011 11:03 AM

thanks a lottttttt

K!nG 08-28-2011 08:18 PM

its not working on 4.1.5 i added the codes n api key but nothing works ?? ? anything changed ??

fatdr 09-07-2011 08:05 AM

it doesn't work for 4.1.2,

and also facebook changed developer page, i see only API ID and secret key, there is no API KEY !

anyone has a solution?

Gemma 09-07-2011 08:25 AM

Use this code and change the 2 APP_ID parts to your own Facebook Application ID

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'>
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=APP_ID&amp;xfbml=1"></script><fb:comments expr:xid="APP_ID" simple="1" num_posts="10" width="500" publish_feed="true"></fb:comments><br/>
            </div>
        </div>
    </div>
    <!-- /FB Comments -->


hanhdn 09-07-2011 02:36 PM

Quote:

Originally Posted by fatdr (Post 2176167)
First http://developers.facebook.com/docs/...gins/comments/ you must fill in the blanks
"url to comment on" is your facebook page

get the code

go to vbulletin admin panel

search in themes " postbit_legacy"

Find
Code:

{vb:raw template_hook.postbit_end}

add this above
Code:

<vb:if condition="$post[postcount] == 1">
YOUR FACEBOOK COMMENT CODE</vb:if>


it works thanks:rolleyes:

Amr-Director 09-10-2011 10:09 PM

thanks alot >

hanhdn 09-13-2011 10:44 AM

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:comments href="your website" num_posts="3" width="300"></fb:comments>

Add this code and change to your website address ;)

dertoon 09-23-2011 05:06 AM

very good thank you
it work fine

Ryan McBain 09-30-2011 03:20 AM

Quote:

Originally Posted by Gemma (Post 2242922)
Use this code and change the 2 APP_ID parts to your own Facebook Application ID

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'>
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=APP_ID&amp;xfbml=1"></script><fb:comments expr:xid="APP_ID" simple="1" num_posts="10" width="500" publish_feed="true"></fb:comments><br/>
            </div>
        </div>
    </div>
    <!-- /FB Comments -->


That works for me, but it never works when someone posts a youtube video. Do you know why that is?

K!nG 10-02-2011 01:19 PM

Quote:

Originally Posted by Gemma (Post 2242922)
Use this code and change the 2 APP_ID parts to your own Facebook Application ID

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'>
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=APP_ID&amp;xfbml=1"></script><fb:comments expr:xid="APP_ID" simple="1" num_posts="10" width="500" publish_feed="true"></fb:comments><br/>
            </div>
        </div>
    </div>
    <!-- /FB Comments -->



Thanks this worked just fi9 for me and when i had the original coding i had a problem on my forum that i wasn't able to edit any threads/posts but when i put this coding everything started working again. So Thanks once again :)

Gemma 10-03-2011 11:57 AM

Quote:

Originally Posted by Ryan McBain (Post 2251486)
That works for me, but it never works when someone posts a youtube video. Do you know why that is?

No idea, sorry. I don't use this modification - I just used that comments code with one of my v3 Arcade modifications and knew it worked and thought I'd share because the original code had changed :)

Donavaz 10-04-2011 05:33 AM

its very good.

can u do any work that we post a coment for post like this ? not for facebook.

i want send a small coment for some post like this.but it be in my forum.

do u enderstand?


All times are GMT. The time now is 08:30 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.01508 seconds
  • Memory Usage 1,829KB
  • 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
  • (9)bbcode_code_printable
  • (1)bbcode_html_printable
  • (9)bbcode_quote_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
  • (40)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