PDA

View Full Version : Facebook-Comments to CMS-Articles


Kraxell
27 Jan 2012, 18:53
Hello my vB-friends!

I have a little modification for your vB-CMS!

With this little template-edit you can show facebook-comments under your CMS-articles.

Sorry for my bad english, i doe my best! (iam german)

What is needed for this modification:

- standard facebook account.
- facebook application, anyone can set one up and it's simple http://www.facebook.com/developers/createapp.php

Now the template-edits:

Search template:
vbcms_content_article_page

and find



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Add below this code:




Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Be sure you have change YOUR_APP_ID to your app-id!

Now it looks like the screenshot.

If you use it, please push install, rate and nominate

Hope you like it :)


Big thank to Gemma & Noli for help!

Kraxell
27 Jan 2012, 18:57
Update-History:
1.1
Every Articles has his own comment-box.
Make-Up/Design-Changes.

Dr.osamA
28 Jan 2012, 01:03
installed
thank you

rtyagis
28 Jan 2012, 08:51
installed
thank you
Don't misguide others, you haven't installed this mod.

datoneer
30 Jan 2012, 06:57
Great.Installed

xeon1
30 Jan 2012, 10:26
installed this.
I have a question: How can I change this to use a comment thread for each article on the CMS?
I don't want all the comments in each article page. I'd prefer people to comment on the specific article.
I tried using {vb: raw href} but the plugin goes compatibility mode..

Help?

~Xeon1

Kraxell
30 Jan 2012, 10:49
Try to use this modification:
http://www.vbulletin.org/forum/showthread.php?t=239023

and set the code from the other modification below the code in my manual.

gariksher
31 Jan 2012, 09:02
Thanks!
Installed

Can I use this modification in blogs ? and how ?

Kraxell
31 Jan 2012, 12:12
Of curse. You must edit only the blog-template.

nerowolfe
31 Jan 2012, 13:00
Perfect! Ty

xeon1
31 Jan 2012, 16:16
no go.
it says "the comment plugin requires a href parameter" even though I did not remove your code bit. I only pasted the other code bit under it.

~Xeon1

Kraxell
31 Jan 2012, 17:57
I'll check it tomorow.

Kraxell
01 Feb 2012, 10:40
I have a methode to show the comments only for the exactly articles but i have a more elegant method but i must test it today and give then feedback (this evening).

Kraxell
02 Feb 2012, 15:27
Update available. Thanks to Gemma!

dang3rzon3
13 Feb 2012, 14:09
installed. thanks

dang3rzon3
13 Feb 2012, 19:12
I see this message on alla pages:

"Attenzione: questo plugin per i commenti sta funzionando in modalitą di compatibilitą, ma non contiene ancora dei post. Prova a specificare un "href" esplicito, come suggerito nella documentazione sul plugin dei commenti, per sfruttare tutte le funzionalitą del plugin."

How to set a dinamyc href, working with vbseo ?

GameOverViper
18 Feb 2012, 18:58
Just installed this. Thanks!

xeon1
23 Feb 2012, 16:35
I don't understand why but I still get the compatibility mode.
I did replace the app ID and I did add this code in the right place.

Can you help me?
my vbulletin uses friendly re-write mode now but it didn't work before either...

EDIT: it seems it works fine but I'm still curious about the compatibility mode. it disappears after the 1st comment is written..

~Xeon1

Kraxell
26 Feb 2012, 20:39
Hey,

try this and give feedback pls, because i cant test it yet.

Find


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



replace with



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Please change yoursite.com and YOUR_APP_ID.

dormopoco
27 Feb 2012, 20:31
Do you know how to disable suggest this change when the comments are disable?

something I guess.

<vb:if condition="$comment_block == disable">

BF777
20 Mar 2012, 20:30
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
20 Mar 2012, 21:57
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
02 Apr 2012, 19:33
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
08 Apr 2012, 09:08
Noli, Thank you! You're a life saver :)

~Xeon1

Kraxell
08 Apr 2012, 09:10
I'll take a look at nolis code and modifiy my :)

Kraxell
09 Apr 2012, 13:37
Code is fixed. Thank to Noli for his help!

Noli
09 Apr 2012, 15:16
btw. this should also work if you use the code under {vb:raw similarthreads} in SHOWTHREAD.

BF777
09 Apr 2012, 23:57
Works great in version. 4.1.1.1. Excellent job.

Naijasite
14 Jun 2012, 05:26
Its working perfectly check it out on this forum (http://www.naijafinder.com/content/) click on any of the article and scroll below and you will see the Facebook comment working http://www.naijafinder.com/content/

Kraxell
14 Jun 2012, 09:08
Thanks for feedback :)

baerwurz
13 Jul 2012, 19:38
It would be cool, if a fb comment will improve the comments count on the Homepage.

Is this possible?

Luiz Biazus
11 Oct 2012, 02:28
is that possible use FANPAGE instead APP?