PDA

View Full Version : Mini Mods - Easiest way to add Facebook Comments on thread


naveeid
01-04-2013, 11:00 PM
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




<!-- 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.


https://vborg.vbsupport.ru/external/2013/02/28.jpg

naveeid
01-05-2013, 12:59 AM
i have installed it in my own forum , you can see its demo here , for example see this page
facebook comments are given below the thread
http://www.nidokidos.org/threads/178012

naveeid
01-05-2013, 03:27 AM
demo image

Thangvip9x
01-05-2013, 04:37 AM
If your site die then mod wrong, i can replace with url my site ok

naveeid
01-05-2013, 05:56 AM
brother this mod is not dependent of my website, every one has to place its own url of their website.

Thangvip9x
01-05-2013, 08:21 AM
Thanks supported

naveeid
01-06-2013, 03:11 AM
you are welcome

JAFRI
01-06-2013, 03:50 PM
better : https://vborg.vbsupport.ru/showthread.php?t=239023

sodasusu
01-08-2013, 01:29 AM
its work thx ..so simple

naveeid
01-08-2013, 04:47 AM
yes its simple. thanks.

naveeid
01-08-2013, 04:48 AM
@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.

morrow
01-10-2013, 11:51 PM
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.

naveeid
01-11-2013, 12:47 AM
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.

Princezz
01-15-2013, 04:27 AM
Works fine, thanks! :)

naveeid
01-16-2013, 05:33 AM
thanks and welcome princezz.

macroforum
02-05-2013, 01:16 PM
Thanks for this useful mod!
I have dark theme and the comments are black...how can i change the font color?
Thanks
Antonio

sivaganeshk
02-12-2013, 09:18 AM
@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/reference/plugins/comments/

macroforum
02-13-2013, 07:27 AM
@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/reference/plugins/comments/

Thanks for your help!!! :)
Antonio

kurti
04-28-2013, 04:42 PM
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.

kartheekb
07-17-2013, 06:49 AM
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

kotturocking
03-08-2014, 09:31 PM
not working anymore ... checked .

Bob_R
04-30-2014, 07:59 PM
Just used this. Do not see it on Facebook!

ForceHSS
04-30-2014, 09:13 PM
Works for me

Bob_R
04-30-2014, 11:40 PM
Works for me

The only thing I can think of is I have array code in mine.

Don't you? Do you let your members comment in private and/or staff forums?

ForceHSS
05-01-2014, 01:21 AM
Why would they have access to private or staff forums

Bob_R
05-01-2014, 02:47 PM
Meaning the members who are staff, of course.

ForceHSS
05-01-2014, 04:04 PM
I find it does not work very well in staff/private sections even know it gives you the option to comment

Bob_R
05-01-2014, 04:19 PM
So, then why is it not working for me if the array code is not interferring?

ForceHSS
05-01-2014, 04:26 PM
As i cant see your coding its hard to tell. It could be other plugins or template changes messing it up have you tried putting it on the default skin that only has the changes above. If you can post the template you changed

Bob_R
05-01-2014, 05:42 PM
I got some kind of error. It posted on my site but not on Facebook.

Now, the error is not there so i can't copy it. Something about the URL og being invalid?

ForceHSS
05-01-2014, 05:50 PM
Was that from a section that guests cant see. Check server error logs see if it is there

duditas
05-15-2014, 01:40 AM
It works perfectly well, naveeid. Thank you very much.

naveeid
05-15-2014, 10:36 PM
you are very welcome duditas :)

naveeid
05-15-2014, 10:38 PM
@bob_r
have you enabled facebook application from vbulletin settings?

dany_danay
05-28-2014, 07:03 PM
Something for Twitter?

john7911
05-31-2014, 07:50 AM
Thank you,
It does not work for me :(
If I use this one it's work https://vborg.vbsupport.ru/showthread.php?t=239023&page=11

look at these images:
https://vborg.vbsupport.ru/external/2014/05/1.jpg

https://vborg.vbsupport.ru/external/2014/05/2.jpg

https://vborg.vbsupport.ru/external/2014/05/3.jpg

My forum:
http://www.faouweb.net/forum/forum.php

john7911
06-02-2014, 09:33 AM
Please help
https://vborg.vbsupport.ru/showpost.php?p=2500218&postcount=36

ForceHSS
06-02-2014, 10:38 AM
Maybe you put the code in the wrong place can you upload your SHOWTHREAD template to notepad and upload it to here so I can see the code I have this working on 4.2.2. What vb version are you using?

john7911
06-03-2014, 04:41 AM
Hi,
Here is my SHOWTHREAD.
I'm using 4.2.2
Thank you ;)

ForceHSS
06-03-2014, 05:17 AM
try it like

<!-- FB Comments -->
<div class="fb-comments" data-href="http://www.faouweb.net/{vb:raw relpath}" data-num-posts="2" data-width="470"></div>
<!-- /FB Comments -->
You have it like this

<!-- FB Comments -->
<div class="fb-comments" data-href="http://www.faouweb.net/forum/{vb:raw relpath}" data-num-posts="2" data-width="470"></div>
<!-- /FB Comments -->

If this does not work for you then it might never

john7911
06-04-2014, 09:42 AM
Thank you ForceHSS it works :)

-----EDIT-----
It works in Internet Explorer only no in FireFox :(
https://vborg.vbsupport.ru/external/2014/06/64.png

john7911
06-05-2014, 09:08 AM
Hi,
Any idea for this:
https://vborg.vbsupport.ru/showpost.php?p=2500630&postcount=41
Thank you :)

ForceHSS
06-17-2014, 10:17 AM
Check firefox addons and disable any popup plugins

tbworld
06-17-2014, 11:02 AM
Check firefox addons and disable any popup plugins

@tbworld gives @ForceHSS a gold star for his on-going effort. Nice job!

I would give you an award or something, but that is all I could fine when I raided the vBulletin.org office supplies closet.

ForceHSS
06-17-2014, 11:09 AM
roflol :p

Maghrebia
12-22-2015, 06:23 AM
thanks! how to set Sort by newest not oldest.

Maghrebia
12-22-2015, 06:27 AM
And if you also want to put it on your facebook page the place an empty article instead of text.