I am finding that if I use Views to display my most recent node, and I have the Facebook Comments Social Plugin activated for that comment type, people can leave comments. However, the comments they leave on this front page, "stick" to this page and are not associated with the content itself.

If, however, they click the title of the most recent post, they are taken to the node's page. If they leave a comment on THIS page it does stick with the content. But I can't very well ask them to click through to the full node (which basically looks the same as the home page) in order to leave a comment.

Is there a fix for this? Is there a way to make sure that Facebook Comments are always associated with the node?

Thank you.

Comments

mcfilms’s picture

Category: support » bug
Priority: Normal » Critical

I moved this to a bug report and switched it to "major" because there apparently is a flaw in the module. It seems on the front page of a site, Facebook Comments are associated with the page and not the node. This is a problem if you have dynamic page content. People comment about this week's article, but that comment sticks with the page in the weeks to come.

Any suggestions on how I might force the Facebook Comments to associate with the node? If not, how can I remove the Facebook Comments from the front page?

wmostrey’s picture

Category: bug » feature
Priority: Critical » Normal

This is actually a feature request. The module doesn't link comments to nodes but to pages (urls really) because that's how Facebook's Comments Social Plugin works.

jenlampton’s picture

Category: feature » bug

No, It's definitely a bug.

If fb comments are not expected to work on any display other than the full-page, there wouldn't be any settings for anything having anything to do with different view-modes, and the comments would only appear on a node displayed on it's own page. As it is, the comments appear on any view mode, and any number of them on a single page, breaking the functionality of the module. Hence, a bug.

I need this to work on my site, so I'll try to post a possible fix shortly.

jenlampton’s picture

Version: 7.x-1.0-beta2 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new1.55 KB

Okay, patch for the -dev version.

The solution here is to have a unique path for each stream of comments, even if the node appears as one of a list of many on the same page. I'm adding a fragment to the url with the node's unique NID.

This patch requires #1457270: Warning: ******* is unreachable

darthf1’s picture

#4 fixed the unique path issue for me. However now i get the "Warning: xxxx is unreachable." message where it was fine before.

  • wmostrey committed 6f71802 on 7.x-1.x authored by jenlampton
    Issue #1807780 by jenlampton, wmostrey: On a View page, comments are...
wmostrey’s picture

Issue summary: View changes
Status: Needs review » Fixed

I added this as a configuration option, since the url will change from node/1 to node/1#1, losing the comments.

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.